Current-Users archive

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

Re: SIGIO, xemacs random crashes on SMP system



On Wed, Sep 17, 2008 at 12:15:59AM +0200, Anthony Mallet wrote:
Content-Description: message body and .signature
> On Tuesday, at 23:14, Anthony Mallet wrote:
> | Now, my question is: isn't it possible for an LWP that has set the direction
> | flag, e.g. during a memmove() call, to be interrupted by a signal and have 
> its
> | direction flag unset behind its back, thus messing up the end of the 
> memmove()
> | call?
> 
> In addition to this, the small program attached below aborts quickly on my
> machine. Removing either the SIGIO handler or the memmove() calls make it work
> fine.
> 
> Can someone check if he can reproduce this behaviour (and if the program is
> otherwise correct ...)?

The program looks about right to me.  It crashes on my machine too, which is
running -current as of August 30th.

I tried it on Linux (redhat ES 4), and it seems to work fine there.

eric


Home | Main Index | Thread Index | Old Index