[Bug 229830] [truss] throws an assertion failure after the trussed process got killed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 13 20:07:44 UTC 2018


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

--- Comment #4 from Jan Kokemüller <jan.kokemueller at gmail.com> ---
Sorry, I forgot to mention that I'm running FreeBSD 12.0-ALPHA9 amd64 with some
local patches:
FreeBSD 12.0-ALPHA9 FreeBSD 12.0-ALPHA9 #3
r339331+0547250df758(test-suspend48)-dirty: Sat Oct 13 13:47:25 CEST 2018

With the program I posted it is reproducible ~80-90% of the time on my laptop.
I've found that adding a "usleep(50000);" between the pthread_create() and
kill() increases this number. This makes sure that "truss -H" gets the new
thread notification (like "101702: <new thread 101702>").

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


More information about the freebsd-bugs mailing list