gfa1
gfa1 copied to clipboard
gfaview: segmentation fault with Canu unitigs
The following Canu unitigs GFA file causes gfaview
to segfault.
❯❯❯ gfaview canu.unitigs.gfa
[5] 14685 segmentation fault
Using revision 2faeed2953399102e8bb22f5aa833c8f900a7587 of 2018-01-11
This Canu unitigs graph reproduces the segmentation fault: canu.unitigs.gfa.gz
Backtrace
0 gfaview 0x000000010377f3f6 gfa_arc_rm + 102 (gfa.c:587)
1 gfaview 0x000000010377eea5 gfa_cleanup + 21 (gfa.c:600)
2 gfaview 0x000000010377ea76 gfa_read + 854 (gfa.c:11)
3 gfaview 0x0000000103783111 main + 609 (gfaview.c:91)
This segmentation fault is caused by an overlap that is larger than the adjacent segment size. I've opened PR #5 to fix this issue.