Subject: Re: libpthread, core dumps
To: Markus W Kilbinger <mk@kilbi.de>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 09/12/2007 00:41:47
On Tue, Sep 11, 2007 at 08:22:59PM +0200, Markus W Kilbinger wrote:

> >>>>> "Andrew" == Andrew Doran <ad@netbsd.org> writes:
> 
>     >> I still see some pthread related problems on my cobalt qube2
>     >> (mipsel) after merge of the nick-csl-alignment branch: Some
>     >> processes become unresponsive after some time, e. g.
>     >> /usr/sbin/named, (pkgsrc/mail/clamav) clamd,
>     >> (pkgsrc/security/amavisd-new) amavisd. I can kill them only
>     >> with 'kill -9 ...' and mostly (not always) can restart them
>     >> then. Reverting to src/lib/libpthread before this merge make
>     >> this problem go away.
>     >>
>     >> Do you see any reason this (mis)behavior?
> 
>     Andrew> Yes, do you have src/lib/libpthread/pthread_mutex.c
>     Andrew> revision 1.35?
> 
> Yes, the problem mentioned above appears with this version of
> src/lib/libpthread/pthread_mutex.c.

Can you send me ktruss/ktrace output from a failed run of named? I have a
MIPS box here that I'll fire up tomorrow and see if I can reproduce the
problem.

Andrew