since I activated hardening options in snap-aligner its test suite segfaults:
- equal strings: [OK]
- prefixes: [OK]
- non-equal strings: [OK]
- overly distant strings: [OK]
- CIGAR strings: [OK]
- many waiters: make: *** [debian/rules:17: override_dh_auto_test] Segmentation fault
When installing gdb in pbuilder chroot and run
- many waiters: [New Thread 0x7ffff77f9700 (LWP 786)]
[Thread 0x7ffff77f9700 (LWP 786) exited]
Thread 1 "unit_tests" received signal SIGSEGV, Segmentation fault.
0x00007ffff7a5f6b0 in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0
Any volunteer to hunt this memory issue down?
I have just pushed a fix, and (again) it was (just) a missing return in one of the functions that caused that undefined behavior. Now all the tests and lintians are OK. I'm also going to report an issue to the upstream's github repo.