"Kirill 'Big K' Katsnelson" <kkm(a)dtmx.com> writes:
> Some time ago, I wrote...
> >Here are the steps to reproduce the crash:
> >
> >xemacs -q
> >
> >C-h f set C-h f n n let RET q
>
> Has anybody tried it? Did it crash? Under both unix & NT?
It crashes reliably under Linux. C backtrace of my debugging build
follows.
#0 0x402ae621 in kill () from /lib/libc.so.6
#1 0x8092eda in fatal_error_signal (sig=11)
at /home/hniksic/work/emacs/xemacs-20-hack/src/emacs.c:272
#2 0x402ae558 in sigaction () from /lib/libc.so.6
#3 0x814ec27 in output_gutter (f=0x85d0148, pos=TOP_GUTTER)
at /home/hniksic/work/emacs/xemacs-20-hack/src/gutter.c:227
#4 0x814f850 in update_frame_gutters (f=0x85d0148)
at /home/hniksic/work/emacs/xemacs-20-hack/src/gutter.c:356
#5 0x8194990 in redisplay_frame (f=0x85d0148, preemption_check=0)
at /home/hniksic/work/emacs/xemacs-20-hack/src/redisplay.c:6358
#6 0x8194e4f in redisplay_device (d=0x83c8e30, automatic=1)
at /home/hniksic/work/emacs/xemacs-20-hack/src/redisplay.c:6471
#7 0x819552e in redisplay_without_hooks ()
at /home/hniksic/work/emacs/xemacs-20-hack/src/redisplay.c:6560
#8 0x81957df in redisplay ()
at /home/hniksic/work/emacs/xemacs-20-hack/src/redisplay.c:6617
#9 0x80f371e in Fnext_event (event={gu = {type = Lisp_Type_Record,
val = 35257117}, s = {bits = 0, val = 70514234}, u = {bits = 0,
val = 70514234}, ui = 141028468, i = 141028468, v = 0x867ec74,
cv = 0x867ec74}, prompt={gu = {type = Lisp_Type_Record, val = 34361607},
s = {bits = 0, val = 68723214}, u = {bits = 0, val = 68723214},
ui = 137446428, i = 137446428, v = 0x831441c, cv = 0x831441c})
at /home/hniksic/work/emacs/xemacs-20-hack/src/event-stream.c:2237
#10 0x8075c9a in Fcommand_loop_1 ()
at /home/hniksic/work/emacs/xemacs-20-hack/src/cmdloop.c:566
#11 0x80759f7 in command_loop_1 (dummy={gu = {type = Lisp_Type_Record,
val = 34361607}, s = {bits = 0, val = 68723214}, u = {bits = 0,
val = 68723214}, ui = 137446428, i = 137446428, v = 0x831441c,
cv = 0x831441c})
at /home/hniksic/work/emacs/xemacs-20-hack/src/cmdloop.c:490
#12 0x809990c in condition_case_1 (handlers={gu = {type = Lisp_Type_Record,
val = 34361631}, s = {bits = 0, val = 68723262}, u = {bits = 0,
val = 68723262}, ui = 137446524, i = 137446524, v = 0x831447c,
cv = 0x831447c}, bfun=0x80759c8 <command_loop_1>, barg={gu = {
type = Lisp_Type_Record, val = 34361607}, s = {bits = 0,
val = 68723214}, u = {bits = 0, val = 68723214}, ui = 137446428,
i = 137446428, v = 0x831441c, cv = 0x831441c},
hfun=0x8075144 <cmd_error>, harg={gu = {type = Lisp_Type_Record,
val = 34361607}, s = {bits = 0, val = 68723214}, u = {bits = 0,
val = 68723214}, ui = 137446428, i = 137446428, v = 0x831441c,
cv = 0x831441c})
at /home/hniksic/work/emacs/xemacs-20-hack/src/eval.c:1629
#13 0x80752a2 in command_loop_3 ()
at /home/hniksic/work/emacs/xemacs-20-hack/src/cmdloop.c:252
#14 0x80752d3 in command_loop_2 (dummy={gu = {type = Lisp_Type_Record,
val = 34361607}, s = {bits = 0, val = 68723214}, u = {bits = 0,
val = 68723214}, ui = 137446428, i = 137446428, v = 0x831441c,
cv = 0x831441c})
at /home/hniksic/work/emacs/xemacs-20-hack/src/cmdloop.c:263
#15 0x80755b2 in call_command_loop (catch_errors={gu = {
type = Lisp_Type_Record, val = 34361613}, s = {bits = 0,
val = 68723226}, u = {bits = 0, val = 68723226}, ui = 137446452,
i = 137446452, v = 0x8314434, cv = 0x8314434})
at /home/hniksic/work/emacs/xemacs-20-hack/src/cmdloop.c:324
#16 0x8176e27 in Fread_minibuffer_internal (prompt={gu = {
type = Lisp_Type_Record, val = 34789415}, s = {bits = 0,
val = 69578830}, u = {bits = 0, val = 69578830}, ui = 139157660,
i = 139157660, v = 0x84b609c, cv = 0x84b609c})
at /home/hniksic/work/emacs/xemacs-20-hack/src/minibuf.c:188
#17 0x809d5d7 in Ffuncall (nargs=2, args=0xbfffe564)
at /home/hniksic/work/emacs/xemacs-20-hack/src/eval.c:3175
#18 0x8065a9c in execute_optimized_program (
program=0xbfffe690 "À Á V«\013Â\211\e\034Å\016\006!*\207Å\016\006!\207",
stack_depth=2, constants_data=0x848e2e0)
at /home/hniksic/work/emacs/xemacs-20-hack/src/bytecode.c:747
#19 0x806adc3 in Fbyte_code (instructions={gu = {type = Lisp_Type_Record,
val = 34748163}, s = {bits = 0, val = 69496326}, u = {bits = 0,
val = 69496326}, ui = 138992652, i = 138992652, v = 0x848dc0c,
cv = 0x848dc0c}, constants={gu = {type = Lisp_Type_Record,
val = 34748596}, s = {bits = 0, val = 69497192}, u = {bits = 0,
val = 69497192}, ui = 138994384, i = 138994384, v = 0x848e2d0,
cv = 0x848e2d0}, stack_depth={gu = {type = Lisp_Type_Int_Even, val = 1},
s = {bits = 1, val = 2}, u = {bits = 1, val = 2}, ui = 5, i = 5,
v = 0x5, cv = 0x5})
at /home/hniksic/work/emacs/xemacs-20-hack/src/bytecode.c:2401
#20 0x809cbf0 in Feval (form={gu = {type = Lisp_Type_Record, val = 34747825},
s = {bits = 0, val = 69495650}, u = {bits = 0, val = 69495650},
ui = 138991300, i = 138991300, v = 0x848d6c4, cv = 0x848d6c4})
at /home/hniksic/work/emacs/xemacs-20-hack/src/eval.c:2975
#21 0x8099438 in internal_catch (tag={gu = {type = Lisp_Type_Record,
val = 34383667}, s = {bits = 0, val = 68767334}, u = {bits = 0,
val = 68767334}, ui = 137534668, i = 137534668, v = 0x8329ccc,
cv = 0x8329ccc}, func=0x809c468 <Feval>, arg={gu = {
type = Lisp_Type_Record, val = 34747825}, s = {bits = 0,
val = 69495650}, u = {bits = 0, val = 69495650}, ui = 138991300,
i = 138991300, v = 0x848d6c4, cv = 0x848d6c4}, threw=0x0)
at /home/hniksic/work/emacs/xemacs-20-hack/src/eval.c:1304
#22 0x8067181 in execute_rare_opcode (stack_ptr=0xbfffea04,
program_ptr=0x86bb84e "èa«\f\201J", opcode=Bcatch)
at /home/hniksic/work/emacs/xemacs-20-hack/src/bytecode.c:1253
#23 0x8065794 in execute_optimized_program (
program=0x86bb6d8 "\b¬\022Á ÂV«\fÃ Ä a«\005ÅÆ!\210\016\a«\021\016\aÂV«\013Á \016\aY«\004È \210\016\t«\"\016\t9«\017Ê\016\t!¬\027ÅË\016\t\"\210ª\017Ê\016\t@!¬\bÅË\016\t@\"\210Ì «\tÍÎÏ\016\020!\"\210\016\021\036\022à \036\023Ô \036\025Ä \036\026Á Âa«\a×\016\026!ª\bØÙÚÁ \"!\036\eÜ\016\026!\211\036\035Ô a?\005Þ\016\035!\036\037Þ \036 \016\t\036!\016\"\036#ä\216å\016\e!q\210\016\022\026\021æç!\210è\026'æé!\210æê!\210æë!\210ì\026)í\026*\016.«\025æï"..., stack_depth=6,
constants_data=0x848e390)
at /home/hniksic/work/emacs/xemacs-20-hack/src/bytecode.c:657
#24 0x80654f2 in funcall_compiled_function (fun={gu = {
type = Lisp_Type_Record, val = 34737378}, s = {bits = 0,
val = 69474756}, u = {bits = 0, val = 69474756}, ui = 138949512,
i = 138949512, v = 0x8483388, cv = 0x8483388}, nargs=7, args=0xbfffec38)
at /home/hniksic/work/emacs/xemacs-20-hack/src/bytecode.c:516
#25 0x809d8bd in Ffuncall (nargs=8, args=0xbfffec34)
at /home/hniksic/work/emacs/xemacs-20-hack/src/eval.c:3210
#26 0x8065a9c in execute_optimized_program (
program=0x869e9c0 "\b\t\nÃa?\002ÃÄ\211\035\036\006\036\a\036\b\036\tÊ\016\013\016\f\n¬\005\016\rª\003\016\016Ä\016\017Ä\016\020&\a\211\025Ñ\230«\t\016\020«\005\016\020ª\002\r-\207", stack_depth=9, constants_data=0x848e5c8)
at /home/hniksic/work/emacs/xemacs-20-hack/src/bytecode.c:747
#27 0x80654f2 in funcall_compiled_function (fun={gu = {
type = Lisp_Type_Record, val = 34737427}, s = {bits = 0,
val = 69474854}, u = {bits = 0, val = 69474854}, ui = 138949708,
i = 138949708, v = 0x848344c, cv = 0x848344c}, nargs=7, args=0xbfffedf0)
at /home/hniksic/work/emacs/xemacs-20-hack/src/bytecode.c:516
#28 0x809d08b in Feval (form={gu = {type = Lisp_Type_Record, val = 34695652},
s = {bits = 0, val = 69391304}, u = {bits = 0, val = 69391304},
ui = 138782608, i = 138782608, v = 0x845a790, cv = 0x845a790})
at /home/hniksic/work/emacs/xemacs-20-hack/src/eval.c:3034
#29 0x8097ec8 in Fprogn (args={gu = {type = Lisp_Type_Record, val = 34785996},
s = {bits = 0, val = 69571992}, u = {bits = 0, val = 69571992},
ui = 139143984, i = 139143984, v = 0x84b2b30, cv = 0x84b2b30})
at /home/hniksic/work/emacs/xemacs-20-hack/src/eval.c:766
#30 0x80987fb in Flet (args={gu = {type = Lisp_Type_Record, val = 34695640},
s = {bits = 0, val = 69391280}, u = {bits = 0, val = 69391280},
ui = 138782560, i = 138782560, v = 0x845a760, cv = 0x845a760})
at /home/hniksic/work/emacs/xemacs-20-hack/src/eval.c:931
#31 0x809ca0d in Feval (form={gu = {type = Lisp_Type_Record, val = 34690996},
s = {bits = 0, val = 69381992}, u = {bits = 0, val = 69381992},
ui = 138763984, i = 138763984, v = 0x8455ed0, cv = 0x8455ed0})
at /home/hniksic/work/emacs/xemacs-20-hack/src/eval.c:2947
#32 0x80982e1 in FletX (args={gu = {type = Lisp_Type_Record, val = 34786005},
s = {bits = 0, val = 69572010}, u = {bits = 0, val = 69572010},
ui = 139144020, i = 139144020, v = 0x84b2b54, cv = 0x84b2b54})
at /home/hniksic/work/emacs/xemacs-20-hack/src/eval.c:857
#33 0x809ca0d in Feval (form={gu = {type = Lisp_Type_Record, val = 34709931},
s = {bits = 0, val = 69419862}, u = {bits = 0, val = 69419862},
ui = 138839724, i = 138839724, v = 0x84686ac, cv = 0x84686ac})
at /home/hniksic/work/emacs/xemacs-20-hack/src/eval.c:2947
#34 0x806b7ab in Fcall_interactively (function={gu = {type = Lisp_Type_Record,
val = 34776461}, s = {bits = 0, val = 69552922}, u = {bits = 0,
val = 69552922}, ui = 139105844, i = 139105844, v = 0x84a9634,
cv = 0x84a9634}, record_flag={gu = {type = Lisp_Type_Record,
val = 34361607}, s = {bits = 0, val = 68723214}, u = {bits = 0,
val = 68723214}, ui = 137446428, i = 137446428, v = 0x831441c,
cv = 0x831441c}, keys={gu = {type = Lisp_Type_Record, val = 34361607},
s = {bits = 0, val = 68723214}, u = {bits = 0, val = 68723214},
ui = 137446428, i = 137446428, v = 0x831441c, cv = 0x831441c})
at /home/hniksic/work/emacs/xemacs-20-hack/src/callint.c:336
#35 0x809bc3d in Fcommand_execute (cmd={gu = {type = Lisp_Type_Record,
val = 34776461}, s = {bits = 0, val = 69552922}, u = {bits = 0,
val = 69552922}, ui = 139105844, i = 139105844, v = 0x84a9634,
cv = 0x84a9634}, record={gu = {type = Lisp_Type_Record, val = 34361607},
s = {bits = 0, val = 68723214}, u = {bits = 0, val = 68723214},
ui = 137446428, i = 137446428, v = 0x831441c, cv = 0x831441c}, keys={
gu = {type = Lisp_Type_Record, val = 34361607}, s = {bits = 0,
val = 68723214}, u = {bits = 0, val = 68723214}, ui = 137446428,
i = 137446428, v = 0x831441c, cv = 0x831441c})
at /home/hniksic/work/emacs/xemacs-20-hack/src/eval.c:2613
#36 0x80f7716 in execute_command_event (command_builder=0x83aca18, event={
gu = {type = Lisp_Type_Record, val = 35257175}, s = {bits = 0,
val = 70514350}, u = {bits = 0, val = 70514350}, ui = 141028700,
i = 141028700, v = 0x867ed5c, cv = 0x867ed5c})
at /home/hniksic/work/emacs/xemacs-20-hack/src/event-stream.c:4332
#37 0x80f7f6e in Fdispatch_event (event={gu = {type = Lisp_Type_Record,
val = 35257175}, s = {bits = 0, val = 70514350}, u = {bits = 0,
val = 70514350}, ui = 141028700, i = 141028700, v = 0x867ed5c,
cv = 0x867ed5c})
at /home/hniksic/work/emacs/xemacs-20-hack/src/event-stream.c:4643
#38 0x8075cb7 in Fcommand_loop_1 ()
at /home/hniksic/work/emacs/xemacs-20-hack/src/cmdloop.c:575
#39 0x80759f7 in command_loop_1 (dummy={gu = {type = Lisp_Type_Record,
val = 34361607}, s = {bits = 0, val = 68723214}, u = {bits = 0,
val = 68723214}, ui = 137446428, i = 137446428, v = 0x831441c,
cv = 0x831441c})
at /home/hniksic/work/emacs/xemacs-20-hack/src/cmdloop.c:490
#40 0x809990c in condition_case_1 (handlers={gu = {type = Lisp_Type_Record,
val = 34361631}, s = {bits = 0, val = 68723262}, u = {bits = 0,
val = 68723262}, ui = 137446524, i = 137446524, v = 0x831447c,
cv = 0x831447c}, bfun=0x80759c8 <command_loop_1>, barg={gu = {
type = Lisp_Type_Record, val = 34361607}, s = {bits = 0,
val = 68723214}, u = {bits = 0, val = 68723214}, ui = 137446428,
i = 137446428, v = 0x831441c, cv = 0x831441c},
hfun=0x8075144 <cmd_error>, harg={gu = {type = Lisp_Type_Record,
val = 34361607}, s = {bits = 0, val = 68723214}, u = {bits = 0,
val = 68723214}, ui = 137446428, i = 137446428, v = 0x831441c,
cv = 0x831441c})
at /home/hniksic/work/emacs/xemacs-20-hack/src/eval.c:1629
#41 0x80752a2 in command_loop_3 ()
at /home/hniksic/work/emacs/xemacs-20-hack/src/cmdloop.c:252
#42 0x80752d3 in command_loop_2 (dummy={gu = {type = Lisp_Type_Record,
val = 34361607}, s = {bits = 0, val = 68723214}, u = {bits = 0,
val = 68723214}, ui = 137446428, i = 137446428, v = 0x831441c,
cv = 0x831441c})
at /home/hniksic/work/emacs/xemacs-20-hack/src/cmdloop.c:263
#43 0x8099438 in internal_catch (tag={gu = {type = Lisp_Type_Record,
val = 34380143}, s = {bits = 0, val = 68760286}, u = {bits = 0,
val = 68760286}, ui = 137520572, i = 137520572, v = 0x83265bc,
cv = 0x83265bc}, func=0x80752c4 <command_loop_2>, arg={gu = {
type = Lisp_Type_Record, val = 34361607}, s = {bits = 0,
val = 68723214}, u = {bits = 0, val = 68723214}, ui = 137446428,
i = 137446428, v = 0x831441c, cv = 0x831441c}, threw=0x0)
at /home/hniksic/work/emacs/xemacs-20-hack/src/eval.c:1304
#44 0x8075551 in initial_command_loop (load_me={gu = {type = Lisp_Type_Record,
val = 34361607}, s = {bits = 0, val = 68723214}, u = {bits = 0,
val = 68723214}, ui = 137446428, i = 137446428, v = 0x831441c,
cv = 0x831441c})
at /home/hniksic/work/emacs/xemacs-20-hack/src/cmdloop.c:301
#45 0x8094301 in xemacs_21_2_b27_i686_pc_linux (argc=2, argv=0xbffff9d4,
envp=0xbffff9e0, restart=0)
at /home/hniksic/work/emacs/xemacs-20-hack/src/emacs.c:1893
#46 0x809500f in main (argc=2, argv=0xbffff9d4, envp=0xbffff9e0)
at /home/hniksic/work/emacs/xemacs-20-hack/src/emacs.c:2319