qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] linux-user NPTL problem with signals


From: Jamie Lokier
Subject: Re: [Qemu-devel] linux-user NPTL problem with signals
Date: Sun, 27 Sep 2009 15:13:12 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Gary Thomas wrote:
> On 09/23/2009 03:51 PM, Gary Thomas wrote:
> >I'm running a multi-threaded program (linux-user on i386).  I
> >have a problem with signals; when one arrives, the running
> >thread abruptly changes :-(
> >
> >Anyone have any ideas about this?
> >
> 
> I've tracked this down to the fact that there should be a
> unique value for the GS segment register (at least) per thread.
> This doesn't seem to be the case and when a signal is dispatched,
> the GS segment register is updated with [probably] the most recent
> value created by a new thread, not the running thread.

Nasty.  NPTL is not the only software which depends on the segment
registers keeping their correct values.  Wine, DOSemu among others
depend on all the segment registers.

-- Jamie




reply via email to

[Prev in Thread] Current Thread [Next in Thread]