From owner-freebsd-bugs Mon Apr 1 6:20:24 2002 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 5D82E37B416 for ; Mon, 1 Apr 2002 06:20:15 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g31EKEk45889; Mon, 1 Apr 2002 06:20:14 -0800 (PST) (envelope-from gnats) Date: Mon, 1 Apr 2002 06:20:14 -0800 (PST) Message-Id: <200204011420.g31EKEk45889@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Maxim Konovalov Subject: Re: kern/36539: installing a SIGCHLD handler makes libc_r coredump Reply-To: Maxim Konovalov 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 kern/36539; it has been noted by GNATS. From: Maxim Konovalov To: Gurusamy Sarathy Cc: bug-followup@freebsd.org Subject: Re: kern/36539: installing a SIGCHLD handler makes libc_r coredump Date: Mon, 1 Apr 2002 18:16:52 +0400 (MSD) > >Environment: > FreeBSD clamp 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000 jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC i386 > > >Description: > The test case should be self-explanatory. > > % cc -g -o sig sig.c ^^^^^^^^^^^^^^^^^^^^^^ Is this a typo? As far as I understand the subject it should be % cc -g -o sig sig.c -pthread > % ./sig > Fatal error '_pq_remove: Not in priority queue' at line ? in file /usr/src/lib/libc_r/uthread/uthread_priority_queue.c (errno = ?) > Abort (core dumped) Anyway, I cannot reproduce the bug on 4.5-STABLE. $ rm -f sig $ cc -g -o sig sig.c $ ./sig ^C $ rm -f sig $ cc -g -o sig sig.c -pthread $ ldd sig sig: libc_r.so.4 => /usr/lib/libc_r.so.4 (0x28065000) $ ./sig ^C $ uname -a FreeBSD golf.macomnet.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Tue Mar 19 18:55:07 MSK 2002 maxim@golf.macomnet.net:/usr/obj/usr/src/sys/GOLF i386 -- Maxim Konovalov, MAcomnet, Internet-Intranet Dept., system engineer phone: +7 (095) 796-9079, mailto:maxim@macomnet.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message