[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Current trunk aborts with MinGW
From: |
Eli Zaretskii |
Subject: |
Re: Current trunk aborts with MinGW |
Date: |
Tue, 30 Sep 2014 17:02:48 +0300 |
> From: Andy Moreton <address@hidden>
> Date: Tue, 30 Sep 2014 14:01:46 +0100
>
> mingw32 32bit and mingw64 64bit builds work for me at trunk r117982.
For me as well, but that's by sheer luck.
The immediate cause of the assertion violation is that we try to
create a Lisp object on the stack, and the stack is not 8-byte
aligned, because we are in a separate thread started by CreateThread,
where the x86 32-bit ABI does not guarantee more than 4-byte
alignment.
But the real problem is that we shouldn't be creating Lisp objects at
all in any thread but the main one, because that's non-reentrant.
Re: Current trunk aborts with MinGW,
Eli Zaretskii <=
Re: Current trunk aborts with MinGW, Eli Zaretskii, 2014/09/30
Re: Current trunk aborts with MinGW, Stefan Monnier, 2014/09/30