>>>> "Martin" == Martin Buchholz
<martin(a)xemacs.org> writes:
Martin> Yes, always_gc set to 1 slows down XEmacs enormously. But if you have
Martin> a likely suspect, then that may be the best way to find a
Martin> _reproducible_ crash, at which point it can be dissected, analysed and
Martin> maybe even fixed. If you can't reproduce the crash, you never know
Martin> whether you've fixed it.
Success!!!! I've found a 100% reproducible case. This is with
21.2.37 on Solaris 2.7 compiled with gcc 2.95.2. This also includes
some of the UNGCPRO patches from Yoshiki Hayashi, posted yesterday.
I think it needs clearcase.el, but anyway, I load up a file in a
clearcase view. Insert a space, and I hit my breakpoint in lock_file.
Set always_gc = 1, and run finish, and I get the backtrace appended
below.
I need some guidance now. What should I be looking for now exactly?
I don't understand the GCPRO stuff.
Thanks for any help!
Ray
#0 0xfeb16870 in _libc_kill () from /usr/lib/libc.so.1
#1 0xfeab92a4 in abort () from /usr/lib/libc.so.1
#2 0xade50 in assert_failed (file=0x9ab <Address 0x9ab out of bounds>,
line=2542280,
expr=0x26cac8 "GCLI_lh != 0") at emacs.c:3192
#3 0x6bdd4 in mark_object (obj=0) at alloc.c:2475
#4 0x6da14 in garbage_collect_1 () at alloc.c:3444
#5 0xb63c0 in Ffuncall (nargs=3, args=0xffbed9f0) at eval.c:3477
#6 0xb78ac in call3 (fn=8533364, arg0=3440884, arg1=7969364, arg2=3323908) at
eval.c:4216
#7 0x131e8c in Fexpand_file_name (name=7969364, default_directory=3323908) at
fileio.c:395
#8 0xc5b78 in lock_file (fn=7969364) at filelock.c:325
#9 0x18be50 in prepare_to_modify_buffer (buf=0x915200, start=6712, end=6713, lockit=1)
at insdel.c:2330
#10 0x18d0cc in buffer_delete_range (buf=0x915200, from=6712, to=6713, flags=0) at
insdel.c:2675
#11 0x8e108 in Fdelete_char (count=3, killp=3323908) at cmds.c:258
#12 0xb65a0 in Ffuncall (nargs=2, args=0xffbede10) at eval.c:3528
#13 0x836e8 in Fcall_interactively (function=3408596, record_flag=3323908, keys=3323908)
at callint.c:940
#14 0xb4ef4 in Fcommand_execute (cmd=3408596, record_flag=3323908, keys=3323908) at
eval.c:2970
#15 0x115e44 in execute_command_event (command_builder=0x64e0c0, event=8534948)
at event-stream.c:3833
#16 0x116900 in Fdispatch_event (event=8534948) at event-stream.c:4116
#17 0x8d52c in Fcommand_loop_1 () at cmdloop.c:583
#18 0x8d2c4 in command_loop_1 (dummy=6757760) at cmdloop.c:494
#19 0xb156c in condition_case_1 (handlers=3324004, bfun=0x8d278 <command_loop_1>,
barg=3323908,
hfun=0x8d70c <cmd_error>, harg=3323908) at eval.c:1651
#20 0x8d81c in command_loop_2 (dummy=3323908) at cmdloop.c:256
#21 0xb10dc in internal_catch (tag=3408236, func=0x8d7d0 <command_loop_2>,
arg=3323908, threw=0x0)
at eval.c:1317
#22 0x8cbc0 in initial_command_loop (load_me=579536) at cmdloop.c:305
#23 0xacaa8 in xemacs_21_2_b37_sparc_sun_solaris2_7 (argc=1, argv=0xffbee784,
envp=0xffbee78c,
restart=0) at emacs.c:2231
#24 0xad2cc in main (argc=1, argv=0xffbee784, envp=0xffbee78c) at emacs.c:2660