From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Current trunk aborts with MinGW Date: Tue, 30 Sep 2014 17:02:48 +0300 Message-ID: <83y4t1kxyv.fsf@gnu.org> References: <542A690D.9080500@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1412085829 1508 80.91.229.3 (30 Sep 2014 14:03:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Sep 2014 14:03:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andy Moreton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 30 16:03:43 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XYy1m-0003t9-Qe for ged-emacs-devel@m.gmane.org; Tue, 30 Sep 2014 16:03:42 +0200 Original-Received: from localhost ([::1]:43548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYy1m-0003Eb-EE for ged-emacs-devel@m.gmane.org; Tue, 30 Sep 2014 10:03:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYy1G-0002yY-2k for emacs-devel@gnu.org; Tue, 30 Sep 2014 10:03:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYy17-0003jI-5f for emacs-devel@gnu.org; Tue, 30 Sep 2014 10:03:10 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:46714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYy16-0003iK-Tt for emacs-devel@gnu.org; Tue, 30 Sep 2014 10:03:01 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NCP00M00WAZMW00@mtaout29.012.net.il> for emacs-devel@gnu.org; Tue, 30 Sep 2014 17:02:16 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NCP00DHAWBS5I90@mtaout29.012.net.il>; Tue, 30 Sep 2014 17:02:16 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174841 Archived-At: > From: Andy Moreton > 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.