Hi Andreas,

On Wed, 30 Jan 2019 at 16:45, Andreas Tille <[email protected]> wrote:

> Hi,
>
> since I activated hardening options in snap-aligner its test suite
> segfaults:
>
>     LandauVishkinTest:
>     - equal strings: [OK]
>     - prefixes: [OK]
>     - non-equal strings: [OK]
>     - overly distant strings: [OK]
>     - CIGAR strings: [OK]
>
>     EventTest:
>     - many waiters: make[1]: *** [debian/rules:17: override_dh_auto_test]
> Segmentation fault
>
> When installing gdb in pbuilder chroot and run
>      gdb unit_tests
>      run
>
>     EventTest:
>     - 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.

With regards,
Liubov

Reply via email to