[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
crash while opening deleted file with open buffer
From: |
Han Boetes |
Subject: |
crash while opening deleted file with open buffer |
Date: |
Fri, 21 Jan 2005 22:24:30 +0100 |
Symptoms:
This is in the multi-tty branch of emacs:
commandline: emacsclient testfile
in emacs: add some text
in emacs: save file with c-x c-s
commandline: rm testfile
commandline: emacsclient testfile
in emacs: emacs notices the file is removed and suggests to recreate it.
Confirm with y
The y is put in the current buffer and emacs crashes.
This happens on both CRUX-Linux and OpenBSD. Here are the
(x)backtrace for both OS'es respectively
#0 Fthrow (tag=136984129, value=136929345)
at /home/han/nfs/Emacs/emacs--multi-tty/src/eval.c:1222
#1 0x080de0a5 in Fsignal (error_symbol=136990169, data=140385365)
at /home/han/nfs/Emacs/emacs--multi-tty/src/eval.c:1593
#2 0x080df420 in Ffuncall (nargs=136649256, args=0xbfffec54)
at /home/han/nfs/Emacs/emacs--multi-tty/src/eval.c:2778
#3 0x080ff70c in Fbyte_code (bytestr=137184657, vector=-1073746864,
maxdepth=2) at /home/han/nfs/Emacs/emacs--multi-tty/src/bytecode.c:686
#4 0x080df8c2 in funcall_lambda (fun=135536924, nargs=1,
arg_vector=0xbfffed44)
at /home/han/nfs/Emacs/emacs--multi-tty/src/eval.c:2962
#5 0x080df51d in Ffuncall (nargs=135536924, args=0xbfffed40)
at /home/han/nfs/Emacs/emacs--multi-tty/src/eval.c:2832
#6 0x080ff70c in Fbyte_code (bytestr=137038401, vector=-1073746624,
maxdepth=1) at /home/han/nfs/Emacs/emacs--multi-tty/src/bytecode.c:686
#7 0x080df8c2 in funcall_lambda (fun=135941404, nargs=1,
arg_vector=0xbfffee44)
at /home/han/nfs/Emacs/emacs--multi-tty/src/eval.c:2962
#8 0x080df51d in Ffuncall (nargs=135941404, args=0xbfffee40)
at /home/han/nfs/Emacs/emacs--multi-tty/src/eval.c:2832
#9 0x080ff70c in Fbyte_code (bytestr=137135457, vector=-1073746368,
maxdepth=1) at /home/han/nfs/Emacs/emacs--multi-tty/src/bytecode.c:686
#10 0x080df8c2 in funcall_lambda (fun=135940580, nargs=1,
arg_vector=0xbfffef84)
at /home/han/nfs/Emacs/emacs--multi-tty/src/eval.c:2962
#11 0x080df51d in Ffuncall (nargs=135940580, args=0xbfffef80)
at /home/han/nfs/Emacs/emacs--multi-tty/src/eval.c:2832
#12 0x080dc55e in Fcall_interactively (function=137207793,
record_flag=136929297, keys=136986172)
at /home/han/nfs/Emacs/emacs--multi-tty/src/callint.c:877
#13 0x08099d1c in Fcommand_execute (cmd=137207793, record_flag=136929297,
keys=136929297, special=136929297)
at /home/han/nfs/Emacs/emacs--multi-tty/src/keyboard.c:9779
#14 0x080921dc in command_loop_1 ()
at /home/han/nfs/Emacs/emacs--multi-tty/src/keyboard.c:1770
#15 0x080ddcc1 in internal_condition_case (bfun=0x809162d <command_loop_1>,
handlers=136990169, hfun=0x8091291 <cmd_error>)
at /home/han/nfs/Emacs/emacs--multi-tty/src/eval.c:1385
#16 0x08091510 in command_loop_2 ()
at /home/han/nfs/Emacs/emacs--multi-tty/src/keyboard.c:1297
#17 0x080dd89a in internal_catch (tag=136929345,
func=0x80914f8 <command_loop_2>, arg=136929297)
at /home/han/nfs/Emacs/emacs--multi-tty/src/eval.c:1144
#18 0x080914b0 in command_loop ()
at /home/han/nfs/Emacs/emacs--multi-tty/src/keyboard.c:1276
#19 0x08091087 in recursive_edit_1 ()
at /home/han/nfs/Emacs/emacs--multi-tty/src/keyboard.c:973
#20 0x08091190 in Frecursive_edit ()
at /home/han/nfs/Emacs/emacs--multi-tty/src/keyboard.c:1034
#21 0x080901e1 in main (argc=2, argv=0xbffff6f4)
at /home/han/nfs/Emacs/emacs--multi-tty/src/emacs.c:1763
(gdb) xbacktrace
"signal"
"error"
"undo-more"
"undo"
"call-interactively"
Cannot access memory at address 0x10f
#0 0x080f4770 in Fsignal (error_symbol=137173865, data=137080841)
at /home/han/nfs/Emacs/emacs--multi-tty/src/eval.c:1559
#1 0x080c98d9 in Fforward_char (n=8)
at /home/han/nfs/Emacs/emacs--multi-tty/src/cmds.c:85
#2 0x080f5f37 in Ffuncall (nargs=2, args=0xcfbfaff0)
at /home/han/nfs/Emacs/emacs--multi-tty/src/eval.c:2775
#3 0x080f1cb1 in Fcall_interactively (function=137157433,
record_flag=137080841, keys=137170700)
at /home/han/nfs/Emacs/emacs--multi-tty/src/callint.c:877
#4 0x080a511f in Fcommand_execute (cmd=137157433, record_flag=137080841,
keys=137080841, special=137080841)
at /home/han/nfs/Emacs/emacs--multi-tty/src/keyboard.c:9779
#5 0x0809b96f in command_loop_1 ()
at /home/han/nfs/Emacs/emacs--multi-tty/src/keyboard.c:1770
#6 0x080f4460 in internal_condition_case (bfun=0x809b614 <command_loop_1>,
handlers=137173481, hfun=0x809b1c8 <cmd_error>)
at /home/han/nfs/Emacs/emacs--multi-tty/src/eval.c:1385
#7 0x0809b4be in command_loop_2 ()
at /home/han/nfs/Emacs/emacs--multi-tty/src/keyboard.c:1297
#8 0x080f402d in internal_catch (tag=137162553,
func=0x809b4a0 <command_loop_2>, arg=137080841)
at /home/han/nfs/Emacs/emacs--multi-tty/src/eval.c:1144
#9 0x0809b475 in command_loop ()
at /home/han/nfs/Emacs/emacs--multi-tty/src/keyboard.c:1276
#10 0x0809af83 in recursive_edit_1 ()
at /home/han/nfs/Emacs/emacs--multi-tty/src/keyboard.c:973
#11 0x0809b0a0 in Frecursive_edit ()
at /home/han/nfs/Emacs/emacs--multi-tty/src/keyboard.c:1034
#12 0x08099ab1 in main (argc=2, argv=0xcfbfb4e4)
at /home/han/nfs/Emacs/emacs--multi-tty/src/emacs.c:1763
(gdb) xbacktrace
"forward-char"
"call-interactively"
Cannot access memory at address 0x0
In GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, multi-tty)
of 2005-01-09 on marsupilami
configured using `configure '--without-x' '--without-sound' 'CFLAGS=-Os
-march=i686 -pipe' 'CPPFLAGS=-g''
Important settings:
value of $LC_ALL: nl_NL
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
iswitchb-mode: t
auto-compression-mode: t
encoded-kbd-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
column-number-mode: 1
line-number-mode: 1
transient-mark-mode: 1
Recent input:
ESC x r e TAB TAB p TAB o TAB r TAB RET
Recent messages:
Loading advice...done
Starting server
Loading edmacro...done
Loading easymenu...done
Loading /mega/home/han/.session...done
For information about the GNU Project and its goals, type C-h C-p.
When done with this frame, type C-x 5 0
Making completion list... [3 times]
Loading emacsbug...done
call-interactively: End of buffer [5 times]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- crash while opening deleted file with open buffer,
Han Boetes <=