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

Jan Kokemüller <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Jan Kokemüller <[email protected]> ---
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) != 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to