I was writing an autopkgtest for kmer[1] and faced a problem that I do not know how to fix. Trying to test atac, one of kmer's binary packages, I noticed the following:
- If I build and install atac in stable, and then run it with some test data, it works fine. The same done in testing results in a segfault that looks like:
...
/usr/bin/../lib/atac/bin/statsGenerator -a /tmp/autopkgtest.nPpQt1/autopkgtest_tmp/results/EcolivsSent.atac -p /tmp/autopkgtest.nPpQt1/autopkgtest_tmp/results/stats/EcolivsSent -g A > /tmp/autopkgtest.nPpQt1/autopkgtest_tmp/results/stats/EcolivsSent.stats
Segmentation fault
Failed to ganerate statistics.
- After looking through the dependencies, I was able to eliminate the segfault in testing by installing an older version of gcc, the one that is used in stable (4:6.3.0-4).
So the problem is somehow related to the gcc of version 4:7.3.0-3. Could someone with expertise help me with this issue? In my commit[2] I have uploaded the test I tried as well as test data files.