This happened when I tried to expunge ~500 filed+deleted messages.
--
Glynn Clements <glynn(a)sensei.co.uk>
Lisp backtrace follows:
set-window-buffer(#<window on "linux-admin.mbox" 0x3062> #<buffer
"linux-admin.mbox">)
# bind (buf norecord bufname)
switch-to-buffer(#<buffer "linux-admin.mbox">)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (buffer)
vm-unbury-buffer(#<buffer "linux-admin.mbox">)
# (unwind-protect ...)
# bind (vm-sbe-buffer)
vm-preview-current-message()
# bind (buffer)
#<compiled-function (buffer) "...(73)" [symbol-name buffer vm-system-state
vm-garbage-collect-message vm-message-pointer nil vm-folder-type
vm-update-summary-and-mode-line vm-preview-current-message major-mode vm-virtual-mode
vm-message-order-changed vm-message-order-header-present
vm-clear-expunge-invalidated-undos] 2>(linux-admin\.mbox)
mapatoms(#<compiled-function (buffer) "...(73)" [symbol-name buffer
vm-system-state vm-garbage-collect-message vm-message-pointer nil vm-folder-type
vm-update-summary-and-mode-line vm-preview-current-message major-mode vm-virtual-mode
vm-message-order-changed vm-message-order-header-present
vm-clear-expunge-invalidated-undos] 2> [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
linux-admin\.mbox 0 0 0 0 0 0])
# (unwind-protect ...)
# bind (use-marks mp virtual buffers-altered prev virtual-messages shaddap)
#<compiled-function (&optional shaddap) "...(964)" [vm-mail-buffer
buffer-name error "Folder buffer has been killed." vm-check-for-killed-summary
vm-folder-read-only signal folder-read-only vm-update-summary-and-mode-line shaddap
message "Expunging..." last-command vm-next-command-uses-marks vm-message-list
major-mode vm-virtual-mode make-vector 29 0 nil virtual-messages prev buffers-altered
virtual mp use-marks 2 1 vm-thread-obarray vm-unthread-message 5 4 curr vms 9 6 intern
vm-set-numbering-redo-start-point t vm-set-summary-redo-start-point vm-message-pointer
vm-system-state vm-last-message-pointer inhibit-quit vm-set-deleted-flag-of expunged 3
vm-modification-counter vm-set-buffer-modified-p delq vm-numbering-redo-start-point
buffer-size vm-sr-max vm-sr-min vm-sr-clip make-marker (...) buffer-read-only vm-display
(vm-expunge-folder) (vm-expunge-folder) mapatoms #<compiled-function ...
"...(73)" ... 2> "Deleted messages expunged." "No messages are
flagged for deletion."] 7 "Expunge messages with the `deleted'
attribute.\nFor normal folders this means that the deleted messages are\nremoved from the
message list and the message contents are\nremoved from the folder buffer.\n\nFor virtual
folders, messages are removed from the virtual\nmessage list. If virtual mirroring is in
effect for the virtual\nfolder, the corresponding real messages are also removed from
real\nmessage lists and the message contents are removed from real folders.\n\nWhen
invoked on marked messages (via vm-next-command-uses-marks),\nonly messages both marked
and deleted are expunged, other messages are\nignored." nil>()
call-interactively(vm-expunge-folder)
# (condition-case ... . error)
# (catch top-level ...)
cerise:~$ gdb `which xemacs` core
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-pc-linux-gnu"...
Core was generated by `xemacs'.
Program terminated with signal 11, Segmentation fault.
find_solib: Can't read pathname for load map: Input/output error
#0 0x403a94b1 in ?? () from /lib/libc.so.6
(gdb) where
#0 0x403a94b1 in ?? () from /lib/libc.so.6
#1 0xbfffc868 in ?? ()
#2 0x80a8143 in beginning_of_line_p (b=0x87677a8, pt=2707606) at buffer.h:985
#3 0x8193640 in Fset_window_buffer (window={gu = {type = Lisp_Type_Record, val =
34888562}, s = {bits = 0, val = 69777124}, u = {bits = 0, val = 69777124}, ui = 139554248,
i = 139554248, v = 0x8516dc8, cv = 0x8516dc8}, buffer={gu = {type = Lisp_Type_Record, val
= 35495402}, s = {bits = 0, val = 70990804}, u = {bits = 0, val = 70990804}, ui =
141981608, i = 141981608, v = 0x87677a8, cv = 0x87677a8}) at window.c:3169
#4 0x80b16c1 in funcall_recording_as (recorded_as={gu = {type = Lisp_Type_Record, val =
34352949}, s = {bits = 0, val = 68705898}, u = {bits = 0, val = 68705898}, ui = 137411796,
i = 137411796, v = 0x830bcd4, cv = 0x830bcd4}, nargs=2, args=0xbfffcc40) at eval.c:3197
#5 0x80b6142 in Ffuncall (nargs=3, args=0xbfffcc40) at eval.c:3238
#6 0x808a832 in Fbyte_code (bytestr={gu = {type = Lisp_Type_Record, val = 34177971}, s =
{bits = 0, val = 68355942}, u = {bits = 0, val = 68355942}, ui = 136711884, i = 136711884,
v = 0x8260ecc, cv = 0x8260ecc}, vector={gu = {type = Lisp_Type_Record, val = 34178020}, s
= {bits = 0, val = 68356040}, u = {bits = 0, val = 68356040}, ui = 136712080, i =
136712080, v = 0x8260f90, cv = 0x8260f90}, maxdepth={gu = {type = Lisp_Type_Int_Even, val
= 2}, s = {bits = 1, val = 4}, u = {bits = 1, val = 4}, ui = 9, i = 9, v = 0x9, cv = 0x9})
at bytecode.c:416
#7 0x80b2505 in funcall_lambda (fun={gu = {type = Lisp_Type_Record, val = 34178072}, s =
{bits = 0, val = 68356144}, u = {bits = 0, val = 68356144}, ui = 136712288, i = 136712288,
v = 0x8261060, cv = 0x8261060}, nargs=1, arg_vector=0xbfffcf04) at eval.c:3599
#8 0x80b206a in apply_lambda (fun={gu = {type = Lisp_Type_Record, val = 34178072}, s =
{bits = 0, val = 68356144}, u = {bits = 0, val = 68356144}, ui = 136712288, i = 136712288,
v = 0x8261060, cv = 0x8261060}, numargs=1, unevalled_args={gu = {type = Lisp_Type_Record,
val = 34323113}, s = {bits = 0, val = 68646226}, u = {bits = 0, val = 68646226}, ui =
137292452, i = 137292452, v = 0x82eeaa4, cv = 0x82eeaa4}) at eval.c:3501
#9 0x80b1045 in Feval (form={gu = {type = Lisp_Type_Record, val = 35296652}, s = {bits =
0, val = 70593304}, u = {bits = 0, val = 70593304}, ui = 141186608, i = 141186608, v =
0x86a5630, cv = 0x86a5630}) at eval.c:3067
#10 0x80b61a1 in Fprogn (args={gu = {type = Lisp_Type_Record, val = 35296646}, s = {bits =
0, val = 70593292}, u = {bits = 0, val = 70593292}, ui = 141186584, i = 141186584, v =
0x86a5618, cv = 0x86a5618}) at eval.c:758
#11 0x808ace4 in Fbyte_code (bytestr={gu = {type = Lisp_Type_Record, val = 35330709}, s =
{bits = 0, val = 70661418}, u = {bits = 0, val = 70661418}, ui = 141322836, i = 141322836,
v = 0x86c6a54, cv = 0x86c6a54}, vector={gu = {type = Lisp_Type_Record, val = 35314168}, s
= {bits = 0, val = 70628336}, u = {bits = 0, val = 70628336}, ui = 141256672, i =
141256672, v = 0x86b67e0, cv = 0x86b67e0}, maxdepth={gu = {type = Lisp_Type_Int_Odd, val =
0}, s = {bits = 1, val = 1}, u = {bits = 1, val = 1}, ui = 3, i = 3, v = 0x3, cv = 0x3})
at bytecode.c:554
#12 0x80b2505 in funcall_lambda (fun={gu = {type = Lisp_Type_Record, val = 35412167}, s =
{bits = 0, val = 70824334}, u = {bits = 0, val = 70824334}, ui = 141648668, i = 141648668,
v = 0x871631c, cv = 0x871631c}, nargs=1, arg_vector=0xbfffd8d4) at eval.c:3599
#13 0x80b1824 in funcall_recording_as (recorded_as={gu = {type = Lisp_Type_Record, val =
35389328}, s = {bits = 0, val = 70778656}, u = {bits = 0, val = 70778656}, ui = 141557312,
i = 141557312, v = 0x86ffe40, cv = 0x86ffe40}, nargs=1, args=0xbfffd8d0) at eval.c:3200
#14 0x80b6142 in Ffuncall (nargs=2, args=0xbfffd8d0) at eval.c:3238
#15 0x808a832 in Fbyte_code (bytestr={gu = {type = Lisp_Type_Record, val = 35277973}, s =
{bits = 0, val = 70555946}, u = {bits = 0, val = 70555946}, ui = 141111892, i = 141111892,
v = 0x8693254, cv = 0x8693254}, vector={gu = {type = Lisp_Type_Record, val = 35446834}, s
= {bits = 0, val = 70893668}, u = {bits = 0, val = 70893668}, ui = 141787336, i =
141787336, v = 0x87380c8, cv = 0x87380c8}, maxdepth={gu = {type = Lisp_Type_Int_Odd, val =
2}, s = {bits = 1, val = 5}, u = {bits = 1, val = 5}, ui = 11, i = 11, v = 0xb, cv = 0xb})
at bytecode.c:416
#16 0x80b2505 in funcall_lambda (fun={gu = {type = Lisp_Type_Record, val = 35493775}, s =
{bits = 0, val = 70987550}, u = {bits = 0, val = 70987550}, ui = 141975100, i = 141975100,
v = 0x8765e3c, cv = 0x8765e3c}, nargs=0, arg_vector=0xbfffdd64) at eval.c:3599
#17 0x80b1824 in funcall_recording_as (recorded_as={gu = {type = Lisp_Type_Record, val =
35095925}, s = {bits = 0, val = 70191850}, u = {bits = 0, val = 70191850}, ui = 140383700,
i = 140383700, v = 0x85e15d4, cv = 0x85e15d4}, nargs=0, args=0xbfffdd60) at eval.c:3200
#18 0x80b6142 in Ffuncall (nargs=1, args=0xbfffdd60) at eval.c:3238
#19 0x808a832 in Fbyte_code (bytestr={gu = {type = Lisp_Type_Record, val = 35044581}, s =
{bits = 0, val = 70089162}, u = {bits = 0, val = 70089162}, ui = 140178324, i = 140178324,
v = 0x85af394, cv = 0x85af394}, vector={gu = {type = Lisp_Type_Record, val = 35597606}, s
= {bits = 0, val = 71195212}, u = {bits = 0, val = 71195212}, ui = 142390424, i =
142390424, v = 0x87cb498, cv = 0x87cb498}, maxdepth={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 bytecode.c:416
#20 0x80b2505 in funcall_lambda (fun={gu = {type = Lisp_Type_Record, val = 35519238}, s =
{bits = 0, val = 71038476}, u = {bits = 0, val = 71038476}, ui = 142076952, i = 142076952,
v = 0x877ec18, cv = 0x877ec18}, nargs=1, arg_vector=0xbfffe118) at eval.c:3599
#21 0x80b1824 in funcall_recording_as (recorded_as={gu = {type = Lisp_Type_Record, val =
35519238}, s = {bits = 0, val = 71038476}, u = {bits = 0, val = 71038476}, ui = 142076952,
i = 142076952, v = 0x877ec18, cv = 0x877ec18}, nargs=1, args=0xbfffe114) at eval.c:3200
#22 0x80b5395 in call1 (fn={gu = {type = Lisp_Type_Record, val = 35519238}, s = {bits = 0,
val = 71038476}, u = {bits = 0, val = 71038476}, ui = 142076952, i = 142076952, v =
0x877ec18, cv = 0x877ec18}, arg0={gu = {type = Lisp_Type_Record, val = 36305539}, s =
{bits = 0, val = 72611078}, u = {bits = 0, val = 72611078}, ui = 145222156, i = 145222156,
v = 0x8a7ea0c, cv = 0x8a7ea0c}) at eval.c:3238
#23 0x81685b1 in mapatoms_1 (sym={gu = {type = Lisp_Type_Record, val = 36305539}, s =
{bits = 0, val = 72611078}, u = {bits = 0, val = 72611078}, ui = 145222156, i = 145222156,
v = 0x8a7ea0c, cv = 0x8a7ea0c}, arg=0xbfffe170) at symbols.c:408
#24 0x81636f6 in Fmapatoms (function={gu = {type = Lisp_Type_Record, val = 35519238}, s =
{bits = 0, val = 71038476}, u = {bits = 0, val = 71038476}, ui = 142076952, i = 142076952,
v = 0x877ec18, cv = 0x877ec18}, obarray={gu = {type = Lisp_Type_Record, val = 36187232}, s
= {bits = 0, val = 72374464}, u = {bits = 0, val = 72374464}, ui = 144748928, i =
144748928, v = 0x8a0b180, cv = 0x8a0b180}) at symbols.c:395
#25 0x80b16c1 in funcall_recording_as (recorded_as={gu = {type = Lisp_Type_Record, val =
34352096}, s = {bits = 0, val = 68704192}, u = {bits = 0, val = 68704192}, ui = 137408384,
i = 137408384, v = 0x830af80, cv = 0x830af80}, nargs=2, args=0xbfffed70) at eval.c:3197
#26 0x80b6142 in Ffuncall (nargs=3, args=0xbfffed70) at eval.c:3238
#27 0x808a832 in Fbyte_code (bytestr={gu = {type = Lisp_Type_Record, val = 35017757}, s =
{bits = 0, val = 70035514}, u = {bits = 0, val = 70035514}, ui = 140071028, i = 140071028,
v = 0x8595074, cv = 0x8595074}, vector={gu = {type = Lisp_Type_Record, val = 35597626}, s
= {bits = 0, val = 71195252}, u = {bits = 0, val = 71195252}, ui = 142390504, i =
142390504, v = 0x87cb4e8, cv = 0x87cb4e8}, maxdepth={gu = {type = Lisp_Type_Int_Odd, val =
3}, s = {bits = 1, val = 7}, u = {bits = 1, val = 7}, ui = 15, i = 15, v = 0xf, cv = 0xf})
at bytecode.c:416
#28 0x80b2505 in funcall_lambda (fun={gu = {type = Lisp_Type_Record, val = 35519245}, s =
{bits = 0, val = 71038490}, u = {bits = 0, val = 71038490}, ui = 142076980, i = 142076980,
v = 0x877ec34, cv = 0x877ec34}, nargs=0, arg_vector=0xbffff160) at eval.c:3599
#29 0x80b1824 in funcall_recording_as (recorded_as={gu = {type = Lisp_Type_Record, val =
35519245}, s = {bits = 0, val = 71038490}, u = {bits = 0, val = 71038490}, ui = 142076980,
i = 142076980, v = 0x877ec34, cv = 0x877ec34}, nargs=0, args=0xbffff15c) at eval.c:3200
#30 0x80b5299 in apply1 (fn={gu = {type = Lisp_Type_Record, val = 35519245}, s = {bits =
0, val = 71038490}, u = {bits = 0, val = 71038490}, ui = 142076980, i = 142076980, v =
0x877ec34, cv = 0x877ec34}, arg={gu = {type = Lisp_Type_Record, val = 34323113}, s = {bits
= 0, val = 68646226}, u = {bits = 0, val = 68646226}, ui = 137292452, i = 137292452, v =
0x82eeaa4, cv = 0x82eeaa4}) at eval.c:3238
#31 0x808c82d in Fcall_interactively (function={gu = {type = Lisp_Type_Record, val =
35313823}, s = {bits = 0, val = 70627646}, u = {bits = 0, val = 70627646}, ui = 141255292,
i = 141255292, v = 0x86b627c, cv = 0x86b627c}, record_flag={gu = {type = Lisp_Type_Record,
val = 34323113}, s = {bits = 0, val = 68646226}, u = {bits = 0, val = 68646226}, ui =
137292452, i = 137292452, v = 0x82eeaa4, cv = 0x82eeaa4}, keys={gu = {type =
Lisp_Type_Record, val = 34323113}, s = {bits = 0, val = 68646226}, u = {bits = 0, val =
68646226}, ui = 137292452, i = 137292452, v = 0x82eeaa4, cv = 0x82eeaa4}) at
callint.c:397
#32 0x80affa3 in Fcommand_execute (cmd={gu = {type = Lisp_Type_Record, val = 35313823}, s
= {bits = 0, val = 70627646}, u = {bits = 0, val = 70627646}, ui = 141255292, i =
141255292, v = 0x86b627c, cv = 0x86b627c}, record={gu = {type = Lisp_Type_Record, val =
34323113}, s = {bits = 0, val = 68646226}, u = {bits = 0, val = 68646226}, ui = 137292452,
i = 137292452, v = 0x82eeaa4, cv = 0x82eeaa4}, keys={gu = {type = Lisp_Type_Record, val =
34323113}, s = {bits = 0, val = 68646226}, u = {bits = 0, val = 68646226}, ui = 137292452,
i = 137292452, v = 0x82eeaa4, cv = 0x82eeaa4}) at eval.c:2584
#33 0x80e705e in execute_command_event (command_builder=0x847a640, event={gu = {type =
Lisp_Type_Record, val = 35158356}, s = {bits = 0, val = 70316712}, u = {bits = 0, val =
70316712}, ui = 140633424, i = 140633424, v = 0x861e550, cv = 0x861e550}) at
event-stream.c:4346
#34 0x80e7690 in Fdispatch_event (event={gu = {type = Lisp_Type_Record, val = 35158356}, s
= {bits = 0, val = 70316712}, u = {bits = 0, val = 70316712}, ui = 140633424, i =
140633424, v = 0x861e550, cv = 0x861e550}) at event-stream.c:4685
#35 0x809491f in Fcommand_loop_1 () at cmdloop.c:579
#36 0x8094b19 in command_loop_1 (dummy={gu = {type = Lisp_Type_Record, val = 34323113}, s
= {bits = 0, val = 68646226}, u = {bits = 0, val = 68646226}, ui = 137292452, i =
137292452, v = 0x82eeaa4, cv = 0x82eeaa4}) at cmdloop.c:494
#37 0x80b5d5a in condition_case_1 (handlers={gu = {type = Lisp_Type_Record, val =
34323141}, s = {bits = 0, val = 68646282}, u = {bits = 0, val = 68646282}, ui = 137292564,
i = 137292564, v = 0x82eeb14, cv = 0x82eeb14}, bfun=0x8094af8 <command_loop_1>,
barg={gu = {type = Lisp_Type_Record, val = 34323113}, s = {bits = 0, val = 68646226}, u =
{bits = 0, val = 68646226}, ui = 137292452, i = 137292452, v = 0x82eeaa4, cv = 0x82eeaa4},
hfun=0x8094ba8 <cmd_error>, harg={gu = {type = Lisp_Type_Record, val = 34323113}, s
= {bits = 0, val = 68646226}, u = {bits = 0, val = 68646226}, ui = 137292452, i =
137292452, v = 0x82eeaa4, cv = 0x82eeaa4}) at eval.c:1653
#38 0x8094ccd in command_loop_2 (dummy={gu = {type = Lisp_Type_Record, val = 34323113}, s
= {bits = 0, val = 68646226}, u = {bits = 0, val = 68646226}, ui = 137292452, i =
137292452, v = 0x82eeaa4, cv = 0x82eeaa4}) at cmdloop.c:256
#39 0x80b5bf0 in internal_catch (tag={gu = {type = Lisp_Type_Record, val = 34341783}, s =
{bits = 0, val = 68683566}, u = {bits = 0, val = 68683566}, ui = 137367132, i = 137367132,
v = 0x8300e5c, cv = 0x8300e5c}, func=0x8094c90 <command_loop_2>, arg={gu = {type =
Lisp_Type_Record, val = 34323113}, s = {bits = 0, val = 68646226}, u = {bits = 0, val =
68646226}, ui = 137292452, i = 137292452, v = 0x82eeaa4, cv = 0x82eeaa4}, threw=0x0) at
eval.c:1328
#40 0x80945eb in initial_command_loop (load_me={gu = {type = Lisp_Type_Record, val =
34323113}, s = {bits = 0, val = 68646226}, u = {bits = 0, val = 68646226}, ui = 137292452,
i = 137292452, v = 0x82eeaa4, cv = 0x82eeaa4}) at cmdloop.c:305
#41 0x80abded in xemacs_21_0_i586_pc_linux (argc=1, argv=0xbffff8e0, envp=0xbffff8e8,
restart=0) at emacs.c:1705
#42 0x80ad6e5 in main (argc=1, argv=0xbffff8e0, envp=0xbffff8e8) at emacs.c:2122
(gdb) quit