Subject: Re: "parked" processes hell: debug available..
To: None <M.Drochner@fz-juelich.de>
From: Nick Hudson <nick.hudson@dsl.pipex.com>
List: current-users
Date: 09/19/2007 07:49:41
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).
> 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