[Top][All Lists]

[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 19:07:38 +0300

> Date: Tue, 30 Sep 2014 17:58:18 +0200
> From: martin rudalics <address@hidden>
> CC: address@hidden, address@hidden
>  > 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]