ekg / seqwish

alignment to variation graph inducer
MIT License
143 stars 18 forks source link

notes on random seqfaults on AMD64 with GCC 5.4 #6

Open ekg opened 5 years ago

ekg commented 5 years ago

This is just a note in case this problem comes up again. I believe I've already resolved it.

Earlier versions of GCC appear to generate optimizations that result in invalid memory access patterns when working with mmapped files on AMD64: https://stackoverflow.com/a/47512025/238609.

I discovered that this could be resolved by updating GCC to 8.2.0. This was a pretty unsatisfying resolution, but at least I was able to work through the problem.