Date: Sat, 13 Oct 2018 09:19:47 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229830] [truss] throws an assertion failure after the trussed process got killed Message-ID: <bug-229830-227-hotDNl8IGi@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-229830-227@https.bugs.freebsd.org/bugzilla/> References: <bug-229830-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229830 Jan Kokem=C3=BCller <jan.kokemueller@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jan.kokemueller@gmail.com --- Comment #2 from Jan Kokem=C3=BCller <jan.kokemueller@gmail.com> --- This bug can be reproduced by truss'ing this process: #include <sys/types.h> #include <pthread.h> #include <signal.h> #include <unistd.h> void *thread_fun(void *arg) { (void)arg; sleep(5); return NULL; } int main() { pthread_t thread; if (pthread_create(&thread, NULL, thread_fun, NULL) !=3D 0) { return 1; } kill(getpid(), SIGKILL); sleep(1); } I suspect the reason is that threads killed by "thread_single()" in "exit1(= )" don't send a ptrace notification. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229830-227-hotDNl8IGi>