Date: Thu, 1 Nov 2001 05:00:02 -0800 (PST) From: Nick Barnes <nb@ravenbrook.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/31661: pthread_kill signal handler doesn't get sigcontext or ucontext Message-ID: <200111011300.fA1D02357196@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/31661; it has been noted by GNATS. From: Nick Barnes <nb@ravenbrook.com> To: freebsd-gnats-submit@FreeBSD.org Cc: mps-staff@ravenbrook.com Subject: Re: bin/31661: pthread_kill signal handler doesn't get sigcontext or ucontext Date: Thu, 01 Nov 2001 12:55:54 +0000 I forgot to provide the results of running the test program. Here they are. The bug is demonstrated by the last two lines of output: the code, sigcontext, info, and context variables are all zero. $ cc -pthread test.c test.c: In function `main': test.c:87: warning: assignment from incompatible pointer type $ ./a.out ANSI Thread 0x0804c400 BSD Thread 0x0804cc00 Posix Thread 0x0805f000 waiting for the threads to be alive ANSI is alive: 0x0804c400 BSD is alive: 0x0804cc00 Posix is alive: 0x0805f000 waiting for the signals to be delivered ANSI: Handled 1 signal 30 pthread 0x0804c400 BSD: Handled 1 signal 31 pthread 0x0804cc00 code 0 sigcontext 0x00000000 Posix: Handled 1 signal 25 pthread 0x0805f000 info 0x00000000 context 0x00000000 $ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111011300.fA1D02357196>