* bug#7116: 24.0.50; assertion failure using vc-annotate
@ 2010-09-27 11:41 Lawrence Mitchell
2010-10-08 9:08 ` Lawrence Mitchell
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Lawrence Mitchell @ 2010-09-27 11:41 UTC (permalink / raw)
To: 7116
When calling vc-annotate on a git-controlled file (this latter may not
be relevant), I can reproducibly hit an assertion failure in process.c.
The most recent change my emacs has is:
| Author: Katsumi Yamaoka <yamaoka@jpl.org>
| Date: Sun Sep 26 23:15:50 2010 +0000
| Update ChangeLogs.
This bug appears to occur reproducibly with:
CFLAGS=-ggdb3 -O2
but /does not/ occur with:
CFLAGS=-ggdb3 -O0
or
CFLAGS=-ggdb3 -O1
Steps to reproduce:
emacs -Q
M-x find-library RET desktop RET ;; Or some version controlled file
C-x v g (vc-annotate)
You may need to do this multiple times, however the problem is
reproducible for me.
We get the following backtrace. Note that I suspect something funky is
going on anyway, notice how there's an error in .gdbinit (when
attempting to access the system-type variable) due to undefined memory.
In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
of 2010-09-27 on yam
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
configured using `configure '-C' '--with-x-toolkit=gtk' '--enable-use-lisp-union-type' '--enable-checking' '--with-imagemagick''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_GB.utf8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
xbacktrace produces no output, bt full is reproduced below.
wence@yam: ~/Documents/src/emacs/src
$ gdb emacs
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/wence/Documents/src/emacs/src/emacs...done.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0.0
TERM = xterm
/home/wence/Documents/src/emacs/src/.gdbinit:1319: Error in sourced command file:
Cannot access memory at address 0x10b80a7
(gdb) r -Q
Starting program: /home/wence/Documents/src/emacs/src/emacs -Q
[Thread debugging using libthread_db enabled]
process.c:6666: Emacs fatal error: assertion failed: PROCESSP(proc)
Program received signal SIGABRT, Aborted.
0x0012d422 in __kernel_vsyscall ()
(gdb) bt full
#0 0x0012d422 in __kernel_vsyscall ()
No symbol table info available.
#1 0x010dc926 in kill () at ../sysdeps/unix/syscall-template.S:82
No locals.
#2 0x08181f9b in abort () at emacs.c:427
No locals.
#3 0x082007dd in die (msg=0x83584c0 "assertion failed: PROCESSP(proc)",
file=0x8356d70 "process.c", line=6666) at alloc.c:6130
No locals.
#4 0x08282def in status_notify (deleting_process=<value optimised out>)
at process.c:6666
symbol = <value optimised out>
proc = {
i = 1091255862,
s = {
val = 17514038,
type = Lisp_Symbol
},
u = {
val = 17514038,
type = Lisp_Symbol
}
}
buffer = {
i = 2702035814,
s = {
val = 17681254,
type = Lisp_Vectorlike
},
u = {
val = 17681254,
type = Lisp_Vectorlike
}
}
tail = <value optimised out>
msg = {
i = 2165706695,
s = {
val = 18223047,
type = Lisp_String
},
u = {
val = 18223047,
type = Lisp_String
}
}
#5 0x08288147 in wait_reading_process_output (time_limit=52, microsecs=0,
read_kbd=-1, do_display=1, wait_for_cell=..., wait_proc=0x0,
just_wait_proc=0) at process.c:4658
Atemp = {
fds_bits = {0 <repeats 32 times>}
}
Ctemp = {
fds_bits = {0 <repeats 32 times>}
}
timeout_reduced_for_timers = 1
channel = <value optimised out>
nfds = 141450032
Available = {
fds_bits = {0 <repeats 32 times>}
}
Writeok = {
fds_bits = {0 <repeats 32 times>}
}
check_write = -1592875457
check_delay = <value optimised out>
no_avail = <value optimised out>
xerrno = 0
proc = <value optimised out>
timeout = {
tv_sec = 0,
tv_usec = 0
}
end_time = {
tv_sec = 1285587116,
tv_usec = 339199
}
wait_channel = -1
got_some_input = 0
#6 0x08059e83 in sit_for (timeout=..., reading=1, do_display=1)
at dispnew.c:6107
sec = 145075600
usec = 6
#7 0x081980b1 in read_char (commandflag=1, nmaps=2, maps=0xbfffeb20,
prev_event=..., used_mouse_menu=0xbfffec24, end_time=0x0)
at keyboard.c:2811
tem0 = <value optimised out>
delay_level = <value optimised out>
buffer_size = <value optimised out>
c = {
i = 1091255862,
s = {
val = 17514038,
type = Lisp_Symbol
},
u = {
val = 17514038,
type = Lisp_Symbol
}
}
local_getcjmp = {{
__jmpbuf = {142136376, 1091255862, 1, -1073747240, 1860389464,
-1543665865},
__mask_was_saved = 0,
__saved_mask = {
__val = {3221219928, 136978940, 141450032, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1073873020, 2702035814, 1, 0, 0, 141450032,
1091258624, 3221219976, 136423554, 141450032, 40, 3221219664,
3221220012, 141111408, 1091335356, 3221219960, 136373719,
3221220028, 1}
}
}}
save_jump = {{
__jmpbuf = {0, 0, 0, 0, 0, 0},
__mask_was_saved = 0,
__saved_mask = {
__val = {0 <repeats 32 times>}
}
}}
key_already_recorded = 0
tem = <value optimised out>
save = <value optimised out>
previous_echo_area_message = {
i = 1091255862,
s = {
val = 17514038,
type = Lisp_Symbol
},
u = {
val = 17514038,
type = Lisp_Symbol
}
}
also_record = {
i = 1091255862,
s = {
val = 17514038,
type = Lisp_Symbol
},
u = {
val = 17514038,
type = Lisp_Symbol
}
}
reread = 0
polling_stopped_here = <value optimised out>
orig_kboard = 0x87d8fe0
#8 0x0819a6a6 in read_key_sequence (keybuf=<value optimised out>,
bufsize=<value optimised out>, prompt=..., dont_downcase_last=0,
can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9339
interrupted_kboard = 0x87d8fe0
key = {
i = 2702035814,
s = {
val = 17681254,
type = Lisp_Vectorlike
},
u = {
val = 17681254,
type = Lisp_Vectorlike
}
}
used_mouse_menu = 0
echo_local_start = 0
last_real_key_start = 134791424
keys_local_start = 0
from_string = {
i = 1091255862,
s = {
val = 17514038,
type = Lisp_Symbol
},
u = {
val = 17514038,
type = Lisp_Symbol
}
}
t = <value optimised out>
echo_start = 0
keys_start = 0
nmaps = <value optimised out>
nmaps_allocated = 2
defs = 0xbfffeb00
submaps = <value optimised out>
orig_local_map = {
i = 3239201946,
s = {
val = 17976474,
type = Lisp_Cons
},
u = {
val = 17976474,
type = Lisp_Cons
}
}
orig_keymap = {
i = 1091255862,
s = {
val = 17514038,
type = Lisp_Symbol
},
u = {
val = 17514038,
type = Lisp_Symbol
}
}
localized_local_map = 0
first_binding = <value optimised out>
first_unbound = <value optimised out>
mock_input = <value optimised out>
fkey = {
parent = {
i = 3239200585,
s = {
val = 17975113,
type = Lisp_Cons
},
u = {
val = 17975113,
type = Lisp_Cons
}
},
map = {
i = 3239200585,
s = {
val = 17975113,
type = Lisp_Cons
},
u = {
val = 17975113,
type = Lisp_Cons
}
},
start = 0,
end = 0
}
keytran = {
parent = {
i = 3238737884,
s = {
val = 17512412,
type = Lisp_Cons
},
u = {
val = 17512412,
type = Lisp_Cons
}
},
map = {
i = 3238737884,
s = {
val = 17512412,
type = Lisp_Cons
},
u = {
val = 17512412,
type = Lisp_Cons
}
},
start = 0,
end = 0
}
indec = {
parent = {
i = 3239200597,
s = {
val = 17975125,
type = Lisp_Cons
},
u = {
val = 17975125,
type = Lisp_Cons
}
},
map = {
i = 3239200597,
s = {
val = 17975125,
type = Lisp_Cons
},
u = {
val = 17975125,
type = Lisp_Cons
}
},
start = 0,
end = 0
}
shift_translated = 0
delayed_switch_frame = {
i = 1091255862,
s = {
val = 17514038,
type = Lisp_Symbol
},
u = {
val = 17514038,
type = Lisp_Symbol
}
}
original_uppercase = {
i = 1628129203,
s = {
val = 17516467,
type = Lisp_Misc
},
u = {
val = 17516467,
type = Lisp_Misc
}
}
original_uppercase_position = -1
starting_buffer = 0x86e5b30
fake_prefixed_keys = {
i = 1091255862,
s = {
val = 17514038,
type = Lisp_Symbol
},
u = {
val = 17514038,
type = Lisp_Symbol
}
}
#9 0x0819db9e in command_loop_1 () at keyboard.c:1618
cmd = <value optimised out>
keybuf = {{
i = 24,
s = {
val = 24,
type = Lisp_Int
},
u = {
val = 24,
type = Lisp_Int
}
}, {
i = 118,
s = {
val = 118,
type = Lisp_Int
},
u = {
val = 118,
type = Lisp_Int
}
}, {
i = 103,
s = {
val = 103,
type = Lisp_Int
},
u = {
val = 103,
type = Lisp_Int
}
}, {
i = 225011984,
s = {
val = 225011984,
type = Lisp_Int
},
u = {
val = 225011984,
type = Lisp_Int
}
}, {
i = 3221220608,
s = {
val = -4864,
type = Lisp_Vectorlike
},
u = {
val = 536866048,
type = Lisp_Vectorlike
}
}, {
i = 1149622,
s = {
val = 1149622,
type = Lisp_Int
},
u = {
val = 1149622,
type = Lisp_Int
}
}, {
i = 17582025,
s = {
val = 17582025,
type = Lisp_Int
},
u = {
val = 17582025,
type = Lisp_Int
}
}, {
i = 134547652,
s = {
val = 134547652,
type = Lisp_Int
},
u = {
val = 134547652,
type = Lisp_Int
}
}, {
i = 3221220732,
s = {
val = -4740,
type = Lisp_Vectorlike
},
u = {
val = 536866172,
type = Lisp_Vectorlike
}
}, {
i = 3238771063,
s = {
val = 17545591,
type = Lisp_Cons
},
u = {
val = 17545591,
type = Lisp_Cons
}
}, {
i = 3086813616,
s = {
val = -134411856,
type = Lisp_Vectorlike
},
u = {
val = 402459056,
type = Lisp_Vectorlike
}
}, {
i = 3221159938,
s = {
val = -65534,
type = Lisp_Vectorlike
},
u = {
val = 536805378,
type = Lisp_Vectorlike
}
}, {
i = 1173024,
s = {
val = 1173024,
type = Lisp_Int
},
u = {
val = 1173024,
type = Lisp_Int
}
}, {
i = 134545858,
s = {
val = 134545858,
type = Lisp_Int
},
u = {
val = 134545858,
type = Lisp_Int
}
}, {
i = 3086841184,
s = {
val = -134384288,
type = Lisp_Vectorlike
},
u = {
val = 402486624,
type = Lisp_Vectorlike
}
}, {
i = 1228788,
s = {
val = 1228788,
type = Lisp_Int
},
u = {
val = 1228788,
type = Lisp_Int
}
}, {
i = 17516932,
s = {
val = 17516932,
type = Lisp_Int
},
u = {
val = 17516932,
type = Lisp_Int
}
}, {
i = 38,
s = {
val = 38,
type = Lisp_Int
},
u = {
val = 38,
type = Lisp_Int
}
}, {
i = 0,
s = {
val = 0,
type = Lisp_Int
},
u = {
val = 0,
type = Lisp_Int
}
}, {
i = 3221220632,
s = {
val = -4840,
type = Lisp_Vectorlike
},
u = {
val = 536866072,
type = Lisp_Vectorlike
}
}, {
i = 3221220400,
s = {
val = -5072,
type = Lisp_Vectorlike
},
u = {
val = 536865840,
type = Lisp_Vectorlike
}
}, {
i = 0,
s = {
val = 0,
type = Lisp_Int
},
u = {
val = 0,
type = Lisp_Int
}
}, {
i = 143654912,
s = {
val = 143654912,
type = Lisp_Int
},
u = {
val = 143654912,
type = Lisp_Int
}
}, {
i = 1091255862,
s = {
val = 17514038,
type = Lisp_Symbol
},
u = {
val = 17514038,
type = Lisp_Symbol
}
}, {
i = 1091395998,
s = {
val = 17654174,
type = Lisp_Symbol
},
u = {
val = 17654174,
type = Lisp_Symbol
}
}, {
i = 1604252416,
s = {
val = -6360320,
type = Lisp_Symbol
},
u = {
val = 530510592,
type = Lisp_Symbol
}
}, {
i = 3221220744,
s = {
val = -4728,
type = Lisp_Vectorlike
},
u = {
val = 536866184,
type = Lisp_Vectorlike
}
}, {
i = 3221220648,
s = {
val = -4824,
type = Lisp_Vectorlike
},
u = {
val = 536866088,
type = Lisp_Vectorlike
}
}, {
i = 0,
s = {
val = 0,
type = Lisp_Int
},
u = {
val = 0,
type = Lisp_Int
}
}, {
i = 3221220732,
s = {
val = -4740,
type = Lisp_Vectorlike
},
u = {
val = 536866172,
type = Lisp_Vectorlike
}
}}
i = <value optimised out>
prev_modiff = 77
prev_buffer = 0x8b33dd8
#10 0x08222a2a in internal_condition_case (bfun=0x819d8e0 <command_loop_1>,
handlers=..., hfun=0x81923e0 <cmd_error>) at eval.c:1460
val = <value optimised out>
c = {
tag = {
i = 1091255862,
s = {
val = 17514038,
type = Lisp_Symbol
},
u = {
val = 17514038,
type = Lisp_Symbol
}
},
val = {
i = 1091255862,
s = {
val = 17514038,
type = Lisp_Symbol
},
u = {
val = 17514038,
type = Lisp_Symbol
}
},
next = 0xbfffeec8,
gcpro = 0x0,
jmp = {{
__jmpbuf = {-1073746292, -1073746244, -1073745940, -1073746328,
1860741720, -715019977},
__mask_was_saved = 0,
__saved_mask = {
__val = {0, 1, 1231096, 0, 0, 0, 0, 0, 0, 9814004, 0,
3221220976, 3221220904, 3221220916, 29, 1231096, 0,
3221221804, 17680571, 134546599, 29, 3221221028, 3221220888,
135932498, 3221220908, 3238789487, 0, 0, 0, 17582025,
17538560, 3086841272}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
h = {
handler = {
i = 1091259715,
s = {
val = 17517891,
type = Lisp_Symbol
},
u = {
val = 17517891,
type = Lisp_Symbol
}
},
var = {
i = 1091255862,
s = {
val = 17514038,
type = Lisp_Symbol
},
u = {
val = 17514038,
type = Lisp_Symbol
}
},
chosen_clause = {
i = 1,
s = {
val = 1,
type = Lisp_Int
},
u = {
val = 1,
type = Lisp_Int
}
},
tag = 0xbfffed84,
next = 0x0
}
#11 0x08191f52 in command_loop_2 (ignore=...) at keyboard.c:1338
val = {
i = 145075600,
s = {
val = 145075600,
type = Lisp_Int
},
u = {
val = 145075600,
type = Lisp_Int
}
}
#12 0x08222b24 in internal_catch (tag=..., func=0x8191f20 <command_loop_2>,
arg=...) at eval.c:1204
c = {
tag = {
i = 1091259474,
s = {
val = 17517650,
type = Lisp_Symbol
},
u = {
val = 17517650,
type = Lisp_Symbol
}
},
val = {
i = 1091255862,
s = {
val = 17514038,
type = Lisp_Symbol
},
u = {
val = 17514038,
type = Lisp_Symbol
}
},
next = 0x0,
gcpro = 0x0,
jmp = {{
__jmpbuf = {-1073745988, -1073745860, -1073745940, -1073746024,
1861167704, -714837705},
__mask_was_saved = 0,
__saved_mask = {
__val = {0, 0, 0, 0, 0, 0, 0, 0, 18632388, 3221221292, 0,
3221221292, 140003176, 4, 3221221804, 140016704, 3221221292,
3221221224, 136373647, 3221221292, 1, 0, 0, 0, 0, 0,
1091255862, 1091276805, 140279848, 3221221320, 136470225,
1091276805}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
#13 0x0819219f in command_loop () at keyboard.c:1317
No locals.
#14 0x081925f8 in recursive_edit_1 () at keyboard.c:940
val = <value optimised out>
#15 0x081927fa in Frecursive_edit () at keyboard.c:1002
buffer = <value optimised out>
#16 0x08183133 in main (argc=<value optimised out>, argv=<value optimised out>)
at emacs.c:1712
dummy = {
i = 3221222280,
s = {
val = -3192,
type = Lisp_Vectorlike
},
u = {
val = 536867720,
type = Lisp_Vectorlike
}
}
stack_bottom_variable = 8 '\b'
do_initial_setlocale = <value optimised out>
skip_args = 0
rlim = {
rlim_cur = 8388608,
rlim_max = 18446744073709551615
}
no_loadup = 0
junk = 0x0
dname_arg = 0x0
ch_to_dir = 0x1208ce0 ""
(gdb) xbacktrace
(gdb) quit
A debugging session is active.
Inferior 1 [process 13139] will be killed.
Quit anyway? (y or n) y
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#7116: 24.0.50; assertion failure using vc-annotate
2010-09-27 11:41 bug#7116: 24.0.50; assertion failure using vc-annotate Lawrence Mitchell
@ 2010-10-08 9:08 ` Lawrence Mitchell
2010-11-11 10:09 ` Lawrence Mitchell
2011-01-13 22:28 ` bug#7116: 24.0.50; Assertion failure in process.c Johan Bockgård
2 siblings, 0 replies; 4+ messages in thread
From: Lawrence Mitchell @ 2010-10-08 9:08 UTC (permalink / raw)
To: bug-gnu-emacs; +Cc: 7116-done
Lawrence Mitchell wrote:
> When calling vc-annotate on a git-controlled file (this latter may not
> be relevant), I can reproducibly hit an assertion failure in process.c.
I can no longer reproduce this problem in a more recent version
of Emacs (from 8th October 2010). So this bug can probably be
closed. I have no idea what changed to fix things though.
[...]
Lawrence
--
Lawrence Mitchell <wence@gmx.li>
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#7116: 24.0.50; assertion failure using vc-annotate
2010-09-27 11:41 bug#7116: 24.0.50; assertion failure using vc-annotate Lawrence Mitchell
2010-10-08 9:08 ` Lawrence Mitchell
@ 2010-11-11 10:09 ` Lawrence Mitchell
2011-01-13 22:28 ` bug#7116: 24.0.50; Assertion failure in process.c Johan Bockgård
2 siblings, 0 replies; 4+ messages in thread
From: Lawrence Mitchell @ 2010-11-11 10:09 UTC (permalink / raw)
To: 7116-done
As previous message indicated, this can be closed because I can
no longer reproduce.
--
Lawrence Mitchell <wence@gmx.li>
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#7116: 24.0.50; Assertion failure in process.c
2010-09-27 11:41 bug#7116: 24.0.50; assertion failure using vc-annotate Lawrence Mitchell
2010-10-08 9:08 ` Lawrence Mitchell
2010-11-11 10:09 ` Lawrence Mitchell
@ 2011-01-13 22:28 ` Johan Bockgård
2 siblings, 0 replies; 4+ messages in thread
From: Johan Bockgård @ 2011-01-13 22:28 UTC (permalink / raw)
To: 7116
I've seen this bug three times more recently when doing `M-x
man', `C-x v l', or `nothing in particular'.
GNU Emacs 24.0.50.12 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of
2010-12-16 on muon
#0 0x00007f1ee0480e87 in kill () at ../sysdeps/unix/syscall-template.S:82
#1 0x000000000056cc80 in fatal_error_signal (sig=<value optimized out>)
at emacs.c:397
#2 <signal handler called>
#3 0x00007f1ee0480e87 in kill () at ../sysdeps/unix/syscall-template.S:82
#4 0x000000000056ae45 in abort () at emacs.c:426
#5 0x00000000005e921a in die (msg=<value optimized out>,
file=<value optimized out>, line=<value optimized out>) at alloc.c:6130
#6 0x0000000000665071 in status_notify (deleting_process=0x0)
at process.c:6667
...
(gdb) f 6
#6 0x0000000000665071 in status_notify (deleting_process=0x0)
at process.c:6667
6667 p = XPROCESS (proc);
----------------
for (tail = Vprocess_alist; CONSP (tail); tail = XCDR (tail))
{
Lisp_Object symbol;
register struct Lisp_Process *p;
proc = Fcdr (XCAR (tail)); <<<<<<<< nil
p = XPROCESS (proc);
----------------
(gdb) p Qnil == proc
$1 = 1
(gdb) p Qnil == Vprocess_alist
$2 = 1
How can this happen?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-01-13 22:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-27 11:41 bug#7116: 24.0.50; assertion failure using vc-annotate Lawrence Mitchell
2010-10-08 9:08 ` Lawrence Mitchell
2010-11-11 10:09 ` Lawrence Mitchell
2011-01-13 22:28 ` bug#7116: 24.0.50; Assertion failure in process.c Johan Bockgård
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).