You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stevenhwu
changed the title
dng-pileup results Segmentation fault when converting from tad to ad
dng-pileup: Segmentation fault when converting from tad to ad
Jan 23, 2017
stevenhwu
changed the title
dng-pileup: Segmentation fault when converting from tad to ad
dng-pileup: Segmentation fault when converts from tad to ad
Jan 23, 2017
stevenhwu
added a commit
to stevenhwu/denovogear
that referenced
this issue
Jan 24, 2017
Output after the fix
```
$ dng-pileup pTest1.ad -o pTest1a2t.tad
$ dng-pileup pTest1.tad -o pTest1t2a.ad
$ diff -s pTest1.ad pTest1t2a.ad
Files pTest1.ad and pTest1t2a.ad are identical
$ diff -s pTest1.tad pTest1a2t.tad
Files pTest1.tad and pTest1a2t.tad are identical
```
The segmentation fault was cause at
line 828 in `ad.cc` -> `last_data_[i] = line.data()[i];`
Where `last_data_` in `io::Ad output` was not initilised.
Two test files are created
pTest1.ad
andpTest1.tad
from the same ref and bam.The text was updated successfully, but these errors were encountered: