ezorita / seeq

DNA/RNA pattern matching algorithm
GNU General Public License v3.0
21 stars 5 forks source link

Segmentation fault #3

Closed gui11aume closed 10 years ago

gui11aume commented 10 years ago

On some files, seeq crashes with the following backtrace.

Error: signal 11: /mnt/shared/src/C/seeq/seeq[0x401005] /lib/x86_64-linux-gnu/libc.so.6(+0x36ff0)[0x7f4639519ff0] /lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x1d13)[0x7f463952ecb3] /lib/x86_64-linux-gnu/libc.so.6(fprintf_chk+0xf5)[0x7f46395ed3f5] /mnt/shared/src/C/seeq/seeq[0x403540] /mnt/shared/src/C/seeq/seeq[0x400e5f] /lib/x86_64-linux-gnu/libc.so.6(libc_start_main+0xf5)[0x7f4639504ec5] /mnt/shared/src/C/seeq/seeq[0x400f2f]

When run in gdb, you get the following message. During startup program exited normally.

Typing 'where' gives 'No stack'.

The crash seems to be linked with printing, especially because running seeq on the same file with option -c (count only) does not crash.