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 19:07:38 +0300 Message-ID: <83bnpxks6t.fsf@gnu.org> References: <542A690D.9080500@gmx.at> <542AB57B.8080000@gmx.at> <83k34lkw0s.fsf@gnu.org> <542AD31A.8090408@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1412093293 10479 80.91.229.3 (30 Sep 2014 16:08:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Sep 2014 16:08:13 +0000 (UTC) Cc: andrewjmoreton@gmail.com, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 30 18:08:05 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 1XYzy8-0001VR-OU for ged-emacs-devel@m.gmane.org; Tue, 30 Sep 2014 18:08:04 +0200 Original-Received: from localhost ([::1]:44256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYzy8-0004YA-6r for ged-emacs-devel@m.gmane.org; Tue, 30 Sep 2014 12:08:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYzxv-0004Xi-4l for emacs-devel@gnu.org; Tue, 30 Sep 2014 12:07:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYzxp-0000tv-Vp for emacs-devel@gnu.org; Tue, 30 Sep 2014 12:07:51 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:57940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYzxp-0000to-O1 for emacs-devel@gnu.org; Tue, 30 Sep 2014 12:07:45 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NCQ00C001XASW00@mtaout26.012.net.il> for emacs-devel@gnu.org; Tue, 30 Sep 2014 19:05:51 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NCQ003KZ21RA490@mtaout26.012.net.il>; Tue, 30 Sep 2014 19:05:51 +0300 (IDT) In-reply-to: <542AD31A.8090408@gmx.at> 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.182 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:174865 Archived-At: > Date: Tue, 30 Sep 2014 17:58:18 +0200 > From: martin rudalics > CC: andrewjmoreton@gmail.com, emacs-devel@gnu.org > > > When one of the functions that create "scoped" Lisp objects aborts, > > the first thing to look at is the addresses of the stack variables: > > if they are not 8-byte aligned, that's the reason. For example: > > > >> #1 0x01173d6b in die (msg=0x14bb004 "XTYPE (a) == type && XUNTAG (a, type) == ptr", file=0x14baf34 "lisp.h", line=926) at alloc.c:7111 > > > > See the address of 'msg'? It's clearly aligned on a 4-byte boundary. > > I wouldn't even have known that 0x14bb004 denotes a stack address. You know that by looking at the source, where 'die' is called. The variable that is passed as the 1st argument to 'die' is a local variable in the function that calls 'die', so it is on the stack. > And then look whether it ends with "4" or "C" ... I didn't mean to say you should have known. I explained this so you could do that in the future.