Subject: Re: libpthread, core dumps
To: Markus W Kilbinger <mk@kilbi.de>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 09/11/2007 18:38:06
On Tue, Sep 11, 2007 at 07:34:16PM +0200, Markus W Kilbinger wrote:
> >>>>> "Andrew" == Andrew Doran <ad@netbsd.org> writes:
>
> >> > Sources are from yesterday, around noon. pthread_mutex2.c is
> >> > definately at rev 1.3
> >>
> >> Can you try again with 1.5? I just fixed an issue with
> >> pthread_mutex_trylock. None of the applications that you
> >> mention fail for me.
> >>
> >> Sorry about the thread-related pain over the last 6 months or
> >> so. I'll be publishing some benchmarks in the near future that
> >> show it has (hopefully) been worth it.
>
> Andrew> Ah, I found an amd64 specific problem. It's fixed now:
>
> Andrew> src/lib/libpthread/arch/x86_64/_context_u.S revision 1.7
>
> 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?
Yes, do you have src/lib/libpthread/pthread_mutex.c revision 1.35?
Thanks,
Andrew