Date: Mon, 1 Apr 2002 06:20:14 -0800 (PST) From: Maxim Konovalov <maxim@macomnet.ru> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/36539: installing a SIGCHLD handler makes libc_r coredump Message-ID: <200204011420.g31EKEk45889@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/36539; it has been noted by GNATS.
From: Maxim Konovalov <maxim@macomnet.ru>
To: Gurusamy Sarathy <gsar@ActiveState.com>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204011420.g31EKEk45889>
