Doris 9 – Segmentation fault: error in SNAPHU

In 64-bit operating system, SNAPHU may come into an segmentation error like this:

snaphu v1.4.229
parameters input from file snaphu.conf (219 lines total)
Logging run-time parameters to file snaphu.log
Segmentation fault (core dumped)

This is caused by ctime() function in src/snaphu_io.c file [1]. To solve this problem, edit this file, change “#include <sys/time.h>” into “#include <time.h>”, and then compile and install again [2].

Reference

1. Mahmut Arikan, Eric Fielding. 2011. [doris-discuss] Snaphu fix for 64-bit platforms. url:https://groups.yahoo.com/neo/groups/doris_users/conversations/topics/4248
2. install – Doris, url:http://doris.tudelft.nl/software/INSTALL


5 thoughts on “Doris 9 – Segmentation fault: error in SNAPHU

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s