[Bug 237195] pthread_mutex_unlock crash as unlocked mutex destroyed by signaled thread

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 19 14:27:07 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237195

--- Comment #8 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to freebsd from comment #5)
It sounds like an access to the freed memory.

Anyway, it is somewhat labor-intensive to read disassembly to track your issue,
and since you did not disassemble the whole functions bodies, it is impossible.
Compile libc/libthr/rtld with debugging enabled:
 make -C lib/libc DEBUG_FLAGS=-g all install
same for lib/libthr, libexec/rtld-elf.  Then reproduce the issue and show
the backtrace with debugging symbols, so that the source line numbers are
easily seen.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-threads mailing list