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

From: Dmitry Antipov <[email-masked]>
Date: Wed, 28 May 2014 18:08:01 +0400

On 05/28/2014 04:13 PM, Gilles PION wrote:

> $ MALLOCTYPE=debug MALLOEBUG=validate_ptrs  ./emacs-24.3.91/src/temacs  --no-site-file  --no-init-file
> Fatal error 11: Segmentation violationMemory fault

Are there some more specific messages about memory-related errors? Most malloc
debuggers can handle typical errors like double free or writing before begin /
past end of block. It's almost impossible to understand what's wrong with

#0  0xd013d94c in rightmost () from /usr/lib/libc.a(shr.o)
#1  0xd013eb28 in free_y () from /usr/lib/libc.a(shr.o)
#2  0xd0129a74 in free_common () from /usr/lib/libc.a(shr.o)
#3  0xd11ff294 in XFreeFontNames@AF6_3 () from /usr/lib/libX11.a(shr4.o)

without a solid cooperation from the malloc debugging facilities.

And, as usual with weird problems, please try '-O0 -g3' (i.e. avoid any optimizations).

Dmitry