Subject: Re: bug#13997: building emacs 24.3 failed with seg fault during ./temacs --batch --load loadup bootstrap

From: Petr Hracek <[email-masked]>
Date: Fri, 22 Mar 2013 10:25:30 +0100

Full backtrace is:
(gdb) bt full
#0 Fmake_vector (length=1511, init=0) at 
/builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
vector = <optimized out>
sizei = 1511
i = 0
p = <optimized out>
#1 0x0820aec9 in init_obarray () at 
/builddir/build/BUILD/emacs-24.3/src/lread.c:3946
No locals.
#2 0x080591f2 in main (argc=<optimized out>, argv=0xbffff6f4) at 
/builddir/build/BUILD/emacs-24.3/src/emacs.c:1093
dummy = -5301053228724652512
stack_bottom_variable = -74 '\266'
do_initial_setlocale = <optimized out>
dumping = <optimized out>
skip_args = 1
rlim = {rlim_cur = 8388608, rlim_max = 18446744073709551615}
no_loadup = false
junk = 0x0
dname_arg = 0x0
ch_to_dir = 0x8053c29 <_init+9> "\201\303ף("
(gdb)

On 03/19/2013 03:27 PM, Petr Hracek wrote:
> Here is backtrace from gdb:
> Program received signal SIGSEGV, Segmentation fault.
> Fmake_vector (length=1511, init=0) at 
> /builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
> 3042 p->contents[i] = init;
> (gdb) bt
> #0 Fmake_vector (length=1511, init=0) at 
> /builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
> #1 0x0820ad19 in init_obarray () at 
> /builddir/build/BUILD/emacs-24.3/src/lread.c:3946
> #2 0x08059042 in main (argc=<optimized out>, argv=0xbffff6f4) at 
> /builddir/build/BUILD/emacs-24.3/src/emacs.c:1093
> (gdb)
> (gdb) show args
> Argument list to give program being debugged when it is started is 
> "--batch --load loadup bootstrap".
> (gdb)
>
> Hopefully finally I have gather enought informations.
> If not please let me know.
>
> On 03/19/2013 11:19 AM, Andreas Schwab wrote:
>> You are missing the most important information: the backtrace.
>>
>> Andreas.
>>
>

-- 
S pozdravem / Best regards

Petr Hracek

Red Hat Czech s.r.o.
BaseOS Core Services Brno

Email: [email-masked]
Web: www.cz.redhat.com