In XEmacs 21.2 (beta37) "Pan" [Lucid] (i686-pc-linux) of Mon Jan 8 2001 on
wibble
configured using `configure --pdump --rel-alloc --with-sound=none'
(This is actually cvs from ~18:00 GMT Jan 9. I had to go run watch the
eclipse).
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
xemacs -q -l gnuclient-crash.el
crashes 100% reproducibly at the first garbage collection after I
connect using
gnuclient -nw ellcc.c
(backtrace at end, I have this puppy in gdb).
gnuclient-crash.el:
--begin--
(display-time)
(gnuserv-start)
--end--
Important (maybe) datapoints:
If I run display-time using M-x display-time this doesn't happen.
If I run display-time from the gnuclient frame after connecting this
doesn't happen.
The crash is at alloc.c:3035,
3034 string = from_s_chars->string;
3035 assert (!(FREE_STRUCT_P (string)));
(gdb) p from_s_chars->string
$5 = (Lisp_String *) 0x656d6f68
(gdb) p *(from_s_chars->string)
Cannot access memory at address 0x656d6f68
(gdb) p from_s_chars
$6 = (struct string_chars *) 0x8549208
(gdb) p *from_s_chars
$7 = {
string = 0x656d6f68,
chars = "/"
}
from_s_chars->string is _always_ 0x656d6f68
from_s_chars->chars is _always_ "/"
Backtrace:
#0 compact_string_chars () at alloc.c:3035
#1 0x8083fe7 in gc_sweep () at alloc.c:3184
#2 0x808468b in garbage_collect_1 () at alloc.c:3504
#3 0x808489e in Fgarbage_collect () at alloc.c:3594
#4 0x80bda26 in Ffuncall (nargs=1, args=0xbfffed98) at eval.c:3528
#5 0x80951e0 in Fcall_interactively (function=1078273200, record_flag=1078355520,
keys=1078356624) at callint.c:528
#6 0x80bc20d in Fcommand_execute (cmd=1078273200, record_flag=1078355520,
keys=1078356624) at eval.c:2970
#7 0x80bda5d in Ffuncall (nargs=3, args=0xbfffef28) at eval.c:3528
#8 0x809172e in execute_optimized_program (program=0x8590408
"\b\030Á\bÂa«\004ê$\bÄk«\004Ū\034\b¨«\aÆÇ\b\"ª\022\b:«\r\b@¨«\bÆÇ\b@\"ª\002È!\026\t)\016\n«Ut«RË\016\t!\016\t\036\f\036\rÎ\016\tÏ\"\210\016\r<\016\020¬\023Ñ
Ò a«\aÓ pa«\006Ô \210ª\004Õ
\210Ö×!\036ØÙÆ\016\rA«\004Úª\002Û\016\fÜ\016\r!#\"\210Ö\016\035!\210ÞÙ!*\207Î\016\tÏ\"\207",
stack_depth=7, constants_data=0x404f81f4) at bytecode.c:746
#9 0x8091343 in funcall_compiled_function (fun=1079129196, nargs=1, args=0xbffff088) at
bytecode.c:518
#10 0x80bdbe7 in Ffuncall (nargs=2, args=0xbffff084) at eval.c:3563
#11 0x80967bf in Fcall_interactively (function=1078243704, record_flag=1078356624,
keys=1078356624) at callint.c:940
#12 0x80bc20d in Fcommand_execute (cmd=1078243704, record_flag=1078356624,
keys=1078356624) at eval.c:2970
#13 0x80f72a5 in execute_command_event (command_builder=0x8469b80, event=140048968) at
event-stream.c:3833
#14 0x80f7f0c in Fdispatch_event (event=139216760) at event-stream.c:4164
#15 0x809caf2 in Fcommand_loop_1 () at cmdloop.c:583
#16 0x809cd92 in command_loop_1 (dummy=1078356624) at cmdloop.c:494
#17 0x80c3c83 in condition_case_1 (handlers=1078356264, bfun=0x809cd54
<command_loop_1>, barg=1078356624, hfun=0x809ce04 <cmd_error>,
harg=1078356624) at eval.c:1651
#18 0x809cef7 in command_loop_2 (dummy=1078356624) at cmdloop.c:256
#19 0x80c3b4c in internal_catch (tag=1078184832, func=0x809cebc <command_loop_2>,
arg=1078356624, threw=0x0) at eval.c:1317
#20 0x809c366 in initial_command_loop (load_me=1078356624) at cmdloop.c:305
#21 0x80b589d in xemacs_21_2_b37_i686_pc_linux () at emacs.c:2253
#22 0x80b773b in main (argc=4, argv=0xbffff6a4, envp=0xbffff6b8) at emacs.c:2620
#23 0x40303e6c in __libc_start_main () from /lib/libc.so.6
Recent keystrokes:
m x e m a c s - b f6 e f6 C-n [ C R A S H ] SPC C-u
ESC x e e m a BS BS BS m a TAB c TAB BS v TAB RET C-a
C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f
C-f C-f C-f C-f g n u c l i e n t SPC & SPC d i s p
l a y - t i m e C-k C-n C-n C-n C-n C-n ESC x r e TAB
p o TAB r t TAB RET
Recent messages (most recent first):
Loading emacsbug...done
Loading emacsbug...
Making completion list...
Making completion list...
Loading bbdb-xemacs...done
Loading bbdb-xemacs...
Making completion list...done
Making completion list...
Loading bbdb-com...done
Loading bbdb-com...
--
The above are my opinions,
and my opinions only.