[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: crash when function-key-map is nil
From: |
Johan Bockgård |
Subject: |
Re: crash when function-key-map is nil |
Date: |
Tue, 25 Jul 2006 14:23:01 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> emacs -Q
>
> (setq function-key-map)
>
> (Do you evaluate that?)
Yes. Sorry.
> Press a key => Segfault.
>
> It does not fail for me.
Program received signal SIGSEGV, Segmentation fault.
0x0000000000526211 in Fget (symbol=0, propname=9476017) at fns.c:2004
(gdb) bt full
#0 0x0000000000526211 in Fget (symbol=0, propname=9476017) at fns.c:2004
No locals.
#1 0x00000000004b74d0 in parse_modifiers (symbol=1) at keyboard.c:6147
elements = 4294967296
#2 0x00000000004b77c0 in reorder_modifiers (symbol=1) at keyboard.c:6266
parsed = 9700501
#3 0x00000000004c368a in access_keymap (map=11100261, idx=1, t_ok=1,
noinherit=0, autoload=1) at keymap.c:527
val = 9411009
#4 0x00000000004bbcee in access_keymap_keyremap (map=11100261, key=1,
prompt=9410961, do_funcall=1) at keyboard.c:8374
next = 9410961
#5 0x00000000004bbf7f in keyremap_step (keybuf=0x7fffff818780, bufsize=30,
fkey=0x7fffff8184c0, input=1, doit=1, diff=0x7fffff81839c, prompt=9410961) at
keyboard.c:8429
next = 9410961
key = 1
#6 0x00000000004be35a in read_key_sequence (keybuf=0x7fffff818780, bufsize=30,
prompt=9410961, dont_downcase_last=0, can_return_switch_frame=1,
fix_current_buffer=1) at keyboard.c:9386
gcpro1 = {
next = 0x0,
var = 0x0,
nvars = 0
}
gcpro3 = {
next = 0x0,
var = 0x0,
nvars = 0
}
done = 0
gcpro2 = {
next = 0x0,
var = 0x0,
nvars = 0
}
diff = 0
key = 9686017
used_mouse_menu = 0
echo_local_start = 0
last_real_key_start = 0
keys_local_start = 0
local_first_binding = 0
from_string = 9410961
count = 2
t = 1
echo_start = 0
keys_start = 0
nmaps = 2
nmaps_allocated = 2
defs = (Lisp_Object * volatile) 0x7fffff818220
submaps = (Lisp_Object * volatile) 0x7fffff818240
orig_local_map = 12633525
orig_keymap = 9410961
localized_local_map = 0
first_binding = 1
first_unbound = 31
mock_input = 0
fkey = {
map = 9410961,
parent = 9410961,
start = 31,
end = 31
}
keytran = {
map = 11100261,
parent = 11100261,
start = 17,
end = 18
}
delayed_switch_frame = 9410961
original_uppercase = 0
original_uppercase_position = -1
dummyflag = 0
starting_buffer = (struct buffer *) 0x906600
fake_prefixed_keys = 9410961
gcpro1 = {
next = 0x0,
var = 0x0,
nvars = 0
}
#7 0x00000000004ae0da in command_loop_1 () at keyboard.c:1535
cmd = 10223825
lose = 0
nonundocount = 0
keybuf = {9686017, 40, 140737480067088, 0, 140737480069288, 0,
140737480067008, 5367980, 140737480067088, 5367886, 4294967296, 8115972,
14849504, 8115968, 0, 140737480069288, 140737480069016, 1, 140737480067296,
5365576, 46912518591648, 678102311572810528, 2, 678102312996145280, 0,
14849504, 46912521232444, 46912521212752, 46912521165136, 22}
i = 2
no_direct = 0
prev_modiff = 4
prev_buffer = (struct buffer *) 0x906600
was_locked = 0
already_adjusted = 0
#8 0x000000000051cd76 in internal_condition_case (bfun=0x4add64
<command_loop_1>, handlers=9494817, hfun=0x4ad7a0 <cmd_error>) at eval.c:1469
val = <value optimized out>
c = {
tag = 9410961,
val = 9410961,
next = 0x7fffff818a90,
gcpro = 0x0,
jmp = {{
__jmpbuf = {0, 140737480067696, 0, 140737480069288, 140737480069016, 1,
140737480067328, 5360889},
__mask_was_saved = 0,
__saved_mask = {
__val = {14119920, 14, 14, 140737480069288, 14848404, 46912521207496,
46912518592824, 2888375576, 6981624, 0, 140737480069288, 140737480069016, 1,
140737480068048, 46912496164043, 1}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
h = {
handler = 9494817,
var = 9410961,
chosen_clause = 9410961,
tag = 0x7fffff818920,
next = 0x0
}
#9 0x00000000004adbc3 in command_loop_2 () at keyboard.c:1326
val = 1
#10 0x000000000051c967 in internal_catch (tag=<value optimized out>,
func=0x4adba9 <command_loop_2>, arg=9410961) at eval.c:1210
c = {
tag = 9482849,
val = 9410961,
next = 0x0,
gcpro = 0x0,
jmp = {{
__jmpbuf = {0, 140737480068048, 0, 140737480069288, 140737480069016, 1,
140737480067712, 5359963},
__mask_was_saved = 0,
__saved_mask = {
__val = {0, 2888375576, 14119888, 18, 18, 140737480069288,
140737480067858, 1, 0, 46912499937712, 9747050, 9747048, 9753856, 9463296,
9753857, 9410961}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
#11 0x00000000004adb7d in command_loop () at keyboard.c:1305
No locals.
#12 0x00000000004ad4b5 in recursive_edit_1 () at keyboard.c:1003
count = 1
val = 0
#13 0x00000000004ad613 in Frecursive_edit () at keyboard.c:1064
count = 0
buffer = 9410961
#14 0x00000000004ac01f in main (argc=2, argv=0x7fffff8190a8) at emacs.c:1794
tz = 0x0
dummy = 0
stack_bottom_variable = 0 '\0'
do_initial_setlocale = <value optimized out>
skip_args = 0
rlim = {
rlim_cur = 8720000,
rlim_max = 18446744073709551615
}
no_loadup = 0
junk = 0x0
--
Johan Bockgård
- crash when function-key-map is nil, Johan Bockgård, 2006/07/24
- Re: crash when function-key-map is nil, Richard Stallman, 2006/07/24
- Re: crash when function-key-map is nil,
Johan Bockgård <=
- Re: crash when function-key-map is nil, Richard Stallman, 2006/07/25
- Re: crash when function-key-map is nil, Johan Bockgård, 2006/07/25
- Re: crash when function-key-map is nil, Richard Stallman, 2006/07/26
- Re: crash when function-key-map is nil, Johan Bockgård, 2006/07/26
- Re: crash when function-key-map is nil, Richard Stallman, 2006/07/27
- Re: crash when function-key-map is nil, Nick Roberts, 2006/07/28
- Re: crash when function-key-map is nil, Richard Stallman, 2006/07/31
- Re: crash when function-key-map is nil, Nick Roberts, 2006/07/31
- Re: crash when function-key-map is nil, Richard Stallman, 2006/07/31
- Re: crash when function-key-map is nil, Nick Roberts, 2006/07/31