https://bugs.kde.org/show_bug.cgi?id=445032

--- Comment #8 from Nick Briggs <afraid-splicer...@icloud.com> ---
I compiled a debug version of libthr.so.3 which produces this stack trace on
failure:
```
$ valgrind ./vgtest-thr
==56575== Memcheck, a memory error detector
==56575== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==56575== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==56575== Command: ./vgtest-thr
==56575== 
==56575== Invalid read of size 4
==56575==    at 0x720526B: ??? (src/lib/libthr/thread/thr_sig.c:262)
==56575==    by 0x72048BD: ??? (src/lib/libthr/thread/thr_sig.c:246)
==56575==    by 0x3819FB73: ??? (in
/usr/local/libexec/valgrind/memcheck-x86-freebsd)
==56575==    by 0x73B973E: sleep (in /lib/libc.so.7)
==56575==    by 0x4018F2: main (in /var/tmp/vgtest-thr)
==56575==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==56575== 
```
thr_sig.c:246 is within `thr_sighandler(int sig, siginfo_t *info, void *_ucp)`
where it calls `handle_signal(&act, sig, info, ucp);` which immediately dies on
```
        /* add previous level mask */
        SIGSETOR(actp->sa_mask, ucp->uc_sigmask);
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to