Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2002 07:10:03 -0800 (PST)
From:      Gurusamy Sarathy <gsar@ActiveState.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/36539: installing a SIGCHLD handler makes libc_r coredump 
Message-ID:  <200204011510.g31FA3h64842@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: Gurusamy Sarathy <gsar@ActiveState.com>
To: Maxim Konovalov <maxim@macomnet.ru>
Cc: Gurusamy Sarathy <gsar@ActiveState.com>, bug-followup@freebsd.org
Subject: Re: kern/36539: installing a SIGCHLD handler makes libc_r coredump 
Date: Mon, 01 Apr 2002 07:04:51 -0800

 On Mon, 01 Apr 2002 18:16:52 +0400, Maxim Konovalov wrote:
 >> % cc -g -o sig sig.c
 >^^^^^^^^^^^^^^^^^^^^^^
 >
 >Is this a typo? As far as I understand the subject it should be
 
 Oops, yes it's a cut-n-paste goof.  Sorry about that.
 
 >% cc -g -o sig sig.c -pthread
 >
 >> % ./sig
 >> Fatal error '_pq_remove: Not in priority queue' at line ? in file /usr/src/l
 >ib/libc_r/uthread/uthread_priority_queue.c (errno = ?)
 >> Abort (core dumped)
 >
 >Anyway, I cannot reproduce the bug on 4.5-STABLE.
 
 Interesting.  How long did you run it for?  The problem does not always
 show up here right away, but on a reasonable fast box invariably
 coredumps within a minute.
 
 >$ 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
 
 Thanks for checking.  I'll try 4.5 next.
 
 
 Sarathy
 gsar@ActiveState.com

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?200204011510.g31FA3h64842>