Subject: Re: "parked" processes hell: debug available..
To: Nick Hudson <nick.hudson@dsl.pipex.com>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: current-users
Date: 09/19/2007 08:47:51
On 19/09/2007, Nick Hudson <nick.hudson@dsl.pipex.com> wrote:
> On Monday 17 September 2007 20:06, Matthias Drochner wrote:
> > nick.hudson@dsl.pipex.com said:
> > > > I hacked my libpthread/Makefile to add -O0 for now.
> > >
> > > Most arches are fixed with pthread_lock.c:1.28. I'm working on making
> > > this more robust.
> >
> > All this does not help for me. I can easily reproduce that
> > "gnome-terminal" doesn't start up (on i386).
Just to confirm this - on a 12 hour old kernel / userland (i386),
using unmodified GENERIC.MP.
> > libpthread sources from 2 weeks ago work well.
>
> What does the RAS look like for you? Do you use any gcc options when building?
>
> Here's what i386 looks like for me
>
> 0000005c <pthread__lock_ras_start>:
> 5c: 8a 02 mov (%edx),%al
> 5e: c6 02 01 movb $0x1,(%edx)
>
> 00000061 <pthread__lock_ras_end>:
> 61: fe c8 dec %al
> 63: 0f 95 c0 setne %al
> 66: 0f b6 c0 movzbl %al,%eax
> 69: c3 ret
>
> Nick
>
Chavdar Ivanov