Re: [PATCH] alpha: fix crash if pthread_create races with signal delivery

2018-01-03 Thread Mikulas Patocka
On Wed, 3 Jan 2018, Michael Cree wrote: > On Tue, Jan 02, 2018 at 02:01:34PM -0500, Mikulas Patocka wrote: > > On alpha, a process will crash if it attempts to start a thread and a > > signal is delivered at the same time. The crash can be reproduced with > > this program:

Re: [PATCH] alpha: fix crash if pthread_create races with signal delivery

2018-01-03 Thread Mikulas Patocka
On Wed, 3 Jan 2018, Michael Cree wrote: > On Tue, Jan 02, 2018 at 02:01:34PM -0500, Mikulas Patocka wrote: > > On alpha, a process will crash if it attempts to start a thread and a > > signal is delivered at the same time. The crash can be reproduced with > > this program:

Re: [PATCH] alpha: fix crash if pthread_create races with signal delivery

2018-01-03 Thread Michael Cree
On Tue, Jan 02, 2018 at 02:01:34PM -0500, Mikulas Patocka wrote: > On alpha, a process will crash if it attempts to start a thread and a > signal is delivered at the same time. The crash can be reproduced with > this program: https://cygwin.com/ml/cygwin/2014-11/msg00473.html > > The reason for

Re: [PATCH] alpha: fix crash if pthread_create races with signal delivery

2018-01-03 Thread Michael Cree
On Tue, Jan 02, 2018 at 02:01:34PM -0500, Mikulas Patocka wrote: > On alpha, a process will crash if it attempts to start a thread and a > signal is delivered at the same time. The crash can be reproduced with > this program: https://cygwin.com/ml/cygwin/2014-11/msg00473.html > > The reason for

[PATCH] alpha: fix crash if pthread_create races with signal delivery

2018-01-02 Thread Mikulas Patocka
On alpha, a process will crash if it attempts to start a thread and a signal is delivered at the same time. The crash can be reproduced with this program: https://cygwin.com/ml/cygwin/2014-11/msg00473.html The reason for the crash is this: * we call the clone syscall * we go to the function

[PATCH] alpha: fix crash if pthread_create races with signal delivery

2018-01-02 Thread Mikulas Patocka
On alpha, a process will crash if it attempts to start a thread and a signal is delivered at the same time. The crash can be reproduced with this program: https://cygwin.com/ml/cygwin/2014-11/msg00473.html The reason for the crash is this: * we call the clone syscall * we go to the function