From owner-freebsd-bugs Thu Nov 1 5: 0: 5 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 85F2737B403 for ; Thu, 1 Nov 2001 05:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA1D02357196; Thu, 1 Nov 2001 05:00:02 -0800 (PST) (envelope-from gnats) Date: Thu, 1 Nov 2001 05:00:02 -0800 (PST) Message-Id: <200111011300.fA1D02357196@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Nick Barnes Subject: Re: bin/31661: pthread_kill signal handler doesn't get sigcontext or ucontext Reply-To: Nick Barnes Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/31661; it has been noted by GNATS. From: Nick Barnes 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