I was reading a mail message in GNUS that had attachments. I clicked
on one expecting to save the application/octet-stream attachment. The
file-save dialog box popped up, but never finished drawing. Then
xemacs crashed.
The C backtrace with a partial lisp backtrace (the rest is in memory
somewhere waiting to be flushed out).
Ray
C backtrace:
(gdb) bt
#0 0xfec18790 in _libc_kill () from /usr/lib/libc.so.1
#1 0x92d0c in fatal_error_signal (sig=11) at /apps/public/XEmacs/src/xemacs-21.5.1/src/emacs.c:535
#2 <signal handler called>
#3 0x1b739c in pixel_to_glyph_translation (f=0x1252200, x_coord=164, y_coord=277, col=0xffbebc40, row=0xffbebc3c, obj_x=0xffbebc38, obj_y=0xffbebc34, w=0xffbebc30, bufpos=0xffbebc2c, closest=0xffbebc28, modeline_closest=0xffbebc24, obj1=0xffbebc20, obj2=0xffbebc1c) at /apps/public/XEmacs/src/xemacs-21.5.1/src/redisplay.c:8639
#4 0x134c84 in Fmouse_position (device=3311620) at /apps/public/XEmacs/src/xemacs-21.5.1/src/frame.c:1783
#5 0x9d4a8 in Ffuncall (nargs=-1, args=0xffbebd6c) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:3528
#6 0x62c30 in execute_optimized_program (program=0x9b0f52 "\211\031@\211\032«\tÄ\n!\ba?\003Å *\207\211K", stack_depth=0, constants_data=0x748610) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:746
#7 0x6277c in funcall_compiled_function (fun=3, nargs=1, args=0xffbebfec) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:518
#8 0x9d688 in Ffuncall (nargs=1, args=0xffbebfe8) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:3563
#9 0x9e358 in run_hook_with_args_in_buffer (buf=0x328804, nargs=2, args=0xffbebfe8, cond=RUN_HOOKS_TO_COMPLETION) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:4020
#10 0x9e488 in va_run_hook_with_args (hook_var=3129344, nargs=1) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:4033
#11 0x206a54 in emacs_Xt_handle_magic_event (emacs_event=0xebe100) at /apps/public/XEmacs/src/xemacs-21.5.1/src/event-Xt.c:1910
#12 0xfb944 in execute_internal_event (event=15458540) at /apps/public/XEmacs/src/xemacs-21.5.1/src/event-stream.c:514
#13 0xfe4b0 in Fdispatch_event (event=15458540) at /apps/public/XEmacs/src/xemacs-21.5.1/src/event-stream.c:4251
#14 0x74a9c in Fcommand_loop_1 () at /apps/public/XEmacs/src/xemacs-21.5.1/src/cmdloop.c:583
#15 0x74d34 in command_loop_1 (dummy=6842496) at /apps/public/XEmacs/src/xemacs-21.5.1/src/cmdloop.c:494
#16 0x990f8 in condition_case_1 (handlers=3080204, bfun=0x74ce8 <command_loop_1>, barg=3311620, hfun=0x74d94 <cmd_error>, harg=3311620) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:1651
#17 0x74ccc in call_command_loop (catch_errors=3080204) at /apps/public/XEmacs/src/xemacs-21.5.1/src/cmdloop.c:256
#18 0x190858 in Fread_minibuffer_internal (prompt=9689140) at /apps/public/XEmacs/src/xemacs-21.5.1/src/minibuf.c:188
#19 0x9d4a8 in Ffuncall (nargs=1, args=0xffbec56c) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:3528
#20 0x62c30 in execute_optimized_program (program=0xffbec613 "\207", stack_depth=1, constants_data=0x4eab10) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:746
#21 0x67104 in Fbyte_code (instructions=-4274688, constants=5155584, stack_depth=5) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:2405
#22 0x9ccc0 in Feval (form=5171972) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:3331
#23 0xa1f98 in internal_catch (tag=3414380, func=0x9c4b4 <Feval>, arg=5171972, threw=0x0) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:1317
#24 0x63bfc in execute_rare_opcode (stack_ptr=0xffbec93c, program_ptr=0x9b2161 "Þa«\bóôí\"\202\225", opcode=Bcatch) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:1252
#25 0x629c4 in execute_optimized_program (program=0x9b2161 "Þa«\bóôí\"\202\225", stack_depth=141, constants_data=0x4e3410) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:656
#26 0x6277c in funcall_compiled_function (fun=6, nargs=7, args=0xffbecb20) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:518
#27 0x9d688 in Ffuncall (nargs=7, args=0xffbecb1c) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:3563
#28 0x62c30 in execute_optimized_program (program=0xeaa75d ",\211\031¬\006ÌÍ!ª\027\n«\021\t\f:«\005\f@ª\002\fk«\004\nª\004Î\t!*\207/\a\n¥\200", stack_depth=7, constants_data=0x4ed010) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:746
#29 0x6277c in funcall_compiled_function (fun=9, nargs=7, args=0xffbecd08) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:518
#30 0x9d688 in Ffuncall (nargs=7, args=0xffbecd04) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:3563
#31 0x62c30 in execute_optimized_program (program=0x10bdeda ".\t\207", stack_depth=7, constants_data=0x4eb510) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:746
#32 0x6277c in funcall_compiled_function (fun=9, nargs=7, args=0xffbecef0) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:518
#33 0x9d688 in Ffuncall (nargs=7, args=0xffbeceec) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:3563
#34 0x62c30 in execute_optimized_program (program=0xffbecfa3 "\207", stack_depth=7, constants_data=0x4ea610) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:746
#35 0x67104 in Fbyte_code (instructions=-4272232, constants=5154304, stack_depth=17) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:2405
#36 0x9ccc0 in Feval (form=4945172) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:3331
#37 0x976d0 in Fprogn (args=4945544) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:775
#38 0x992b4 in run_condition_case_handlers (val=19176160, var=3311620) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:1687
#39 0x99098 in condition_case_1 (handlers=3080204, bfun=0x9c4b4 <Feval>, barg=5103096, hfun=0x99160 <run_condition_case_handlers>, harg=3311620) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:1634
#40 0x9952c in condition_case_3 (bodyform=5103096, var=3311620, handlers=4945616) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:1729
#41 0x63c54 in execute_rare_opcode (stack_ptr=0xffbed42c, program_ptr=0x902858 "\207ÊËÌ\"\210Í\r\f\013\n\t\b\016\016&\a\207\210\004", opcode=Bcondition_case) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:1271
#42 0x629c4 in execute_optimized_program (program=0x902858 "\207ÊËÌ\"\210Í\r\f\013\n\t\b\016\016&\a\207\210\004", stack_depth=143, constants_data=0x4edf10) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:656
#43 0x6277c in funcall_compiled_function (fun=8, nargs=7, args=0xffbed618) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:518
#44 0x9d688 in Ffuncall (nargs=7, args=0xffbed614) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:3563
#45 0x62c30 in execute_optimized_program (program=0x9076b4 "\2072\210\004", stack_depth=7, constants_data=0x4ede90) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:746
#46 0x6277c in funcall_compiled_function (fun=8, nargs=2, args=0xffbed800) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:518
#47 0x9d688 in Ffuncall (nargs=2, args=0xffbed7fc) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:3563
#48 0x62c30 in execute_optimized_program (program=0x11af1b7 "\025Î\r!\021Ï\r!«\tÐÑÒ\r\"!\005Ó\013\r\"+\207\024", stack_depth=2, constants_data=0x8f8f90) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:746
#49 0x6277c in funcall_compiled_function (fun=5, nargs=1, args=0xffbed9d8) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:518
#50 0x9d688 in Ffuncall (nargs=1, args=0xffbed9d4) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:3563
#51 0x62c30 in execute_optimized_program (program=0xf1488f ",\202ð", stack_depth=1, constants_data=0x757010) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:746
#52 0x6277c in funcall_compiled_function (fun=13, nargs=2, args=0xffbedbd0) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:518
#53 0x9d688 in Ffuncall (nargs=2, args=0xffbedbcc) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:3563
#54 0x62c30 in execute_optimized_program (program=0xf57168 "*)\207Ø", stack_depth=2, constants_data=0x76d410) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:746
#55 0x6277c in funcall_compiled_function (fun=5, nargs=1, args=0xffbedda8) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:518
#56 0x9d688 in Ffuncall (nargs=1, args=0xffbedda4) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:3563
#57 0x62c30 in execute_optimized_program (program=0x10bd559 "\210eb\210Éy\210`d}\210ÑÈ\013Ò\t@!«\004ɪ\004\tGS\r\211\035@;«\005\r@ª\005É\r8(a))$).xn--\a\fb\210-e7a Éy\210`|\210Ô\r\013Ï\r!C#\210\fb\210+\207", stack_depth=1, constants_data=0xd48190) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:746
#58 0x6277c in funcall_compiled_function (fun=7, nargs=1, args=0xffbedf88) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:518
#59 0x9d688 in Ffuncall (nargs=1, args=0xffbedf84) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:3563
#60 0x62c30 in execute_optimized_program (program=0x10aeeae "+\207optionso", stack_depth=1, constants_data=0x73db50) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:746
#61 0x6277c in funcall_compiled_function (fun=3, nargs=1, args=0xffbee154) at /apps/public/XEmacs/src/xemacs-21.5.1/src/bytecode.c:518
#62 0x9d688 in Ffuncall (nargs=1, args=0xffbee150) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:3563
#63 0x6984c in Fcall_interactively (function=10857532, record_flag=3311620, keys=3311620) at /apps/public/XEmacs/src/xemacs-21.5.1/src/callint.c:1008
#64 0x9be58 in Fcommand_execute (cmd=10857532, record_flag=3311620, keys=3311620) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:2970
#65 0xfd790 in execute_command_event (command_builder=0x6baa00, event=16462872) at /apps/public/XEmacs/src/xemacs-21.5.1/src/event-stream.c:3914
#66 0xfe180 in Fdispatch_event (event=16462872) at /apps/public/XEmacs/src/xemacs-21.5.1/src/event-stream.c:4198
#67 0x74a9c in Fcommand_loop_1 () at /apps/public/XEmacs/src/xemacs-21.5.1/src/cmdloop.c:583
#68 0x74d34 in command_loop_1 (dummy=6842496) at /apps/public/XEmacs/src/xemacs-21.5.1/src/cmdloop.c:494
#69 0x990f8 in condition_case_1 (handlers=3080204, bfun=0x74ce8 <command_loop_1>, barg=3311620, hfun=0x74d94 <cmd_error>, harg=3311620) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:1651
#70 0x74ea4 in command_loop_2 (dummy=3311620) at /apps/public/XEmacs/src/xemacs-21.5.1/src/cmdloop.c:256
#71 0xa1f98 in internal_catch (tag=3391948, func=0x74e58 <command_loop_2>, arg=3311620, threw=0x0) at /apps/public/XEmacs/src/xemacs-21.5.1/src/eval.c:1317
#72 0x741b4 in initial_command_loop (load_me=3311620) at /apps/public/XEmacs/src/xemacs-21.5.1/src/cmdloop.c:305
#73 0x94994 in sort_args (argc=2538496, argv=0xffbee9a4) at /apps/public/XEmacs/src/xemacs-21.5.1/src/emacs.c:2346
Lisp backtrace follows:
mouse-position()
# bind (ignored)
balloon-help-mouse-leave-frame-hook(#<x-frame "GNUS Mail/News Reader" 0x43ca>)
# (condition-case ... . error)
# (unwind-protect ...)
read-minibuffer-internal("Save MIME part to: ")
byte-code("..." [standard-output standard-input prompt recursion-depth minibuffer-depth t read-minibuffer-internal] 2)
# (catch exit ...)
# bind (mouse-grabbed-buffer current-prefix-arg minibuffer-history-variable minibuffer-history-position minibuffer-scroll-window)
# (unwind-protect ...)
# bind (minibuffer-default _history_ oconfig mconfig frame buffer window oframe owindow dir default abbrev-table history readp keymap initial-contents prompt)
read-from-minibuffer("Save MIME part to: " "~/tmp/gnus-mime/26050_CTMsolutionA_corrected.zip" #<keymap read-file-name-map size 2 0xdca> nil file-name-history nil nil)
# bind (minibuffer-completion-table minibuffer-completion-predicate minibuffer-completion-confirm last-exact-completion insert completer initial-contents must-match default dir prompt history)
read-file-name-2(file-name-history "Save MIME part to: " "/home/unix/toy/tmp/gnus-mime/26050_CTMsolutionA_corrected.zip" nil nil nil read-file-name-internal)
# (unwind-protect ...)
# bind (user-data dirwin filewin frame butbuf dirbuf filebuf file-p completer initial-contents must-match default dir prompt history)
mouse-read-file-name-1(file-name-history "Save MIME part to: " "/home/unix/toy/tmp/gnus-mime/26050_CTMsolutionA_corrected.zip" nil nil nil read-file-name-internal)
byte-code("..." [initial-contents must-match default dir prompt history mouse-read-file-name-1 completer] 8)
# bind (completer initial-contents must-match default dir prompt history)
read-file-name-1(file-name-history "Save MIME part to: "
"/home/unix/toy/tmp/gnus-mime/26050_CTMsolutionA_corrected.zip" nil nil nil read-file-name-internal)
# bind (history initial-contents must-match default dir prompt)
read-file-name("Save MIME part to: " "/home/unix/toy/tmp/gnus-mime/26050_CTMsolutionA_corrected.zip")
# bind (file filename name handle)
mm-save-part((#<buffer " *mm*<5>"> ("application/octet-stream" (name . "26050_CTMsolutionA_corrected.zip")) base64 nil ("attachment" (filename . "26050_CTMsolutionA_corrected.zip")) nil nil nil))
# (unwind-protect ...)
# bind (mm non-viewer cur)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (temp-buffer default-enable-multibyte-characters outbuf method handle)
mm-display-external((#<buffer " *mm*<5>"> ("application/octet-stream" (name . "26050_CTMsolutionA_corrected.zip")) base64 nil ("attachment" (filename . "26050_CTMsolutionA_corrected.zip")) nil nil nil) mailcap-save-binary-file)
# bind (method type)
# (unwind-protect ...)
# bind (no-default handle)
mm-display-part((#<buffer " *mm*<5>"> ("application/octet-stream" (name . "26050_CTMsolutionA_corrected.zip")) base64 nil ("attachment" (filename . "26050_CTMsolutionA_corrected.zip")) nil nil nil)) # (unwind-protect ...)
# bind (win beg)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (window mail-parse-charset mail-parse-ignored-charsets id point buffer-read-only handle)
gnus-mm-display-part((#<buffer " *mm*<5>"> ("application/octet-stream" (name . "26050_CTMsolutionA_corrected.zip")) base64 nil ("attachment" (filename . "26050_CTMsolutionA_corrected.zip")) nil nil nil))
# bind (fun data pos event)
gnus-article-push-button(#<buttondown-event button2>)
# bind (command-debug-status)
call-interactively(gnus-article-push-button)
# (condition-case ... . error)