* Regular crashes with abort() in mark_maybe_pointer with trunk
@ 2012-06-29 12:36 Julien Danjou
2012-06-29 14:01 ` Dmitry Antipov
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Julien Danjou @ 2012-06-29 12:36 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1.1: Type: text/plain, Size: 899 bytes --]
Hi,
Since at least yesterday, latest trunk version crashes regularly.
I've grabbed 2 backtraces so far, attached.
I'm sure that the change responsible has been done between the commits:
commit 1e211d886c96420904ad197cfee7fce7ae7b9d83
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Fri Jun 22 09:42:38 2012 -0400
Provide generalized variables in core Elisp.
commit b17778189e1df0a56e48a5f6f0b52f7bebbdfdd7
Author: Julien Danjou <julien@danjou.info>
Date: Thu Jun 28 12:40:24 2012 +0200
term: rework color cutomizing
I know this because emacs-snapshot for Debian that I package worked
correctly for the 20120622 version, and stopped working with this last
commit. Something in between changed something causing this.
If nobody has an idea, I can try to bisect but that will require
sometimes since the crash is still random to me (not sure how to
reproduce for sure).
[-- Attachment #1.2: crash-emacs.txt --]
[-- Type: text/plain, Size: 5504 bytes --]
(gdb) run
Starting program: /usr/bin/emacs-snapshot
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffeb001700 (LWP 15764)]
[New Thread 0x7fffea800700 (LWP 15765)]
Program received signal SIGABRT, Aborted.
0x00007ffff1fcb757 in kill () at ../sysdeps/unix/syscall-template.S:82
82 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) bt
#0 0x00007ffff1fcb757 in kill () at ../sysdeps/unix/syscall-template.S:82
#1 0x00000000004feb15 in abort () at emacs.c:390
#2 0x000000000055e5b1 in mark_maybe_pointer (p=<optimized out>) at alloc.c:4571
#3 mark_memory (end=<optimized out>, start=<optimized out>) at alloc.c:4656
#4 mark_stack () at alloc.c:4895
#5 Fgarbage_collect () at alloc.c:5484
#6 0x0000000000575e05 in Ffuncall (nargs=2, args=args@entry=0x7fffffffc8e0) at eval.c:2757
#7 0x00000000005acda0 in exec_byte_code (bytestr=<optimized out>, vector=36116069,
maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized
out>, args@entry=0x0)
at bytecode.c:784
#8 0x0000000000575bd1 in funcall_lambda (fun=36116413, nargs=nargs@entry=3,
arg_vector=arg_vector@entry=0x7fffffffcac0) at eval.c:3052
#9 0x0000000000575eeb in Ffuncall (nargs=4, args=args@entry=0x7fffffffcab8) at eval.c:2881
#10 0x00000000005acda0 in exec_byte_code (bytestr=<optimized out>, vector=36595181,
maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized
out>, args@entry=0x0)
at bytecode.c:784
#11 0x0000000000575bd1 in funcall_lambda (fun=36595453, nargs=nargs@entry=0,
arg_vector=arg_vector@entry=0x7fffffffccc0) at eval.c:3052
#12 0x0000000000575eeb in Ffuncall (nargs=1, args=args@entry=0x7fffffffccb8) at eval.c:2881
#13 0x00000000005acda0 in exec_byte_code (bytestr=<optimized out>, vector=36595621,
maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized
out>, args@entry=0x0)
at bytecode.c:784
#14 0x0000000000575bd1 in funcall_lambda (fun=36596245, nargs=nargs@entry=1,
arg_vector=arg_vector@entry=0x7fffffffce90) at eval.c:3052
#15 0x0000000000575eeb in Ffuncall (nargs=2, args=args@entry=0x7fffffffce88) at eval.c:2881
#16 0x00000000005acda0 in exec_byte_code (bytestr=<optimized out>, vector=36647413,
maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized
out>, args@entry=0x0)
at bytecode.c:784
#17 0x0000000000575bd1 in funcall_lambda (fun=36632029, nargs=nargs@entry=3,
arg_vector=arg_vector@entry=0x7fffffffd080) at eval.c:3052
#18 0x0000000000575eeb in Ffuncall (nargs=4, args=args@entry=0x7fffffffd078) at eval.c:2881
#19 0x00000000005acda0 in exec_byte_code (bytestr=<optimized out>, vector=36650605,
maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized
out>, args@entry=0x0)
at bytecode.c:784
#20 0x0000000000575bd1 in funcall_lambda (fun=36650949, nargs=nargs@entry=5,
arg_vector=arg_vector@entry=0x7fffffffd280) at eval.c:3052
#21 0x0000000000575eeb in Ffuncall (nargs=6, args=args@entry=0x7fffffffd278) at eval.c:2881
#22 0x00000000005acda0 in exec_byte_code (bytestr=<optimized out>, vector=36650029,
maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized
out>, args@entry=0x0)
at bytecode.c:784
#23 0x0000000000575bd1 in funcall_lambda (fun=36650541, nargs=nargs@entry=2,
arg_vector=arg_vector@entry=0x7fffffffd460) at eval.c:3052
#24 0x0000000000575eeb in Ffuncall (nargs=3, args=args@entry=0x7fffffffd458) at eval.c:2881
#25 0x00000000005acda0 in exec_byte_code (bytestr=<optimized out>, vector=36650997,
maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized
out>, args@entry=0x0)
at bytecode.c:784
#26 0x0000000000575bd1 in funcall_lambda (fun=36651141, nargs=nargs@entry=0,
arg_vector=arg_vector@entry=0x7fffffffd640) at eval.c:3052
#27 0x0000000000575eeb in Ffuncall (nargs=nargs@entry=1, args=args@entry=0x7fffffffd638) at
eval.c:2881
#28 0x0000000000576407 in apply1 (fn=fn@entry=34451250, arg=arg@entry=12014114) at eval.c:2556
#29 0x0000000000571fdd in Fcall_interactively (function=34451250, record_flag=12014114,
keys=12049333) at callint.c:378
#30 0x0000000000576077 in Ffuncall (nargs=nargs@entry=4, args=args@entry=0x7fffffffd7e0) at
eval.c:2827
#31 0x00000000005762b4 in call3 (fn=<optimized out>, arg1=<optimized out>, arg2=<optimized
out>, arg3=<optimized out>) at eval.c:2620
#32 0x00000000004ffa8d in Fcommand_execute (cmd=<optimized out>, record_flag=<optimized out>,
keys=<optimized out>, special=<optimized out>) at keyboard.c:10342
#33 0x000000000050f0fb in command_loop_1 () at keyboard.c:1573
#34 0x00000000005744b3 in internal_condition_case (bfun=bfun@entry=0x50ed70 <command_loop_1>,
handlers=12065890, hfun=hfun@entry=0x503c50 <cmd_error>) at eval.c:1333
#35 0x000000000050208e in command_loop_2 (ignore=ignore@entry=12014114) at keyboard.c:1155
#36 0x00000000005743ab in internal_catch (tag=<error reading variable: Cannot access memory at
address 0x3d68>, func=func@entry=0x502070 <command_loop_2>, arg=12014114) at eval.c:1090
#37 0x0000000000503747 in command_loop () at keyboard.c:1134
#38 recursive_edit_1 () at keyboard.c:754
#39 0x0000000000503a6a in Frecursive_edit () at keyboard.c:818
#40 0x00000000004187bd in main (argc=1, argv=<optimized out>) at emacs.c:1693
[-- Attachment #1.3: crash-emacs-2.txt --]
[-- Type: text/plain, Size: 10015 bytes --]
Second backtrace:
(gdb) bt
#0 0x00007ffff1fcb757 in kill () at ../sysdeps/unix/syscall-template.S:82
#1 0x00000000004fea15 in abort () at emacs.c:390
#2 0x000000000055e4b1 in mark_maybe_pointer (p=<optimized out>) at alloc.c:4571
#3 mark_memory (end=<optimized out>, start=<optimized out>) at alloc.c:4656
#4 mark_stack () at alloc.c:4895
#5 Fgarbage_collect () at alloc.c:5485
#6 0x00000000005ad178 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:819
#7 0x0000000000575af1 in funcall_lambda (fun=39389517, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fffffffb4a8) at eval.c:3052
#8 0x0000000000575e0b in Ffuncall (nargs=2, args=args@entry=0x7fffffffb4a0) at eval.c:2881
#9 0x00000000005accc0 in exec_byte_code (bytestr=<optimized out>, vector=40113197, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:784
#10 0x0000000000575af1 in funcall_lambda (fun=40113581, nargs=nargs@entry=4, arg_vector=arg_vector@entry=0x7fffffffb690) at eval.c:3052
#11 0x0000000000575e0b in Ffuncall (nargs=5, args=args@entry=0x7fffffffb688) at eval.c:2881
#12 0x00000000005accc0 in exec_byte_code (bytestr=<optimized out>, vector=36684005, maxdepth=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:784
#13 0x0000000000575484 in eval_sub (form=form@entry=36617366) at eval.c:2173
#14 0x00000000005781af in internal_lisp_condition_case (var=12014114, bodyform=36617366, handlers=36617030) at eval.c:1287
#15 0x00000000005ad5f3 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:980
#16 0x0000000000575af1 in funcall_lambda (fun=36661557, nargs=nargs@entry=4, arg_vector=arg_vector@entry=0x7fffffffbbf0) at eval.c:3052
#17 0x0000000000575e0b in Ffuncall (nargs=5, args=args@entry=0x7fffffffbbe8) at eval.c:2881
#18 0x00000000005accc0 in exec_byte_code (bytestr=<optimized out>, vector=37027173, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:784
#19 0x0000000000575af1 in funcall_lambda (fun=37027549, nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7fffffffbdd0) at eval.c:3052
#20 0x0000000000575e0b in Ffuncall (nargs=3, args=args@entry=0x7fffffffbdc8) at eval.c:2881
#21 0x00000000005accc0 in exec_byte_code (bytestr=<optimized out>, vector=37539117, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:784
#22 0x0000000000575af1 in funcall_lambda (fun=37565189, nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7fffffffbfe0) at eval.c:3052
#23 0x0000000000575e0b in Ffuncall (nargs=3, args=args@entry=0x7fffffffbfd8) at eval.c:2881
#24 0x00000000005accc0 in exec_byte_code (bytestr=<optimized out>, vector=39241109, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:784
#25 0x0000000000575af1 in funcall_lambda (fun=39241565, nargs=nargs@entry=4, arg_vector=arg_vector@entry=0x7fffffffc1d0) at eval.c:3052
#26 0x0000000000575e0b in Ffuncall (nargs=5, args=args@entry=0x7fffffffc1c8) at eval.c:2881
#27 0x00000000005accc0 in exec_byte_code (bytestr=<optimized out>, vector=39241725, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:784
#28 0x0000000000575af1 in funcall_lambda (fun=39241789, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fffffffc3a0) at eval.c:3052
#29 0x0000000000575e0b in Ffuncall (nargs=2, args=args@entry=0x7fffffffc398) at eval.c:2881
#30 0x00000000005accc0 in exec_byte_code (bytestr=<optimized out>, vector=39261117, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:784
#31 0x0000000000575af1 in funcall_lambda (fun=39261389, nargs=nargs@entry=3, arg_vector=arg_vector@entry=0x7fffffffc590) at eval.c:3052
#32 0x0000000000575e0b in Ffuncall (nargs=4, args=args@entry=0x7fffffffc588) at eval.c:2881
#33 0x00000000005accc0 in exec_byte_code (bytestr=<optimized out>, vector=39260693, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:784
#34 0x0000000000575af1 in funcall_lambda (fun=39260957, nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7fffffffc770) at eval.c:3052
#35 0x0000000000575e0b in Ffuncall (nargs=1, args=args@entry=0x7fffffffc768) at eval.c:2881
#36 0x00000000005accc0 in exec_byte_code (bytestr=<optimized out>, vector=39240637, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:784
#37 0x0000000000575af1 in funcall_lambda (fun=39240965, nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7fffffffc9a8) at eval.c:3052
#38 0x0000000000575e0b in Ffuncall (nargs=1, args=0x7fffffffc9a0) at eval.c:2881
#39 0x00000000005762c9 in funcall_nil (nargs=<optimized out>, args=<optimized out>) at eval.c:2337
#40 0x00000000005748c5 in run_hook_with_args (nargs=1, args=0x7fffffffc9a0, funcall=0x5762c0 <funcall_nil>) at eval.c:2526
#41 0x0000000000574a86 in Frun_hooks (nargs=1, args=0x7fffffffcb68) at eval.c:2364
#42 0x000000000057601c in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fffffffcb60) at eval.c:2802
#43 0x0000000000576f9f in Fapply (nargs=2, args=0x7fffffffcb60) at eval.c:2272
#44 0x000000000057601c in Ffuncall (nargs=<optimized out>, args=args@entry=0x7fffffffcb58) at eval.c:2802
#45 0x00000000005accc0 in exec_byte_code (bytestr=<optimized out>, vector=29036341, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:784
#46 0x0000000000575af1 in funcall_lambda (fun=21265109, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fffffffcd20) at eval.c:3052
#47 0x0000000000575e0b in Ffuncall (nargs=2, args=args@entry=0x7fffffffcd18) at eval.c:2881
#48 0x00000000005accc0 in exec_byte_code (bytestr=<optimized out>, vector=37332285, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:784
#49 0x0000000000575af1 in funcall_lambda (fun=37332909, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fffffffcef0) at eval.c:3052
#50 0x0000000000575e0b in Ffuncall (nargs=2, args=args@entry=0x7fffffffcee8) at eval.c:2881
#51 0x00000000005accc0 in exec_byte_code (bytestr=<optimized out>, vector=37362885, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:784
#52 0x0000000000575af1 in funcall_lambda (fun=37363141, nargs=nargs@entry=3, arg_vector=arg_vector@entry=0x7fffffffd0e0) at eval.c:3052
#53 0x0000000000575e0b in Ffuncall (nargs=4, args=args@entry=0x7fffffffd0d8) at eval.c:2881
---Type <return> to continue, or q <return> to quit---
#54 0x00000000005accc0 in exec_byte_code (bytestr=<optimized out>, vector=37366093, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:784
#55 0x0000000000575af1 in funcall_lambda (fun=37366437, nargs=nargs@entry=5, arg_vector=arg_vector@entry=0x7fffffffd2e0) at eval.c:3052
#56 0x0000000000575e0b in Ffuncall (nargs=6, args=args@entry=0x7fffffffd2d8) at eval.c:2881
#57 0x00000000005accc0 in exec_byte_code (bytestr=<optimized out>, vector=37365517, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:784
#58 0x0000000000575af1 in funcall_lambda (fun=37366029, nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7fffffffd4c0) at eval.c:3052
#59 0x0000000000575e0b in Ffuncall (nargs=3, args=args@entry=0x7fffffffd4b8) at eval.c:2881
#60 0x00000000005accc0 in exec_byte_code (bytestr=<optimized out>, vector=37366485, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0)
at bytecode.c:784
#61 0x0000000000575af1 in funcall_lambda (fun=37366629, nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7fffffffd6a0) at eval.c:3052
#62 0x0000000000575e0b in Ffuncall (nargs=nargs@entry=1, args=args@entry=0x7fffffffd698) at eval.c:2881
#63 0x0000000000576327 in apply1 (fn=fn@entry=36351522, arg=arg@entry=12014114) at eval.c:2556
#64 0x0000000000571efd in Fcall_interactively (function=36351522, record_flag=12014114, keys=12049333) at callint.c:378
#65 0x0000000000575f97 in Ffuncall (nargs=nargs@entry=4, args=args@entry=0x7fffffffd840) at eval.c:2827
#66 0x00000000005761d4 in call3 (fn=<optimized out>, arg1=<optimized out>, arg2=<optimized out>, arg3=<optimized out>) at eval.c:2620
#67 0x00000000004ff98d in Fcommand_execute (cmd=<optimized out>, record_flag=<optimized out>, keys=<optimized out>, special=<optimized out>) at keyboard.c:10342
#68 0x000000000050effb in command_loop_1 () at keyboard.c:1573
#69 0x00000000005743d3 in internal_condition_case (bfun=bfun@entry=0x50ec70 <command_loop_1>, handlers=12065890, hfun=hfun@entry=0x503b50 <cmd_error>) at eval.c:1333
#70 0x0000000000501f8e in command_loop_2 (ignore=ignore@entry=12014114) at keyboard.c:1155
#71 0x00000000005742cb in internal_catch (tag=<error reading variable: Cannot access memory at address 0x1f20>, func=func@entry=0x501f70 <command_loop_2>, arg=12014114) at eval.c:1090
#72 0x0000000000503647 in command_loop () at keyboard.c:1134
#73 recursive_edit_1 () at keyboard.c:754
#74 0x000000000050396a in Frecursive_edit () at keyboard.c:818
#75 0x00000000004187bd in main (argc=1, argv=<optimized out>) at emacs.c:1693
[-- Attachment #1.4: Type: text/plain, Size: 30 bytes --]
--
Julien
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Regular crashes with abort() in mark_maybe_pointer with trunk
2012-06-29 12:36 Regular crashes with abort() in mark_maybe_pointer with trunk Julien Danjou
@ 2012-06-29 14:01 ` Dmitry Antipov
2012-06-30 20:17 ` Julien Danjou
2012-06-30 13:52 ` Jim Meyering
2012-07-17 10:47 ` Julien Danjou
2 siblings, 1 reply; 10+ messages in thread
From: Dmitry Antipov @ 2012-06-29 14:01 UTC (permalink / raw)
To: julien; +Cc: emacs-devel
On 06/29/2012 04:36 PM, Julien Danjou wrote:
> Since at least yesterday, latest trunk version crashes regularly.
>
> I've grabbed 2 backtraces so far, attached.
Both crashes says that mem_node tree is damaged :-(.
Can you try to reproduce crash with CFLAGS='-O0 -g3' and with
--enable-checking=all? If you can grab the postmortem core, it
would be helpful if you put _both_ core file and emacs binary
somewhere on the net, so someone will be able to perform in-depth
analysis with gdb.
Dmitry
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Regular crashes with abort() in mark_maybe_pointer with trunk
2012-06-29 12:36 Regular crashes with abort() in mark_maybe_pointer with trunk Julien Danjou
2012-06-29 14:01 ` Dmitry Antipov
@ 2012-06-30 13:52 ` Jim Meyering
2012-07-17 10:47 ` Julien Danjou
2 siblings, 0 replies; 10+ messages in thread
From: Jim Meyering @ 2012-06-30 13:52 UTC (permalink / raw)
To: emacs-devel
Julien Danjou wrote:
> Since at least yesterday, latest trunk version crashes regularly.
>
> I've grabbed 2 backtraces so far, attached.
>
> I'm sure that the change responsible has been done between the commits:
>
> commit 1e211d886c96420904ad197cfee7fce7ae7b9d83
> Author: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Fri Jun 22 09:42:38 2012 -0400
>
> Provide generalized variables in core Elisp.
>
>
> commit b17778189e1df0a56e48a5f6f0b52f7bebbdfdd7
> Author: Julien Danjou <julien@danjou.info>
> Date: Thu Jun 28 12:40:24 2012 +0200
>
> term: rework color cutomizing
>
>
> I know this because emacs-snapshot for Debian that I package worked
> correctly for the 20120622 version, and stopped working with this last
> commit. Something in between changed something causing this.
>
> If nobody has an idea, I can try to bisect but that will require
> sometimes since the crash is still random to me (not sure how to
> reproduce for sure).
I've been seeing intermittent crashes and bootstrap failures (stack
traces always point to GC-related code) on the trunk for months now.
The failure comes and goes, seemingly at random, when unrelated changes
are committed. Bisection has not been useful to me, perhaps because
the underlying problem is merely triggered by the presence of new code
inducing some sort of change in the bootstrapped temacs.
For example, between June 19 and some time in June 25-27, I failed
to bootstrap from the trunk because of this sort of problem.
However, since June 28th bootstrap succeeded.
Here are date/times of my recent successful trunk bootstraps:
emacs-2012-06-01.07h20/
emacs-2012-06-02.06h19/
emacs-2012-06-03.12h59/
emacs-2012-06-04.15h56/
emacs-2012-06-06.20h46/
emacs-2012-06-08.05h44/
emacs-2012-06-09.15h54/
emacs-2012-06-16.06h27/
emacs-2012-06-18.07h52/
emacs-2012-06-19.05h12/
emacs-2012-06-28.13h43/
emacs-2012-06-29.05h29/
emacs-2012-06-30.09h07/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Regular crashes with abort() in mark_maybe_pointer with trunk
2012-06-29 14:01 ` Dmitry Antipov
@ 2012-06-30 20:17 ` Julien Danjou
2012-07-01 5:25 ` Dmitry Antipov
0 siblings, 1 reply; 10+ messages in thread
From: Julien Danjou @ 2012-06-30 20:17 UTC (permalink / raw)
To: Dmitry Antipov; +Cc: emacs-devel
[-- Attachment #1.1: Type: text/plain, Size: 633 bytes --]
On Fri, Jun 29 2012, Dmitry Antipov wrote:
> Both crashes says that mem_node tree is damaged :-(.
>
> Can you try to reproduce crash with CFLAGS='-O0 -g3' and with
> --enable-checking=all? If you can grab the postmortem core, it
> would be helpful if you put _both_ core file and emacs binary
> somewhere on the net, so someone will be able to perform in-depth
> analysis with gdb.
Here's one. I was not able to compile with --enable-checking=all (one of
the .el file seemed to take forever to compile, did not dig into this).
I don't have the core file, I launched emacs through gdb but I can
probably get one if that's better.
[-- Attachment #1.2: crash-emacs.txt --]
[-- Type: text/plain, Size: 34249 bytes --]
#1 0x0000000000556bb2 in abort () at emacs.c:390
No locals.
#2 0x00000000005d4b43 in compact_small_strings () at alloc.c:2245
nbytes = 40484272
b = 0x2b81cc0
tb = 0x2b81cc0
next = 0x7fffffff8230
from = 0x2b838f8
to = 0x2b837b0
end = 0x2b83ca0
tb_end = 0x2b83cbc
to_end = 0x2b837b0
from_end = 0x2b838f8
#3 0x00000000005d4a21 in sweep_strings () at alloc.c:2170
b = 0x0
next = 0x0
live_blocks = 0x33d6670
#4 0x00000000005da349 in gc_sweep () at alloc.c:6219
No locals.
#5 0x00000000005d8f8d in Fgarbage_collect () at alloc.c:5568
bind = 0x0
stack_top_variable = 0 '\000'
i = 1552
message_p = 0
total = {54160950, 15988978, 140737488323984, 140737488323664, 140737488323656, -1, 15989026, 54160998}
count = 74
t1 = {
tv_sec = 1341087218,
tv_nsec = 3182982
}
t2 = {
tv_sec = 140737488323984,
tv_nsec = 12722722
}
t3 = {
tv_sec = 54135382,
tv_nsec = 54135398
}
#6 0x00000000005f7daa in eval_sub (form=54161062) at eval.c:2062
fun = 6430584
val = 54161062
original_fun = 12779986
original_args = 74
funcar = 9740709
backtrace = {
next = 0x2d979d0,
function = 0xc22222,
args = 0x7fffffff85e0,
nargs = 6445306,
debug_on_exit = 0
}
gcpro1 = {
next = 0xa,
var = 0x622020,
nvars = 12835138
}
gcpro2 = {
next = 0xd7,
var = 0xc22222,
nvars = 140737488324096
}
gcpro3 = {
next = 0x7fffffff85e0,
var = 0x7fffffff84f0,
nvars = 3
}
#7 0x0000000000625171 in readevalloop (readcharfun=12835138, stream=0x2d979d0, sourcename=44826513, printflag=0,
unibyte=12722722, readfun=12722722, start=12722722, end=12722722) at lread.c:1819
count1 = 74
c = 54161062
val = 54161062
count = 70
gcpro1 = {
var = 0xc22222,
nvars = 140737488324400
}
gcpro2 = {
next = 0x7fffffff86e0,
var = 0xc3db80,
nvars = 47806928
}
gcpro3 = {
next = 0xbfb4d0,
var = 0x17f5da0,
nvars = 4254223990689628184
}
gcpro4 = {
next = 0x7ffff2337ec8,
var = 0x100004000,
nvars = 568
}
b = 0x0
continue_reading_p = 1
lex_bound = 12722722
whole_buffer = 0
first_sexp = 0
#8 0x0000000000623de9 in Fload (file=38777313, noerror=12722722, nomessage=12722770, nosuffix=12722722, must_suffix=12722770)
at lread.c:1303
stream = 0x2d979d0
fd = 49510806
count = 61
gcpro1 = {
next = 0x7fffffff89e0,
var = 0x3,
nvars = 48283048
}
gcpro2 = {
next = 0x28,
var = 0x2e0bda8,
nvars = 140737488324896
}
gcpro3 = {
next = 0x7fffffff8930,
var = 0x6037d3,
nvars = 12835138
}
found = 49896449
efound = 49896513
hist_file_name = 49896449
newer = 0
compiled = 1
handler = 49435686
safe_p = 1
fmode = 0x6b0b14 "r"
tmp = {0, 49688694}
version = 23
#9 0x0000000000605457 in Frequire (feature=44824658, filename=12722722, noerror=12722722) at fns.c:2674
count = 59
nesting = 0
tem = 12722770
gcpro1 = {
next = 0x7fffffff8c70,
var = 0x626128,
nvars = 12844370
}
gcpro2 = {
next = 0x0,
var = 0x621f78,
nvars = 49688646
}
from_file = 1
#10 0x00000000005f996b in Ffuncall (nargs=2, args=0x7fffffff8b28) at eval.c:2827
fun = 12093229
original_fun = 12843698
funcar = -3602332687194263423
numargs = 1
lisp_numargs = 64
next = 0x7fffffff8fd0,
function = 0x7fffffff8b28,
args = 0x7fffffff8b30,
nargs = 1,
debug_on_exit = 0
}
internal_args = 0x7fffffff8a50
i = 3
#11 0x0000000000641fca in exec_byte_code (bytestr=38777217, vector=48283053, maxdepth=8, args_template=12722722, nargs=0,
args=0x0) at bytecode.c:784
count = 59
op = 1
vectorp = 0x2e0bdb8
stack = {
pc = 0x1a6af57 "\207",
byte_string = 38777217,
byte_string_start = 0x1a6af50 "\300\301!\210\300\302!\207",
constants = 48283053,
next = 0x7fffffff97f0
}
top = 0x7fffffff8b28
result = 11111641
#12 0x000000000064151b in Fbyte_code (bytestr=38777217, vector=48283053, maxdepth=8) at bytecode.c:423
No locals.
#13 0x00000000005f8303 in eval_sub (form=49688598) at eval.c:2173
numargs = 12
args_left = 12722722
i = 3
maxargs = 3
argvals = {38777217, 48283053, 8, 12722722, 12722722, 49898625, 0, 12722722}
fun = 12097893
val = 49688598
original_fun = 12858146
original_args = 49688614
funcar = 9740709
backtrace = {
next = 0x7fffffff9540,
function = 0x7fffffff9000,
args = 0x7fffffff8f30,
nargs = 3,
debug_on_exit = 0
}
gcpro1 = {
next = 0xa,
var = 0x622020,
nvars = 12835138
}
gcpro2 = {
next = 0x2b51d40,
var = 0xc22222,
nvars = 140737488326720
}
gcpro3 = {
next = 0x7fffffff9020,
var = 0x7fffffff8f30,
nvars = 3
}
#14 0x0000000000625171 in readevalloop (readcharfun=12835138, stream=0x2b51d40, sourcename=49898625, printflag=0,
unibyte=12722722, readfun=12722722, start=12722722, end=12722722) at lread.c:1819
count1 = 59
c = 49688598
val = 49688598
count = 55
gcpro1 = {
next = 0x2b51d40,
var = 0xc22222,
nvars = 140737488327024
}
gcpro2 = {
next = 0x7fffffff9120,
var = 0xc3db80,
nvars = 45423936
}
gcpro3 = {
var = 0x17f5da0,
nvars = 2317428739329228824
}
gcpro4 = {
next = 0x7ffff2337ec8,
var = 0x100004000,
nvars = 568
}
b = 0x0
continue_reading_p = 1
lex_bound = 12722722
whole_buffer = 0
first_sexp = 0
#15 0x0000000000623de9 in Fload (file=32362497, noerror=12722722, nomessage=12722770, nosuffix=12722722, must_suffix=12722770)
at lread.c:1303
stream = 0x2b51d40
fd = 12722722
count = 46
gcpro1 = {
next = 0x7fffffff93d0,
var = 0x5fa90b,
nvars = 32971490
}
gcpro2 = {
next = 0xa1ed35,
var = 0xc22222,
nvars = 12722770
}
gcpro3 = {
next = 0x7fffffff9470,
var = 0x5f7cfd,
nvars = 12722722
}
found = 54639873
efound = 54639969
hist_file_name = 54639873
newer = 0
compiled = 1
handler = 12722722
safe_p = 1
fmode = 0x6b0b14 "r"
tmp = {45809444, 12722722}
version = 23
#16 0x0000000000605457 in Frequire (feature=32971538, filename=12722722, noerror=12722722) at fns.c:2674
count = 44
nesting = 0
tem = 12722770
gcpro1 = {
next = 0xc4ccc0,
var = 0xc22222,
nvars = 49313414
}
gcpro2 = {
next = 0x0,
var = 0x0,
nvars = 44839032
}
from_file = 0
#17 0x00000000005f8303 in eval_sub (form=33445430) at eval.c:2173
numargs = 4
args_left = 12722722
i = 3
maxargs = 3
argvals = {32971538, 12722722, 12722722, 20, 0, 0, 12722722, 20}
fun = 12093229
val = 32971490
original_fun = 12843698
original_args = 33445414
funcar = 1
backtrace = {
next = 0x7fffffff9be0,
function = 0x7fffffff9570,
args = 0x7fffffff94a0,
nargs = 1,
next = 0x2d00002711,
var = 0x7fffffff9460,
nvars = 4294967297
}
gcpro2 = {
next = 0xb7ee0b,
var = 0x909cf5,
nvars = 140737488329168
}
gcpro3 = {
next = 0x909cf5,
var = 0x7fffffff94a0,
nvars = 3
}
#18 0x00000000005f645f in internal_lisp_condition_case (var=12722722, bodyform=33445430, handlers=33445302) at eval.c:1287
val = 12722722
c = {
tag = 12722722,
val = 12722722,
next = 0x7fffffffb420,
gcpro = 0x0,
jmp = {{
__jmpbuf = {140737488329848, 6593851951951115676, 33445078, 140737488347280, 0, 0, 6593851952001447324,
-6593852407587277412},
__mask_was_saved = 0,
__saved_mask = {
__val = {0, 0, 12722722, 12722722, 45270838, 12722722, 140737488329072, 140737488328592, 6265613,
140737488328512, 39, 126, 16, 140737488328832, 1, 48}
}
}},
backlist = 0x7fffffff9be0,
handlerlist = 0x7fffffffb3f0,
lisp_eval_depth = 13,
pdlcount = 44,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x7fffffff97f0
}
h = {
handler = 33445302,
var = 12722722,
chosen_clause = 12722722,
tag = 0x7fffffff9640,
next = 0x7fffffffb3f0
}
#19 0x0000000000642cc2 in exec_byte_code (bytestr=32359169, vector=31941973, maxdepth=12, args_template=12722722, nargs=0,
args=0x0) at bytecode.c:980
handlers = 33445302
body = 33445430
count = 44
op = 143
vectorp = 0x1e76560
stack = {
pc = 0x1f3837c "\207",
byte_string = 32359169,
byte_string_start = 0x1f38378 "\300\301\302\217\207",
constants = 31941973,
next = 0x7fffffff9ed0
}
top = 0x7fffffff9788
result = 32971490
#20 0x00000000005fa329 in funcall_lambda (fun=32968653, nargs=1, arg_vector=0x7fffffff9c78) at eval.c:3052
val = 32971490
syms_left = 12722722
next = 24486466
lexenv = 12722722
count = 43
i = 1
optional = 0
rest = 0
#21 0x00000000005f9b0d in Ffuncall (nargs=2, args=0x7fffffff9c70) at eval.c:2869
fun = 32968653
original_fun = 32968653
funcar = 12722722
lisp_numargs = 140737256849096
val = 32971490
backtrace = {
next = 0x7fffffff9de0,
function = 0x7fffffff9c70,
args = 0x7fffffff9c78,
nargs = 1,
debug_on_exit = 0
}
internal_args = 0x1
i = 16052146
#22 0x00000000005f90ce in call1 (fn=32968653, arg1=32971538) at eval.c:2589
ret_ungc_val = 32971490
gcpro1 = {
next = 0x909d00,
var = 0x2b,
nvars = 2
}
args = {32968653, 32971538}
#23 0x0000000000604715 in mapcar1 (leni=13, vals=0x0, fn=32968653, seq=33445094) at fns.c:2334
tail = 33445078
dummy = 32971490
i = 1
gcpro1 = {
next = 0x0,
var = 0x201baa5,
nvars = 16172498
}
gcpro2 = {
next = 0x7fffffff9d60,
var = 0x629511,
nvars = 140737488330112
}
gcpro3 = {
next = 0x7fffffff9d10,
var = 0xb81a0c,
nvars = 0
}
#24 0x0000000000604bdd in Fmapc (function=32968653, sequence=33445094) at fns.c:2423
leni = 13
#25 0x00000000005f9940 in Ffuncall (nargs=3, args=0x7fffffff9e68) at eval.c:2823
fun = 12092989
original_fun = 12846642
funcar = 29561638
numargs = 2
lisp_numargs = 29561654
val = 16863250
backtrace = {
next = 0x7fffffffa2c0,
function = 0x7fffffff9e68,
args = 0x7fffffff9e70,
nargs = 2,
debug_on_exit = 0
}
internal_args = 0x7fffffff9e70
i = 6304198
#26 0x0000000000641fca in exec_byte_code (bytestr=32357297, vector=31942013, maxdepth=12, args_template=12722722, nargs=0,
args=0x0) at bytecode.c:784
count = 43
op = 2
vectorp = 0x1e76588
stack = {
pc = 0x1f3834d "\210ʼn\021\207",
byte_string = 32357297,
byte_string_start = 0x1f38340 "\b\204\t",
constants = 31942013,
next = 0x7fffffffa3e0
}
top = 0x7fffffff9e68
result = 140737488330960
#27 0x00000000005fa329 in funcall_lambda (fun=31942077, nargs=0, arg_vector=0x7fffffffa350) at eval.c:3052
val = 140737488331600
syms_left = 12722722
next = 16008082
i = 0
optional = 1
rest = 0
#28 0x00000000005f9b0d in Ffuncall (nargs=1, args=0x7fffffffa348) at eval.c:2869
fun = 31942077
original_fun = 32971250
funcar = 25124256
numargs = 0
lisp_numargs = 12725653
val = 12763186
backtrace = {
next = 0x7fffffffa7d0,
function = 0x7fffffffa348,
args = 0x7fffffffa350,
nargs = 0,
debug_on_exit = 0
}
internal_args = 0x2a
i = 12851168
#29 0x0000000000641fca in exec_byte_code (bytestr=33574129, vector=33380293, maxdepth=32, args_template=12722722, nargs=0,
args=0x0) at bytecode.c:784
count = 41
op = 0
vectorp = 0x1fd57d0
stack = {
pc = 0x1e5c466 "\210\337\016B!\210\337\016C!\210\340 \210\016D\203\215",
byte_string = 33574129,
byte_string_start = 0x1e5c3f0 "\306\300!\210\307\030\310 \210\311\021\312\022\310\313N\203\033",
constants = 33380293,
next = 0x7fffffffa8c0
}
top = 0x7fffffffa348
result = 11930535
#30 0x00000000005fa329 in funcall_lambda (fun=33213109, nargs=0, arg_vector=0x7fffffffa860) at eval.c:3052
val = 39689985
syms_left = 12722722
next = 39689985
lexenv = 12722722
count = 41
i = 0
optional = 0
rest = 0
#31 0x00000000005f9b0d in Ffuncall (nargs=1, args=0x7fffffffa858) at eval.c:2869
fun = 33213109
original_fun = 16925314
funcar = 12894530
numargs = 0
lisp_numargs = 2
val = 140737488335232
backtrace = {
next = 0x7fffffffacb0,
function = 0x7fffffffa858,
args = 0x7fffffffa860,
nargs = 0,
debug_on_exit = 0
}
internal_args = 0x7fffffffad40
i = 47
#32 0x0000000000641fca in exec_byte_code (bytestr=9771953, vector=9771989, maxdepth=12, args_template=12722722, nargs=0,
args=0x0) at bytecode.c:784
count = 41
op = 0
vectorp = 0x951be0
stack = {
pc = 0xb5fac1 "\210\t\207",
byte_string = 9771953,
byte_string_start = 0xb5faac "\b\205\v",
constants = 9771989,
next = 0x7fffffffadc0
}
top = 0x7fffffffa858
result = 16925314
#33 0x00000000005fa329 in funcall_lambda (fun=9771885, nargs=2, arg_vector=0x7fffffffad40) at eval.c:3052
val = 12851266
lexenv = 12722722
count = 39
i = 2
optional = 1
rest = 0
#34 0x00000000005f9b0d in Ffuncall (nargs=3, args=0x7fffffffad38) at eval.c:2869
fun = 9771885
original_fun = 16879298
funcar = 6268870
numargs = 2
lisp_numargs = 12722722
val = 16925314
backtrace = {
next = 0x7fffffffb320,
function = 0x7fffffffad38,
args = 0x7fffffffad40,
nargs = 2,
debug_on_exit = 0
}
internal_args = 0x27
i = 12900272
#35 0x0000000000641fca in exec_byte_code (bytestr=9770737, vector=9770773, maxdepth=24, args_template=12722722, nargs=0,
args=0x0) at bytecode.c:784
count = 32
op = 2
vectorp = 0x951720
stack = {
pc = 0xb5fcda
"\210\314\022\202;\001*\n?\205\314\001\212eb\210\214ede\016\061\\^}\210\343\307\016:\352#*\211\022\205\314\001\335\n\016.\"-\207",
byte_string = 9770737,
byte_string_start = 0xb5fb39 "\306 ?lj\211\211\030\031\032\033\034\212eb\210\310\307w\210\r\203|",
constants = 9770773,
next = 0x7fffffffb5e0
}
top = 0x7fffffffad38
result = 140737488334992
#36 0x00000000005fa329 in funcall_lambda (fun=9770653, nargs=0, arg_vector=0x7fffffffb180) at eval.c:3052
val = 3
syms_left = 12722722
next = 16879154
lexenv = 12722722
count = 31
i = 0
optional = 1
rest = 0
#37 0x00000000005f9e2d in apply_lambda (fun=9770653, args=12722722) at eval.c:2929
args_left = 12722722
i = 0
numargs = 0
arg_vector = 0x7fffffffb180
gcpro1 = {
next = 0xffffb320,
var = 0x100000001,
nvars = 0
}
gcpro2 = {
next = 0x0,
var = 0x3,
nvars = 11917623
}
gcpro3 = {
next = 0x2a9d060,
var = 0x0,
nvars = 0
}
tem = 140737488337504
sa_count = 31
sa_must_free = 0
#38 0x00000000005f84b1 in eval_sub (form=9760222) at eval.c:2212
fun = 9770653
val = 10249000
original_fun = 16930098
original_args = 12722722
funcar = 140737488336032
args = 0x7fffffffb180,
nargs = 0,
debug_on_exit = 0
}
gcpro1 = {
next = 0x16,
var = 0x7fffffffe090,
nvars = 0
}
gcpro2 = {
next = 0x3,
var = 0x2594771,
nvars = 11917623
}
gcpro3 = {
next = 0x0,
var = 0xbf67d0,
nvars = 12722722
}
#39 0x00000000005f645f in internal_lisp_condition_case (var=16312450, bodyform=9760222, handlers=9760238) at eval.c:1287
val = 12722722
c = {
tag = 12722722,
val = 12722722,
next = 0x7fffffffd920,
gcpro = 0x0,
jmp = {{
__jmpbuf = {140737488337504, 6593851953096160668, 12722722, 140737488347280, 0, 0, 6593851953146492316,
-6593852407587277412},
__mask_was_saved = 0,
__saved_mask = {
__val = {6150070, 0, 8589916768, 45466752, 12722722, 140737488336112, 6148885, 45466752, 42838662, 43872118,
16928128, 49315606, 140737488337504, 140737488336160, 6149269, 140737488336208}
}
}},
backlist = 0x7fffffffb9d0,
handlerlist = 0x7fffffffd8f0,
lisp_eval_depth = 7,
pdlcount = 31,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x7fffffffb5e0
}
h = {
handler = 9760238,
var = 16312450,
chosen_clause = 140737488335952,
tag = 0x7fffffffb420,
next = 0x7fffffffd8f0
}
#40 0x0000000000642cc2 in exec_byte_code (bytestr=9760017, vector=9760053, maxdepth=16, args_template=12722722, nargs=0,
args=0x0) at bytecode.c:980
handlers = 9760238
body = 9760222
count = 30
op = 143
vectorp = 0x94ed40
stack = {
pc = 0xb61058 "\210\n\203)",
byte_string = 9760017,
byte_string_start = 0xb6103a "\306\307!\206\a",
constants = 9760053,
next = 0x7fffffffbad0
}
top = 0x7fffffffb568
result = 22
#41 0x00000000005fa329 in funcall_lambda (fun=9759925, nargs=1, arg_vector=0x7fffffffba60) at eval.c:3052
val = 6164517
syms_left = 12722722
next = 16078226
lexenv = 12722722
count = 29
i = 1
optional = 1
original_fun = 16929858
funcar = 12851842
numargs = 1
lisp_numargs = 12722722
val = 12722722
backtrace = {
next = 0x7fffffffbec0,
function = 0x7fffffffba58,
args = 0x7fffffffba60,
nargs = 1,
debug_on_exit = 0
}
internal_args = 0x1d
i = 1
#43 0x0000000000641fca in exec_byte_code (bytestr=9758769, vector=9758805, maxdepth=20, args_template=12722722, nargs=0,
args=0x0) at bytecode.c:784
count = 29
op = 1
vectorp = 0x94e860
stack = {
pc = 0xb612e5
"\210\016\070\346>\203\026\001deV\203\026\001dSf\347U\204\026\001\016\071\311=\203\n\001dSf\350U\204\026\001\t\204\026\001\212db\210\351c\210)\t\203+\001\016\066\203+\001\016:\352N\353=\204+\001\354
\210\355\356!\207",
byte_string = 9758769,
byte_string_start = 0xb61200 "\306\b!?\021\n\204\262",
constants = 9758805,
next = 0x7fffffffbfb0
}
top = 0x7fffffffba58
result = 12722770
#44 0x00000000005fa329 in funcall_lambda (fun=9758621, nargs=2, arg_vector=0x7fffffffbf50) at eval.c:3052
val = 12722770
syms_left = 12722722
next = 16929618
lexenv = 12722722
count = 24
i = 2
optional = 1
rest = 0
#45 0x00000000005f9b0d in Ffuncall (nargs=3, args=0x7fffffffbf48) at eval.c:2869
fun = 9758621
original_fun = 16815666
funcar = 12851842
numargs = 2
lisp_numargs = 16106160
val = 12722770
backtrace = {
next = 0x7fffffffc3a0,
function = 0x7fffffffbf48,
args = 0x7fffffffbf50,
nargs = 2,
debug_on_exit = 0
}
internal_args = 0x18
i = 6149302
#46 0x0000000000641fca in exec_byte_code (bytestr=9755513, vector=9755549, maxdepth=12, args_template=12722722, nargs=0,
args=0x0) at bytecode.c:784
count = 22
op = 2
vectorp = 0x94dba8
stack = {
pc = 0xb61678 "\210p*\207",
byte_string = 9755513,
byte_string_start = 0xb615e8 "\306\030r\tq\210\307\310!\210\307\311!\210\307\312!\210\313\032\314
\210)\315\316!\203&",
constants = 9755549,
next = 0x7fffffffc4c0
}
top = 0x7fffffffbf48
result = 25124261
#47 0x00000000005fa329 in funcall_lambda (fun=9755373, nargs=6, arg_vector=0x7fffffffc430) at eval.c:3052
val = 25124261
syms_left = 12722722
next = 16031186
lexenv = 12722722
count = 16
rest = 0
#48 0x00000000005f9b0d in Ffuncall (nargs=7, args=0x7fffffffc428) at eval.c:2869
fun = 9755373
original_fun = 16815474
funcar = 124564764093
numargs = 6
lisp_numargs = 12722722
val = 25124261
backtrace = {
next = 0x7fffffffc8b0,
function = 0x7fffffffc428,
args = 0x7fffffffc430,
nargs = 6,
debug_on_exit = 0
}
internal_args = 0x7fffffffc940
i = 16279040
#49 0x0000000000641fca in exec_byte_code (bytestr=9753849, vector=9753885, maxdepth=32, args_template=12722722, nargs=0,
args=0x0) at bytecode.c:784
count = 11
op = 6
vectorp = 0x94d528
stack = {
pc = 0xb61fc5 "-\207",
byte_string = 9753849,
byte_string_start = 0xb61d4f "\306\307\b!!\020\310\b!\203(",
constants = 9753885,
next = 0x7fffffffc9c0
}
top = 0x7fffffffc428
result = 140737488340704
#50 0x00000000005fa329 in funcall_lambda (fun=9753733, nargs=4, arg_vector=0x7fffffffc940) at eval.c:3052
val = 4101046
syms_left = 12722722
next = 16322994
lexenv = 12722722
count = 7
i = 4
optional = 1
rest = 0
#51 0x00000000005f9b0d in Ffuncall (nargs=5, args=0x7fffffffc938) at eval.c:2869
fun = 9753733
original_fun = 16323042
funcar = 8
numargs = 4
lisp_numargs = 8
val = 16232133
backtrace = {
next = 0x7fffffffcdb0,
function = 0x7fffffffc938,
args = 0x7fffffffc940,
nargs = 4,
debug_on_exit = 0
}
internal_args = 0x7fffffffce40
i = 12799170
#52 0x0000000000641fca in exec_byte_code (bytestr=9746577, vector=9746613, maxdepth=24, args_template=12722722, nargs=0,
args=0x0) at bytecode.c:784
count = 7
op = 4
vectorp = 0x94b8c0
stack = {
pc = 0xb628ee "\211\032<\203\024",
byte_string = 9746577,
byte_string_start = 0xb628e8 "\303\bĉ\t$\211\032<\203\024",
constants = 9746613,
next = 0x7fffffffceb0
}
top = 0x7fffffffc938
result = -1
#53 0x00000000005fa329 in funcall_lambda (fun=9746469, nargs=1, arg_vector=0x7fffffffce40) at eval.c:3052
val = 6265152
syms_left = 12722722
next = 16322994
count = 5
i = 1
optional = 1
rest = 0
#54 0x00000000005f9b0d in Ffuncall (nargs=2, args=0x7fffffffce38) at eval.c:2869
fun = 9746469
original_fun = 16078226
funcar = 6268870
numargs = 1
lisp_numargs = 12722770
val = 41183521
backtrace = {
next = 0x7fffffffd2a0,
function = 0x7fffffffce38,
args = 0x7fffffffce40,
nargs = 1,
debug_on_exit = 0
}
internal_args = 0x5
i = 2
#55 0x0000000000641fca in exec_byte_code (bytestr=15043329, vector=15606861, maxdepth=20, args_template=12722722, nargs=0,
args=0x0) at bytecode.c:784
count = 5
op = 1
vectorp = 0xee2458
stack = {
pc = 0x1c8899b "\207\322\323\324\325\vE\"\207",
byte_string = 15043329,
byte_string_start = 0x1c88910 "\306\307!\203\032",
constants = 15606861,
next = 0x0
}
top = 0x7fffffffce38
result = 0
#56 0x00000000005fa329 in funcall_lambda (fun=22616101, nargs=0, arg_vector=0x7fffffffd330) at eval.c:3052
val = 6149388
syms_left = 12722722
next = 16057362
lexenv = 12722722
count = 4
i = 0
optional = 1
rest = 0
#57 0x00000000005f9b0d in Ffuncall (nargs=1, args=0x7fffffffd328) at eval.c:2869
fun = 22616101
original_fun = 17239538
funcar = 3
numargs = 0
lisp_numargs = 12839922
val = 140737488343872
backtrace = {
next = 0x7fffffffd5e0,
function = 0x7fffffffd328,
args = 0x7fffffffd330,
nargs = 0,
debug_on_exit = 0
}
internal_args = 0x7fffffffd688
i = 0
#58 0x00000000005f9029 in apply1 (fn=17239538, arg=12722722) at eval.c:2556
ret_ungc_val = 3
gcpro1 = {
next = 0x7fffffffd370,
var = 0x55ad16,
nvars = 12722722
}
#59 0x00000000005f2449 in Fcall_interactively (function=17239538, record_flag=12722722, keys=12757941) at callint.c:378
input = 12722722
funval = 22616101
events = 25
args = 0xc22222
visargs = 0x2000
specs = 12722722
filter_specs = 12722722
teml = 0
up_event = 12722722
enable = 12722722
speccount = 3
next_event = 8192
prefix_arg = 12722722
string = 0x0
tem = 0x0
varies = 0x0
i = 1
nargs = 5347863
foo = 0
arg_from_tty = 0
gcpro1 = {
next = 0x2000,
var = 0x0,
nvars = 0
}
gcpro2 = {
next = 0x4fef5def,
var = 0x1e8664c2,
nvars = 140737488344832
}
gcpro3 = {
next = 0x0,
var = 0xf423e,
nvars = 0
}
gcpro4 = {
next = 0x0,
var = 0x3b9ac073,
nvars = 0
}
gcpro5 = {
next = 0x4fef5def,
var = 0x2628de0,
nvars = 140737488344096
}
key_count = 2
record_then_fail = 0
save_this_command = 17239538
save_last_command = 36071074
save_this_original_command = 17239538
save_real_this_command = 17239538
#60 0x00000000005f996b in Ffuncall (nargs=4, args=0x7fffffffd680) at eval.c:2827
fun = 12087277
original_fun = 12858530
funcar = 0
numargs = 3
lisp_numargs = 0
val = 0
backtrace = {
next = 0x0,
function = 0x7fffffffd680,
args = 0x7fffffffd688,
nargs = 3,
debug_on_exit = 0
}
internal_args = 0x7fffffffd688
i = 0
#61 0x00000000005f9178 in call3 (fn=12858530, arg1=17239538, arg2=12722722, arg3=12722722) at eval.c:2620
ret_ungc_val = 0
gcpro1 = {
next = 0x7fffffffd6c0,
var = 0x1591825,
nvars = 4
}
args = {12858530, 17239538, 12722722, 12722722}
#62 0x000000000056deba in Fcommand_execute (cmd=17239538, record_flag=12722722, keys=12722722, special=12722722) at
keyboard.c:10342
final = 22616101
tem = 12722722
prefixarg = 12722722
#63 0x000000000055bcf0 in command_loop_1 () at keyboard.c:1573
scount = 2
12839922, 12722722, 0, 0, 140737488345232, 6268935}
i = 2
prev_modiff = 387
prev_buffer = 0x26adff0
already_adjusted = 0
#64 0x00000000005f65c9 in internal_condition_case (bfun=0x55b4c6 <command_loop_1>, handlers=12774498, hfun=0x55ad7c
<cmd_error>) at eval.c:1333
val = 1
c = {
tag = 12722722,
val = 12722722,
next = 0x7fffffffdaa0,
gcpro = 0x0,
jmp = {{
__jmpbuf = {0, 6593851954541098396, 4289920, 140737488347280, 0, 0, 6593851954589332892, -6593852407628958308},
__mask_was_saved = 0,
__saved_mask = {
__val = {11852891666080593308, 0, 4294967295, 0, 1, 9318112, 0, 0, 0, 0, 140737351952882, 1, 0, 0,
140737253205648, 0}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
h = {
handler = 12774498,
var = 12722722,
chosen_clause = 12774498,
tag = 0x7fffffffd920,
next = 0x0
}
#65 0x000000000055b18f in command_loop_2 (ignore=12722722) at keyboard.c:1155
val = 0
#66 0x00000000005f5f45 in internal_catch (tag=12770370, func=0x55b169 <command_loop_2>, arg=12722722) at eval.c:1090
c = {
tag = 12770370,
val = 12722722,
next = 0x0,
gcpro = 0x0,
jmp = {{
__jmpbuf = {0, 6593851954490766748, 4289920, 140737488347280, 0, 0, 6593851954515932572, -6593852407976561252},
__mask_was_saved = 0,
__saved_mask = {
__val = {12722722, 140737488346000, 6150631, 100, 4294967296, 352, 6652743, 12111680, 12749520,
140737488346096, 0, 140737488346000, 12942560, 0, 0, 4289920}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
#67 0x000000000055b140 in command_loop () at keyboard.c:1134
No locals.
#68 0x000000000055a8ba in recursive_edit_1 () at keyboard.c:754
count = 1
val = 12722722
#69 0x000000000055aa61 in Frecursive_edit () at keyboard.c:818
count = 0
buffer = 12722722
#70 0x00000000005589b5 in main (argc=1, argv=0x7fffffffe098) at emacs.c:1693
dummy = 4246698
stack_bottom_variable = 0 '\000'
do_initial_setlocale = 1
skip_args = 0
rlim = {
rlim_cur = 8720000,
rlim_max = 18446744073709551615
}
no_loadup = 0
junk = 0x0
dname_arg = 0x0
ch_to_dir = 0x7ffff7fd3840 "\200\344\377\367\377\177"
Lisp Backtrace:
"require" (0xffff8b30)
"byte-code" (0xffff8f30)
"require" (0xffff94a0)
0x1f70fc8 PVEC_COMPILED
"mapc" (0xffff9e70)
"org-load-modules-maybe" (0xffffa350)
"org-mode" (0xffffa860)
"set-auto-mode-0" (0xffffad40)
"set-auto-mode" (0xffffb180)
"normal-mode" (0xffffba60)
"after-find-file" (0xffffbf50)
"find-file-noselect-1" (0xffffc430)
"find-file-noselect" (0xffffc940)
"find-file" (0xffffce40)
"find-file-at-point" (0xffffd330)
"call-interactively" (0xffffd688)
[-- Attachment #1.3: Type: text/plain, Size: 28 bytes --]
--
Julien
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Regular crashes with abort() in mark_maybe_pointer with trunk
2012-06-30 20:17 ` Julien Danjou
@ 2012-07-01 5:25 ` Dmitry Antipov
2012-07-02 14:49 ` Julien Danjou
0 siblings, 1 reply; 10+ messages in thread
From: Dmitry Antipov @ 2012-07-01 5:25 UTC (permalink / raw)
To: emacs-devel
On 07/01/2012 12:17 AM, Julien Danjou wrote:
> Here's one. I was not able to compile with --enable-checking=all (one of
> the .el file seemed to take forever to compile, did not dig into this).
> I don't have the core file, I launched emacs through gdb but I can
> probably get one if that's better.
Hm, this crash is not in mark_maybe_pointer (but your previous two crash
reports was). String compaction code is known to be quite stable.
If full bootstrap with '-O0' and --enable-checking=all is painfully slow
for you, try normal bootstrap and then just recompile with these options.
Thus you can avoid rebuilding .elc with the very slow Emacs instance.
Please describe your environment. Are you sure that your compiler is not
buggy?
Final note: make sure that your hardware is not broken. Random crashes
is a well-known symptom of bad RAM.
Dmitry
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Regular crashes with abort() in mark_maybe_pointer with trunk
2012-07-01 5:25 ` Dmitry Antipov
@ 2012-07-02 14:49 ` Julien Danjou
2012-07-02 14:56 ` Julien Danjou
0 siblings, 1 reply; 10+ messages in thread
From: Julien Danjou @ 2012-07-02 14:49 UTC (permalink / raw)
To: Dmitry Antipov; +Cc: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 1046 bytes --]
On Sun, Jul 01 2012, Dmitry Antipov wrote:
> Hm, this crash is not in mark_maybe_pointer (but your previous two crash
> reports was). String compaction code is known to be quite stable.
>
> If full bootstrap with '-O0' and --enable-checking=all is painfully slow
> for you, try normal bootstrap and then just recompile with these options.
> Thus you can avoid rebuilding .elc with the very slow Emacs instance.
I tried with --enable-checking=all, but 12 hours later on my dual core
box it did not finished compiling all the .el. Not sure what this flag
does, but it's long. :)
Unfortunately, it seems that -O0 makes the bug go away. :-( By default
the Debian package specified -O2.
> Please describe your environment. Are you sure that your compiler is not
> buggy?
I'm running Debian unstable with gcc 4.7.1.
> Final note: make sure that your hardware is not broken. Random crashes
> is a well-known symptom of bad RAM.
Nop, it's happening to other people running my package also. :(
--
Julien
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Regular crashes with abort() in mark_maybe_pointer with trunk
2012-07-02 14:49 ` Julien Danjou
@ 2012-07-02 14:56 ` Julien Danjou
0 siblings, 0 replies; 10+ messages in thread
From: Julien Danjou @ 2012-07-02 14:56 UTC (permalink / raw)
To: Dmitry Antipov; +Cc: emacs-devel
[-- Attachment #1.1: Type: text/plain, Size: 1023 bytes --]
On Mon, Jul 02 2012, Julien Danjou wrote:
> Unfortunately, it seems that -O0 makes the bug go away. :-( By default
> the Debian package specified -O2.
Ahah. I pressed C-c C-c to send this mail and it crashed. I just had to
be patient.
Attached is the backtrace. I've both the binary and the core file is
needed, I can provide them to you privately.
Configure was:
./configure --build x86_64-linux-gnu --host x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexe cdir=/usr/lib --localstatedir=/var --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-loca llisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.1.50/site-lisp:/usr/local/share/emacs/site-lis p:/usr/share/emacs/24.1.50/site-lisp:/usr/share/emacs/site-lisp --without-compress-info --with-crt-dir=/usr/lib/x 86_64-linux-gnu/ --with-x=yes --with-x-toolkit=gtk3 --with-imagemagick=yes
Make was called with:
make -j2 CFLAGS="-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g3 -O0"
[-- Attachment #1.2: crash-emacs-2.txt --]
[-- Type: text/plain, Size: 26445 bytes --]
#0 0x00007f8b1c8ad757 in kill () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x0000000000556b86 in abort () at emacs.c:390
No locals.
#2 0x00000000005f6b3c in Fsignal (error_symbol=12800114, data=59199910) at eval.c:1508
conditions = 140735051107344
string = 12791544
real_error_symbol = 12800114
clause = 12722722
h = 0xf7c022
bp = 0xc22222
#3 0x00000000005f6ea1 in xsignal (error_symbol=12800114, data=59199910) at eval.c:1604
No locals.
#4 0x00000000005f6ef6 in xsignal1 (error_symbol=12800114, arg=16236578) at eval.c:1619
No locals.
#5 0x00000000004c4781 in Fcheck_coding_system (coding_system=16236578) at coding.c:8164
define_form = 12722722
#6 0x00000000004c7b96 in code_convert_string (string=61065905, coding_system=16236578, dst_object=12722770,
encodep=0, nocopy=0, norecord=1) at coding.c:9054
coding = {
id = 50146968,
common_flags = 0,
mode = 0,
spec = {
iso_2022 = {
flags = 0,
current_invocation = {0, 12550840},
current_designation = {0, 13752384, 0, 21105408},
single_shifting = 0,
bol = 1857720032,
ctext_extended_segment_len = 32767,
embedded_utf_8 = 571684460,
cmp_status = {
state = COMPOSING_CHAR,
method = 4222451716,
old_form = 0,
length = 1,
nchars = 1,
ncomps = 1857716224,
carryover = {32767, 20, 0, 0, 0, 0, 0, 1857719536, 32767, 50146970, 0, 51077403, 0, 559378667, 32651,
1857720488, 32767, 13752384, 0, 13752384, 0, 559330821, 32651, 1857720488, 0, 573438918, 32651,
21105520, 0, 16, 0, 0, 0, 26, 0, 54267632, 0, 0, 0, 0, 0, 12550840, 0, -1, 32651, -1, 0, 21105408,
0, 482323392, 1, 482330752, 32651, 1, 0, 0, 0, 17, 0, 52964720, 0, 0, 0, 0, 0, 12550840, 0, 1}
}
},
ccl = 0x0,
utf_16 = {
bom = utf_detect_bom,
endian = utf_16_big_endian,
surrogate = 12550840
},
utf_8_bom = utf_detect_bom,
emacs_mule = {
full_support = 0,
cmp_status = {
state = COMPOSING_NO,
method = 12550840,
old_form = 0,
length = 13752384,
nchars = 0,
ncomps = 21105408,
carryover = {0, 1857720032, 32767, 571684460, 1, -72515580, 0, 1, 1, 1857716224, 32767, 20, 0, 0, 0,
0, 0, 1857719536, 32767, 50146970, 0, 51077403, 0, 559378667, 32651, 1857720488, 32767, 13752384,
0, 13752384, 0, 559330821, 32651, 1857720488, 0, 573438918, 32651, 21105520, 0, 16, 0, 0, 0, 26, 0,
54267632, 0, 0, 0, 0, 0, 12550840, 0, -1, 32651, -1, 0, 21105408, 0, 482323392, 1, 482330752,
32651, 1, 0, 0, 0, 17}
}
}
},
max_charset_id = 0,
safe_charsets = 0x0,
src_multibyte = 0,
dst_multibyte = 0,
head_ascii = 1857721536,
produced = 0,
produced_char = 17,
consumed = 60213476,
consumed_char = 0,
errors = 54267568,
error_positions = 0x11,
result = 8,
src_pos = 8,
src_pos_byte = 61065904,
src_chars = 13855264,
src_bytes = 61065904,
src_object = 24,
source = 0xd36800 "",
dst_pos = 140735051108048,
dst_pos_byte = 6116080,
dst_bytes = 8,
dst_object = 8,
destination = 0x3a3cab1 "",
chars_at_source = 61065904,
charbuf = 0x7fff6eba8f00,
charbuf_size = 6115940,
charbuf_used = 0,
annotated = 1857720144,
carryover =
"\377\177\000\000\b\000\000\000\000\000\000\000\b\000\000\000\000\000\000\000\261ʣ\003\000\000\000\000\060\217\272n\377\177\000\000\241P]\000\000\000\000\000\b\000\000\000\000\000\000\000\215\220(\001\000\000\000\000\b\000\000",
carryover_bytes = 0,
default_char = 383805920,
detector = 0x7fff6eba8f70,
decoder = 0x5d503d <make_string+80>,
encoder = 0x8
}
chars = 8
bytes = 8
#7 0x00000000004c7de8 in code_convert_string_norecord (string=61065905, coding_system=16236578, encodep=0)
at coding.c:9087
No locals.
#8 0x000000000059c26a in Fexpand_file_name (name=53466449, default_directory=53466449) at fileio.c:1025
tem = 61065905
nm = 0x7fff6eba8fa1 "/Work/src/emacs/"
newdir = 0x128908d "/home/jd"
target = 0x32fd551 ""
tlen = 12722722
pw = 0x59b270
length = -1
handler = 12722722
result = 5986502
handled_name = 54267658
multibyte = 1
hdir = 12550840
#9 0x000000000059bef5 in Fexpand_file_name (name=54577169, default_directory=53466449) at fileio.c:864
gcpro1 = {
next = 0x22215b0,
var = 0x121573df0,
nvars = 16430176
}
o = 0x3282d70 "~/Work/src/emacs/"
nm = 0x396c8e4 ":\001s.dulwich-users\001"
newdir = 0x0
target = 0x13e2e40 "\300oP\002"
tlen = 0
pw = 0x3bd7060
length = 140735051108752
handler = 12722722
result = 16430176
handled_name = 37635136
multibyte = 0
hdir = 6269230
#10 0x000000000059d274 in expand_and_dir_to_file (filename=54577169, defdir=53466449) at fileio.c:1775
absname = 140235360987616
#11 0x00000000005a06c8 in Ffile_modes (filename=54577169) at fileio.c:2948
absname = 54267632
st = {
st_dev = 0,
st_ino = 9,
st_nlink = 37635136,
st_mode = 12855584,
st_uid = 0,
st_gid = 0,
__pad0 = 0,
st_rdev = 9,
st_size = 33369752,
st_blksize = 0,
st_blocks = 0,
st_atim = {
tv_sec = 12550840,
tv_nsec = 140733193388090
},
st_mtim = {
tv_sec = 0,
tv_nsec = 0
},
st_ctim = {
tv_sec = 0,
tv_nsec = 54739889
},
__unused = {0, 0, 60213476}
}
handler = 54267658
#12 0x00000000005a68ae in auto_save_1 () at fileio.c:5237
st = {
st_dev = 54267632,
st_ino = 47,
st_nlink = 140735051109296,
st_mode = 6065659,
st_uid = 0,
st_gid = 0,
__pad0 = 0,
st_rdev = 26,
st_size = 0,
st_blksize = 0,
st_blocks = 0,
st_atim = {
tv_sec = 26,
tv_nsec = 54267632
},
st_mtim = {
tv_sec = 0,
tv_nsec = 0
},
st_ctim = {
tv_sec = 12550840,
tv_nsec = 1
},
__unused = {9, 0, 4294967305}
}
modes = -1
#13 0x00000000005f6591 in internal_condition_case (bfun=0x5a6821 <auto_save_1>, handlers=12722770,
hfun=0x5a660a <auto_save_error>) at eval.c:1333
val = 5779798
c = {
tag = 12722722,
val = 12722722,
next = 0x7fff6ebac560,
gcpro = 0x0,
jmp = {{
__jmpbuf = {140235360987616, 5462247361390403614, 12722722, 140735051123920, 0, 0, 5462247361560272926,
-5462003493071396834},
__mask_was_saved = 0,
__saved_mask = {
__val = {26, 54267632, 12550840, 140735051109440, 5986502, 54576721, 9748865, 18446744073709551615,
12550840, 140735051109552, 54994032, 0, 12722722, 140735051109536, 5779947, 16934016}
}
}},
backlist = 0x7fff6ebaa620,
handlerlist = 0x7fff6ebac530,
lisp_eval_depth = 7,
pdlcount = 25,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x7fff6ebaa230
}
h = {
handler = 12722770,
var = 12722722,
chosen_clause = 65024,
tag = 0x7fff6eba9390,
next = 0x7fff6ebac530
}
#14 0x00000000005a7090 in Fdo_auto_save (no_message=12722770, current_only=12722722) at fileio.c:5457
before_time = {
tv_sec = 1341240606,
tv_nsec = 306005793
}
after_time = {
tv_sec = 12722722,
tv_nsec = 12722722
}
old = 0x3b196a0
b = 0x3472470
tail = 57815078
buf = 54994037
hook = 16757090
auto_saved = 0
do_handled_files = 0
oquit = 12722722
stream = 0x27b7a30
count = 23
orig_minibuffer_auto_raise = 0
old_message_p = 0
gcpro1 = {
next = 0x7fff6eba9530,
var = 0x645b18,
nvars = 55296888
}
gcpro2 = {
next = 0x34bc37d,
var = 0x34bc37d,
nvars = 12722722
}
#15 0x000000000055930c in shut_down_emacs (sig=6, no_x=0, stuff=12722722) at emacs.c:2065
No locals.
#16 0x00000000005569be in fatal_error_signal (sig=6) at emacs.c:348
No locals.
#17 <signal handler called>
No symbol table info available.
#18 0x00007f8b1c8ad757 in kill () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#19 0x0000000000556b86 in abort () at emacs.c:390
No locals.
#20 0x00000000005d4b0b in compact_small_strings () at alloc.c:2245
nbytes = 48054944
b = 0x2efeb80
tb = 0x2efeb80
next = 0x7fff6eba9cb0
from = 0x2f00030
to = 0x2efec70
end = 0x2f00b70
tb_end = 0x2f00b7c
to_end = 0x2efec70
from_end = 0x2f00030
#21 0x00000000005d49e9 in sweep_strings () at alloc.c:2170
b = 0x0
next = 0x0
live_blocks = 0x3a3c730
#22 0x00000000005da311 in gc_sweep () at alloc.c:6219
No locals.
#23 0x00000000005d8f55 in Fgarbage_collect () at alloc.c:5568
bind = 0x0
stack_top_variable = 0 '\000'
i = 1552
message_p = 1
total = {9, 2, 12742824, 72057594047676800, -1, 9, 9, 32}
count = 22
t1 = {
tv_sec = 1341240606,
tv_nsec = 248426824
}
t2 = {
tv_sec = 140735051045136,
tv_nsec = 2203318239232
}
t3 = {
tv_sec = 60363808,
tv_nsec = 0
}
#24 0x00000000005f7d72 in eval_sub (form=9797358) at eval.c:2062
fun = 6265376
val = 140735051112848
original_fun = 107374182499
original_args = 61970080
funcar = 4294967312877
backtrace = {
next = 0x0,
function = 0x0,
args = 0x3b196a5,
nargs = 13855056,
debug_on_exit = 1
}
gcpro1 = {
next = 0xe5ae080,
var = 0x4ff1b51e,
nvars = 240836736
}
gcpro2 = {
next = 0x188,
var = 0x4e53c748,
nvars = 589228717
}
gcpro3 = {
next = 0x3e8,
var = 0x0,
nvars = 197049
}
#25 0x00000000005f4aa1 in Fprogn (args=9797342) at eval.c:363
val = 12722722
gcpro1 = {
next = 0xc22252,
var = 0xc22222,
nvars = 12722722
}
#26 0x00000000005fa8d3 in unbind_to (count=19, value=12722722) at eval.c:3247
this_binding = {
symbol = 12722722,
old_value = 9797342,
func = 0x5f4a78 <Fprogn>,
unused = 0
}
quitf = 12722722
gcpro1 = {
next = 0x6,
var = 0xf786e0,
nvars = 12722722
}
gcpro2 = {
next = 0x7fff6ebaa610,
var = 0xc41eb2,
nvars = 12722722
}
#27 0x0000000000642374 in exec_byte_code (bytestr=9796369, vector=9796405, maxdepth=28, args_template=12722722,
nargs=0, args=0x0) at bytecode.c:806
count = 17
op = 4
vectorp = 0x957b40
stack = {
pc = 0xb5d588 "\b*\207",
byte_string = 9796369,
byte_string_start = 0xb5d487 "Ɖ\030\031\307\n!\204M",
constants = 9796405,
next = 0x7fff6ebaa710
}
top = 0x7fff6ebaa1a0
result = 3
#28 0x00000000005fa2f1 in funcall_lambda (fun=9796325, nargs=0, arg_vector=0x7fff6ebaa6b0) at eval.c:3052
val = 231940956706
syms_left = 12722722
next = 12722722
lexenv = 12722722
count = 17
i = 0
optional = 0
rest = 0
#29 0x00000000005f9ad5 in Ffuncall (nargs=1, args=0x7fff6ebaa6a8) at eval.c:2869
fun = 9796325
original_fun = 16757522
funcar = 16757282
numargs = 0
lisp_numargs = 16357328
val = 140735051114256
backtrace = {
next = 0x7fff6ebaab00,
function = 0x7fff6ebaa6a8,
args = 0x7fff6ebaa6b0,
nargs = 0,
debug_on_exit = 0
}
internal_args = 0x7fff6ebaab90
i = 6149246
#30 0x00000000006422ca in exec_byte_code (bytestr=9796033, vector=9796069, maxdepth=12, args_template=12722722,
nargs=0, args=0x0) at bytecode.c:784
count = 17
op = 0
vectorp = 0x9579f0
stack = {
pc = 0xb5d5da "\n\203\027",
byte_string = 9796033,
byte_string_start = 0xb5d5cc "\b\203\f",
constants = 9796069,
next = 0x7fff6ebaac00
}
top = 0x7fff6ebaa6a8
result = 12722722
#31 0x00000000005fa2f1 in funcall_lambda (fun=9795989, nargs=0, arg_vector=0x7fff6ebaab90) at eval.c:3052
val = 6261744
syms_left = 12722722
next = 16819442
lexenv = 12722722
count = 17
i = 0
optional = 0
rest = 0
#32 0x00000000005f9ad5 in Ffuncall (nargs=1, args=0x7fff6ebaab88) at eval.c:2869
fun = 9795989
original_fun = 16757426
funcar = 197049
numargs = 0
lisp_numargs = 140735051115328
val = 12722722
backtrace = {
next = 0x7fff6ebaaff0,
function = 0x7fff6ebaab88,
args = 0x7fff6ebaab90,
nargs = 0,
debug_on_exit = 0
}
internal_args = 0x11
i = 6191839
#33 0x00000000006422ca in exec_byte_code (bytestr=9795145, vector=9795181, maxdepth=20, args_template=12722722,
nargs=0, args=0x0) at bytecode.c:784
count = 13
op = 0
vectorp = 0x957678
stack = {
pc = 0xb5d7a3 "\021\016\067\203\376",
byte_string = 9795145,
byte_string_start = 0xb5d6b2 "r\306 \203\n",
constants = 9795181,
next = 0x7fff6ebab0f0
}
top = 0x7fff6ebaab88
result = 21616688
#34 0x00000000005fa2f1 in funcall_lambda (fun=9795085, nargs=0, arg_vector=0x7fff6ebab080) at eval.c:3052
val = 2
syms_left = 12722722
next = 140735051117936
lexenv = 12722722
count = 13
i = 0
optional = 0
rest = 0
#35 0x00000000005f9ad5 in Ffuncall (nargs=1, args=0x7fff6ebab078) at eval.c:2869
fun = 9795085
original_fun = 16756994
funcar = 0
numargs = 0
lisp_numargs = 12722770
val = 61907201
backtrace = {
next = 0x7fff6ebab4e0,
function = 0x7fff6ebab078,
args = 0x7fff6ebab080,
nargs = 0,
debug_on_exit = 0
}
internal_args = 0x7fff6ebab570
i = 1
#36 0x00000000006422ca in exec_byte_code (bytestr=9794249, vector=9794285, maxdepth=16, args_template=12722722,
nargs=0, args=0x0) at bytecode.c:784
count = 11
op = 0
vectorp = 0x9572f8
stack = {
pc = 0xb5d993 "\210\n\205=",
byte_string = 9794249,
byte_string_start = 0xb5d964 "\304 \b\203\r",
constants = 9794285,
next = 0x7fff6ebab5f0
}
top = 0x7fff6ebab078
result = 12722722
#37 0x00000000005fa2f1 in funcall_lambda (fun=9794189, nargs=0, arg_vector=0x7fff6ebab570) at eval.c:3052
val = 12722722
syms_left = 12722722
next = 12892290
lexenv = 12722722
count = 10
i = 0
optional = 1
rest = 0
#38 0x00000000005f9ad5 in Ffuncall (nargs=1, args=0x7fff6ebab568) at eval.c:2869
fun = 9794189
original_fun = 16808274
funcar = 6268879
numargs = 0
lisp_numargs = 12799698
val = 12722722
backtrace = {
next = 0x7fff6ebab9e0,
function = 0x7fff6ebab568,
args = 0x7fff6ebab570,
nargs = 0,
debug_on_exit = 0
}
internal_args = 0x8
i = 12722722
#39 0x00000000006422ca in exec_byte_code (bytestr=51895233, vector=51889389, maxdepth=28, args_template=12722722,
nargs=0, args=0x0) at bytecode.c:784
count = 7
op = 0
vectorp = 0x317c4f8
stack = {
pc = 0x3110e16 "\210*\202:\001\016C\016?\n\330P\331\n!\341\342\036F\036G\036H\036I\036\027\036E\343\016J\344=\203", <incomplete sequence \314>,
byte_string = 51895233,
byte_string_start = 0x3110d78 "\b\204\b",
constants = 51889389,
next = 0x7fff6ebabad0
}
top = 0x7fff6ebab568
result = 140735051118768
#40 0x00000000005fa2f1 in funcall_lambda (fun=51890085, nargs=1, arg_vector=0x7fff6ebaba70) at eval.c:3052
val = 45295856
syms_left = 12722722
next = 16007986
lexenv = 12722722
count = 6
i = 1
optional = 1
rest = 0
#41 0x00000000005f9ad5 in Ffuncall (nargs=2, args=0x7fff6ebaba68) at eval.c:2869
fun = 51890085
original_fun = 51510962
funcar = 12839954
numargs = 1
lisp_numargs = 140735051119232
val = 12722722
backtrace = {
next = 0x7fff6ebabec0,
function = 0x7fff6ebaba68,
args = 0x7fff6ebaba70,
nargs = 1,
debug_on_exit = 0
}
internal_args = 0x7fff6ebabf98
i = 4
#42 0x00000000006422ca in exec_byte_code (bytestr=51913985, vector=52149917, maxdepth=8, args_template=12722722,
nargs=0, args=0x0) at bytecode.c:784
count = 6
op = 1
vectorp = 0x31bbea8
stack = {
pc = 0x316f3f3 "\207",
byte_string = 51913985,
byte_string_start = 0x316f3f0 "\301\b!\207",
constants = 52149917,
next = 0x0
}
top = 0x7fff6ebaba68
result = 16320128
#43 0x00000000005fa2f1 in funcall_lambda (fun=52169541, nargs=1, arg_vector=0x7fff6ebabf98) at eval.c:3052
val = 6150575
syms_left = 12722722
next = 16007986
lexenv = 12722722
count = 5
i = 1
optional = 1
rest = 0
#44 0x00000000005f9ad5 in Ffuncall (nargs=2, args=0x7fff6ebabf90) at eval.c:2869
fun = 52169541
original_fun = 41978434
funcar = 6268879
numargs = 1
lisp_numargs = 12722722
val = 0
backtrace = {
next = 0x7fff6ebac220,
function = 0x7fff6ebabf90,
args = 0x7fff6ebabf98,
nargs = 1,
debug_on_exit = 0
}
internal_args = 0x7fff6ebac2c8
i = 5614826
#45 0x00000000005f4198 in Fcall_interactively (function=41978434, record_flag=12722722, keys=12757941)
at callint.c:853
val = 0
args = 0x7fff6ebabf90
visargs = 0x7fff6ebabf70
specs = 51913857
filter_specs = 51913857
teml = 0
up_event = 12722722
enable = 12722722
speccount = 3
next_event = 1
prefix_arg = 12722722
string = 0x7fff6ebabfb0 "P"
tem = 0x6ae61c ""
varies = 0x7fff6ebabf50 ""
i = 2
nargs = 2
foo = 0
arg_from_tty = 0
gcpro1 = {
next = 0x2000,
var = 0x0,
nvars = 0
}
gcpro2 = {
next = 0x4ff1b51e,
var = 0xcff1680,
nvars = 140735051121472
}
gcpro3 = {
next = 0x0,
var = 0xf423d,
nvars = 2
}
gcpro4 = {
next = 0x0,
var = 0x3b9abe45,
nvars = 2
}
gcpro5 = {
next = 0x4ff1b51e,
var = 0x22afb70,
nvars = 140735051120736
}
key_count = 1
record_then_fail = 0
save_this_command = 41978434
save_last_command = 38159474
save_this_original_command = 41978434
save_real_this_command = 41978434
#46 0x00000000005f9933 in Ffuncall (nargs=4, args=0x7fff6ebac2c0) at eval.c:2827
fun = 12088045
original_fun = 12858482
funcar = 0
numargs = 3
lisp_numargs = 0
val = 0
backtrace = {
next = 0x0,
function = 0x7fff6ebac2c0,
args = 0x7fff6ebac2c8,
nargs = 3,
debug_on_exit = 0
}
internal_args = 0x7fff6ebac2c8
i = 0
#47 0x00000000005f9140 in call3 (fn=12858482, arg1=41978434, arg2=12722722, arg3=12722722) at eval.c:2620
ret_ungc_val = 0
gcpro1 = {
next = 0x7fff6ebac300,
var = 0x31c0b45,
nvars = 4
}
args = {12858482, 41978434, 12722722, 12722722}
#48 0x000000000056de84 in Fcommand_execute (cmd=41978434, record_flag=12722722, keys=12722722, special=12722722)
at keyboard.c:10342
final = 52169541
tem = 12722722
prefixarg = 12722722
#49 0x000000000055bcc4 in command_loop_1 () at keyboard.c:1573
scount = 2
cmd = 41978434
keybuf = {460, 12, 1, 0, 4289920, 140735051123920, 140735051121648, 6149332, 140235361010608, 12722722,
140735051121728, 6151609, 12722722, 12840946, 140234977181719, 4339075590, 12561392, 140735051122112, 0,
12840944, 140735051121872, 6269446, 39956934, 2, 12840946, 12722722, 0, 0, 140735051121872, 6268879}
i = 1
prev_modiff = 450
prev_buffer = 0x2b328f0
already_adjusted = 0
#50 0x00000000005f6591 in internal_condition_case (bfun=0x55b49a <command_loop_1>, handlers=12774498,
hfun=0x55ad50 <cmd_error>) at eval.c:1333
val = 1
c = {
tag = 12722722,
val = 12722722,
next = 0x7fff6ebac6e0,
gcpro = 0x0,
jmp = {{
__jmpbuf = {0, 5462247358766866462, 4289920, 140735051123920, 0, 0, 5462247358685077534,
-5462003493071396834},
__mask_was_saved = 0,
__saved_mask = {
__val = {12984740580638154782, 0, 4294967295, 0, 1, 9318880, 0, 0, 0, 0, 140235554753010, 1, 0, 0,
140235455874704, 0}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
h = {
handler = 12774498,
var = 12722722,
chosen_clause = 12774498,
tag = 0x7fff6ebac560,
next = 0x0
}
#51 0x000000000055b163 in command_loop_2 (ignore=12722722) at keyboard.c:1155
val = 0
#52 0x00000000005f5f0d in internal_catch (tag=12770370, func=0x55b13d <command_loop_2>, arg=12722722) at eval.c:1090
c = {
tag = 12770370,
val = 12722722,
next = 0x0,
gcpro = 0x0,
jmp = {{
__jmpbuf = {0, 5462247358582317086, 4289920, 140735051123920, 0, 0, 5462247358758477854,
-5462003491646906338},
__mask_was_saved = 0,
__saved_mask = {
__val = {12722722, 140735051122640, 6150575, 100, 4294967296, 352, 6653511, 12112448, 12749520,
140735051122736, 0, 140735051122640, 12960048, 0, 0, 4289920}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
#53 0x000000000055b114 in command_loop () at keyboard.c:1134
No locals.
#54 0x000000000055a88e in recursive_edit_1 () at keyboard.c:754
count = 1
val = 12722722
#55 0x000000000055aa35 in Frecursive_edit () at keyboard.c:818
count = 0
buffer = 12722722
#56 0x0000000000558989 in main (argc=1, argv=0x7fff6ebaccd8) at emacs.c:1693
dummy = 4246698
stack_bottom_variable = 0 '\000'
do_initial_setlocale = 1
skip_args = 0
rlim = {
rlim_cur = 8720000,
rlim_max = 18446744073709551615
}
no_loadup = 0
junk = 0x0
dname_arg = 0x0
ch_to_dir = 0x7f8b228ba840 "\200D\216\"\213\177"
Lisp Backtrace:
"basic-save-buffer-2" (0x6ebaa6b0)
"basic-save-buffer-1" (0x6ebaab90)
"basic-save-buffer" (0x6ebab080)
"save-buffer" (0x6ebab570)
"gnus-save-newsrc-file" (0x6ebaba70)
"gnus-group-save-newsrc" (0x6ebabf98)
"call-interactively" (0x6ebac2c8)
[-- Attachment #1.3: Type: text/plain, Size: 26 bytes --]
--
Julien
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Regular crashes with abort() in mark_maybe_pointer with trunk
2012-06-29 12:36 Regular crashes with abort() in mark_maybe_pointer with trunk Julien Danjou
2012-06-29 14:01 ` Dmitry Antipov
2012-06-30 13:52 ` Jim Meyering
@ 2012-07-17 10:47 ` Julien Danjou
2012-07-17 12:34 ` Dmitry Antipov
2 siblings, 1 reply; 10+ messages in thread
From: Julien Danjou @ 2012-07-17 10:47 UTC (permalink / raw)
To: emacs-devel; +Cc: Dmitry Antipov
On Fri, Jun 29 2012, Julien Danjou wrote:
> I know this because emacs-snapshot for Debian that I package worked
> correctly for the 20120622 version, and stopped working with this last
> commit. Something in between changed something causing this.
>
> If nobody has an idea, I can try to bisect but that will require
> sometimes since the crash is still random to me (not sure how to
> reproduce for sure).
I've finally spent time bisecting, and found what I think is the
culprit:
commit 172592b99f93e1bf03002a6769aa608e2776f44b
Author: Dmitry Antipov <dmantipov@yandex.ru>
Date: Wed Jun 27 19:46:48 2012 +0400
* alloc.c (allocate_string_data): Remove dead code.
* xsettings.c (XSETTINGS_FONT_NAME): Move under HAVE_XFT to
avoid GCC warning about unused macro.
I'm running with a recent trunk snapshot with this patch reverted, and
it seems to fix my problem so far.
--
Julien Danjou
;; Free Software hacker & freelance
;; http://julien.danjou.info
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Regular crashes with abort() in mark_maybe_pointer with trunk
2012-07-17 12:34 ` Dmitry Antipov
@ 2012-07-17 12:34 ` Julien Danjou
0 siblings, 0 replies; 10+ messages in thread
From: Julien Danjou @ 2012-07-17 12:34 UTC (permalink / raw)
To: Dmitry Antipov; +Cc: emacs-devel
On Tue, Jul 17 2012, Dmitry Antipov wrote:
> Argh... it becomes obvious after your bisection. Fixed in 109122.
> Thanks and sorry about such a stuff :-(.
No problem, thanks for fixing it. :)
--
Julien Danjou
-- Free Software hacker & freelance
-- http://julien.danjou.info
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Regular crashes with abort() in mark_maybe_pointer with trunk
2012-07-17 10:47 ` Julien Danjou
@ 2012-07-17 12:34 ` Dmitry Antipov
2012-07-17 12:34 ` Julien Danjou
0 siblings, 1 reply; 10+ messages in thread
From: Dmitry Antipov @ 2012-07-17 12:34 UTC (permalink / raw)
To: emacs-devel; +Cc: Julien Danjou
On 07/17/2012 02:47 PM, Julien Danjou wrote:
> I've finally spent time bisecting, and found what I think is the
> culprit:
>
> commit 172592b99f93e1bf03002a6769aa608e2776f44b
> Author: Dmitry Antipov <dmantipov@yandex.ru>
> Date: Wed Jun 27 19:46:48 2012 +0400
>
> * alloc.c (allocate_string_data): Remove dead code.
> * xsettings.c (XSETTINGS_FONT_NAME): Move under HAVE_XFT to
> avoid GCC warning about unused macro.
>
> I'm running with a recent trunk snapshot with this patch reverted, and
> it seems to fix my problem so far.
Argh... it becomes obvious after your bisection. Fixed in 109122.
Thanks and sorry about such a stuff :-(.
Dmitry
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2012-07-17 12:34 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-29 12:36 Regular crashes with abort() in mark_maybe_pointer with trunk Julien Danjou
2012-06-29 14:01 ` Dmitry Antipov
2012-06-30 20:17 ` Julien Danjou
2012-07-01 5:25 ` Dmitry Antipov
2012-07-02 14:49 ` Julien Danjou
2012-07-02 14:56 ` Julien Danjou
2012-06-30 13:52 ` Jim Meyering
2012-07-17 10:47 ` Julien Danjou
2012-07-17 12:34 ` Dmitry Antipov
2012-07-17 12:34 ` Julien Danjou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).