hi,
my xemacs 21.4.3 (-O2 -march=i686) is crashing in gnus when i want to
save some attachment (trough mouse menu->save). Unfortunately I can't
track this problem because after compiling with -g -O0 it doesn't want
to crash :-( It just displays:
Warning: XtRemoveGrab asked to remove a widget not on the list
I checked 21.4 cvs branch (release-21.4) but I didn't find any fixes
(moreover there is no changes at all comparing to .3 release, strange).
And I tried 21.5 (cvs version from today) and here problem occur, too
but now I have backtrace (below).
Patch fixing this *is welcome*.
Program received signal SIGSEGV, Segmentation fault.
0x40272ea2 in XtIsSubclass () from /usr/X11R6/lib/libXt.so.6
(gdb) bt
#0 0x40272ea2 in XtIsSubclass () from /usr/X11R6/lib/libXt.so.6
#1 0x40273e1c in XtDisplayOfObject () from /usr/X11R6/lib/libXt.so.6
#2 0x40145998 in XmImVaSetValues () from /usr/X11R6/lib/libXm.so.2
#3 0x40143061 in _XmImFreeShellData () from /usr/X11R6/lib/libXm.so.2
#4 0x4014bc5c in _XmRemoveGrab () from /usr/X11R6/lib/libXm.so.2
#5 0x40268c00 in _XtCreateHookObj () from /usr/X11R6/lib/libXt.so.6
#6 0x40268a1e in _XtCreateHookObj () from /usr/X11R6/lib/libXt.so.6
#7 0x40268f59 in _XtCreateHookObj () from /usr/X11R6/lib/libXt.so.6
#8 0x4026905d in _XtDoPhase2Destroy () from /usr/X11R6/lib/libXt.so.6
#9 0x40269209 in XtDestroyWidget () from /usr/X11R6/lib/libXt.so.6
#10 0x082005df in x_delete_frame (f=0x8bfab98) at frame-x.c:2692
#11 0x08147111 in delete_frame_internal (f=0x8bfab98, force=0,
called_from_delete_device=0,
from_io_error=0) at frame.c:1554
#12 0x0814767e in Fdelete_frame (frame=146779032, force=137290948) at frame.c:1703
#13 0x080c7a8c in Ffuncall (nargs=2, args=0xbfffe368) at eval.c:3427
#14 0x080964bc in execute_optimized_program (
program=0xbfffe3c4
"ÄÅ!\210Æ\n!\210Ç\t!\210Ç\b!\210\013«\005Ç\013!\210Ä\207¤Í\b\001",
stack_depth=2, constants_data=0x847f630) at bytecode.c:744
#15 0x0809999c in Fbyte_code (instructions=138307572, constants=138933792, stack_depth=5)
at bytecode.c:2392
#16 0x080c7019 in Feval (form=138913372) at eval.c:3229
#17 0x080cd6fe in Fprogn (args=138066980) at eval.c:775
#18 0x080ca5ac in unbind_to_hairy (count=29) at eval.c:4877
#19 0x08096571 in execute_optimized_program (
program=0x8bc61c8 "\0161Æa\032ÇÈ!\034\n\004ÉÊ!\031ÉÊ!\030Ë
\035Ì\211\e\036.Ì\0362Í\216Î\f!\210Ï\r!\210Ð\0364ÑÌÒ\r!ÓZ\"\210)\n«\eÔÕ!\210Ö\r!\023×\r!\026.Ø\013\f\"\210Ø\016.\t\"\210ª\nÙ\r!\023Ø\013\f\"\210\f\t\013\016.F\0262ØÚ\r!\b\"\210Û\036/\fq\210ÜÝ\016/\"\210\n«\n\tq\210ÜÝ\016/\"\210)Þßà\"\210\bq\210á\0163!\210\0160«\005\0160\0265âã!«\bä\0166å\b#\210æc\210çèéê\"!\210æc\210çèëì\"!\210í\0167\0163\0160\0168\0169\016:\0161"...,
stack_depth=9, constants_data=0x847f760) at bytecode.c:757
#20 0x080960d3 in funcall_compiled_function (fun=138912940, nargs=7, args=0xbfffe75c)
at bytecode.c:516
#21 0x080c7c37 in Ffuncall (nargs=8, args=0xbfffe758) at eval.c:3462
#22 0x080964bc in execute_optimized_program (
program=0xbfffe7d4 "Æ\r\f\013\n\t\b\016\a&\a\207xz\f\bt×z\b\001",
stack_depth=8,
constants_data=0x847f3a0) at bytecode.c:744
#23 0x0809999c in Fbyte_code (instructions=138821580, constants=138933136,
stack_depth=17)
#24 0x080c7019 in Feval (form=138854080) at eval.c:3229
#25 0x080c43f0 in run_condition_case_handlers (val=137923628, var=137290948) at
eval.c:775
#26 0x080c4867 in condition_case_3 (bodyform=138860532, var=137290948,
handlers=138854500)
at eval.c:1634
#27 0x08096f9f in execute_rare_opcode (stack_ptr=0xbfffeb10,
program_ptr=0x8bc5b48
"\207ÊËÌ\"\210Í\r\f\013\n\t\b\016\016&\a\207Te9",
opcode=Bcondition_case)
at bytecode.c:1269
#28 0x080962be in execute_optimized_program (
program=0x8bc5b40 "Æ
«\006ÇÈÉ\217\207ÊËÌ\"\210Í\r\f\013\n\t\b\016\016&\a\207Te9",
stack_depth=8, constants_data=0x8481440) at bytecode.c:654
#29 0x080960d3 in funcall_compiled_function (fun=138912212, nargs=7, args=0xbfffec6c)
at bytecode.c:516
#30 0x080c7c37 in Ffuncall (nargs=8, args=0xbfffec68) at eval.c:3462
#31 0x080964bc in execute_optimized_program (
program=0x8bc5b00
"Æ\013®\002Ç\n\f\t®\025\r«\nÈÉ\r\f\"Ê\"®\t\b\006È\016\fÊ\"\016\r\rË&\a\207ctively1",
stack_depth=8, constants_data=0x8481490) at bytecode.c:744
#32 0x080960d3 in funcall_compiled_function (fun=138912240, nargs=2, args=0xbfffedcc)
at bytecode.c:516
#33 0x080c7c37 in Ffuncall (nargs=3, args=0xbfffedc8) at eval.c:3462
#34 0x080964bc in execute_optimized_program (
program=0x8bc5aa0
"À\tA@Â\"\032ÀÃ\t8Ä\"\034Å\036\006\f«\005Ç\f!\024ÈÉÊ\f®\005\n®\002Ë\016\f®\003\016\r\"\"\026\006Î\016\006!\026\fÏ\016\006!«\nÐÑÒ\016\006\"!\006Ó\t\016\006\"+\207ubleA",
stack_depth=5, constants_data=0x8723b18) at bytecode.c:744
#35 0x080960d3 in funcall_compiled_function (fun=142458280, nargs=1, args=0xbfffef1c)
at bytecode.c:516
#36 0x080c7c37 in Ffuncall (nargs=2, args=0xbfffef18) at eval.c:3462
#37 0x080964bc in execute_optimized_program (
program=0x8bc5108 "À \210Á`Â\"\211\e\004Ä\013!)\207(", stack_depth=4,
constants_data=0x8a0cfd8) at bytecode.c:744
#38 0x080960d3 in funcall_compiled_function (fun=144661800, nargs=0, args=0xbffff098)
at bytecode.c:516
#39 0x080c7c37 in Ffuncall (nargs=1, args=0xbffff094) at eval.c:3462
#40 0x080cc833 in apply1 (fn=144661800, arg=137290948) at eval.c:4051
#41 0x0809a6fc in Fcall_interactively (function=144563892, record_flag=137290948,
keys=137290948)
at callint.c:465
#42 0x080c7aa1 in Ffuncall (nargs=2, args=0xbffff298) at eval.c:3427
#43 0x080964bc in execute_optimized_program (
program=0x8bc43a0
"ÀÁÂÃ\f\"B!\035Æ\016\a!q\210È\016\a!b\210É\r!Ê\r!!)\207", stack_depth=5,
constants_data=0x871cde8) at bytecode.c:744
#44 0x080960d3 in funcall_compiled_function (fun=142761592, nargs=1, args=0xbffff3f8)
at bytecode.c:516
#45 0x080c7c37 in Ffuncall (nargs=2, args=0xbffff3f4) at eval.c:3462
#46 0x0809c0ab in Fcall_interactively (function=143258940, record_flag=137290948,
keys=137290948)
at callint.c:1008
#47 0x080c63d6 in Fcommand_execute (cmd=143258940, record_flag=137290948, keys=137290948)
at eval.c:2868
#48 0x08117a9a in execute_command_event (command_builder=0x8601818, event=142268160)
at event-stream.c:3902
#49 0x081186ee in Fdispatch_event (event=142268160) at event-stream.c:4234
#50 0x080a5c97 in Fcommand_loop_1 () at cmdloop.c:583
#51 0x080a5f2a in command_loop_1 (dummy=137290948) at cmdloop.c:494
#52 0x080cd417 in condition_case_1 (handlers=137291044, bfun=0x80a5eec
<command_loop_1>,
barg=137290948, hfun=0x80a5fa0 <cmd_error>, harg=137290948) at eval.c:1651
#53 0x080a609f in command_loop_2 (dummy=137290948) at cmdloop.c:256
#54 0x080cd2dc in internal_catch (tag=137367524, func=0x80a605c <command_loop_2>,
arg=137290948,
threw=0x0) at eval.c:1317
#55 0x080a5507 in initial_command_loop (load_me=137290948) at cmdloop.c:305
#56 0x080c01a3 in xemacs_21_5_b1_i686_pld_linux () at emacs.c:2348
#57 0x080c2269 in main () at emacs.c:2777
#58 0x404197d1 in __libc_start_main () from /lib/libc.so.6
ps. binary data in backtrace seems be messed by mouse copy&&paste from
non-console... weird.
--
Arkadiusz Miśkiewicz, AM2-6BONE, 1024/3DB19BBD
http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/
IPv6 ready PLD/Linux at
http://www.pld.org.pl/