Subject: Re: bug#17598: Emacs pretest 24.3.91 - AIX - SIGSEV when customize

From: Dmitry Antipov <[email-masked]>
Date: Wed, 28 May 2014 13:45:16 +0400

On 05/28/2014 12:40 PM, Gilles PION wrote:

> So you're right, the issue is not unexec related

So you have a few irregular crashes, more or less related to memory allocation.
If this is applicable to your AIX version, can you try some recipes from the
following article:

http://www.ibm.com/developerworks/aix/library/au-mallocdebug.html

> > > What happens if you run "./configure --enable-checking=all && make"?
[skip]
> The previous run uses "temacs" from a new build using those suggested "configure" parameters,

These parameters assumes '-O2 -g3' or at least '-g', so your gdb backtrace should
include file names, line numbers and (some) function parameters. But your backtrace
looks like from stripped binary or the binary compiled without debug info.

> backtrace:
> (gdb) where
> #0  0xd0508b20 in pthread_kill () from /usr/lib/libpthread.a(shr_xpg5.o)
> #1  0xd0507f8c in _p_raise () from /usr/lib/libpthread.a(shr_xpg5.o)
> #2  0x1000c4f8 in terminate_due_to_signal ()
> #3  0x1003483c in emacs_abort ()
> #4  0x10020a04 in xfree ()

How the emacs_abort() was called here? AFAICS xfree() doesn't call it directly.

Dmitry