From xemacs-m  Thu Mar 13 22:40:01 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id WAA07746
	for <xemacs-beta@xemacs.org>; Thu, 13 Mar 1997 22:39:40 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id UAA28531;
	Thu, 13 Mar 1997 20:51:19 -0800
To: "Alexandre Pinto <amsmp@camoes.rnl.ist.utl.pt>" <amsmp@camoes.rnl.ist.utl.pt>
Cc: xemacs-beta@xemacs.org
Subject: Re: Bug in XEmacs
References: <Pine.GSO.3.96.970313105629.15936A-100000@camoes.rnl.ist.utl.pt>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: "Alexandre Pinto's message of Thu, 13 Mar 1997 11:06:43 +0000 (WET)
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Date: 13 Mar 1997 20:51:13 -0800
Message-ID: <m2vi6vm5z2.fsf@altair.xemacs.org>
Lines: 203
X-Mailer: Gnus v5.4.25/XEmacs 20.1(beta7)

Thanks for your crash report.

Alexandre Pinto <amsmp@camoes rnl ist utl pt> writes:

> Hi!

> I found a bug in XEmacs 19.14 and I can reproduce the error anytime.

> It goes like this:

> 	I open a file in a directory using XEmacs, then, using my shell I
> 	delete that file and the directory containing that file.
> 	(I run XEmacs from the directory where this file is.)

> 	Then, I return to XEmacs, unsplit the window to keep only the
> 	buffer containing the file, and I try to open a new file in a new
> 	directory.

> 	When I do this.... well,... CRASH!! A nice core!

> 	Hope you can solve this!

Is this what you mean?

mkdir /tmp/temp
xemacs -q -no-site-file
C-x C-f
/tmp/temp/foo
Type in a line of text
C-x C-s

[Go to a convenient XTerm and execute `/bin/rm -rf /tmp/temp']
[Go back to XEmacs window]
Hit any key to make the buffer modified
C-x C-c
n  (to the save file /tmp/temp/foo prompt)
yes (to the Modified buffers exist; exit anyway?)

Compiled without debugging throws XEmacs into an infinite loop.  Note
to David Moore:  This is with your recent one line patch installed.

Fatal error: assertion failed, file /usr/src/xemacs-20.0/src/device.h, line 213, RECORD_TYPEP (_obj, lrecord_device) || MARKED_RECORD_P (_obj)
Fatal error: assertion failed, file /usr/src/xemacs-20.0/src/device.h, line 213, RECORD_TYPEP (_obj, lrecord_device) || MARKED_RECORD_P (_obj)
zsh: 28395 abort (core dumped)  src/xemacs -q

#0  0x402c93c5 in __kill ()
#1  0x402b239d in raise (sig=136190077)
#2  0x80d68d1 in selected_frame () at /usr/src/xemacs-20.0/src/frame.c:687
#3  0x80c7048 in auto_save_error (condition_object={s = {type_mark = 2, 
        val = -130723004}, gu = {type = Lisp_Cons, markbit = 0, 
        val = 137712452}, i = -2091568062, v = 0x83553442, cv = 0x83553442}, 
    ignored={s = {type_mark = 1, val = -131055612}, gu = {type = Lisp_Record, 
        markbit = 0, val = 137379844}, i = -2096889791, v = 0x83040041, 
      cv = 0x83040041}) at /usr/src/xemacs-20.0/src/fileio.c:4167
#4  0x80918e3 in condition_case_1 (handlers={s = {type_mark = 1, 
        val = -131055588}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137379868}, i = -2096889407, v = 0x830401c1, cv = 0x830401c1}, 
    bfun=0x80c80e8 <auto_save_1>, barg={s = {type_mark = 1, val = -131055612}, 
      gu = {type = Lisp_Record, markbit = 0, val = 137379844}, 
      i = -2096889791, v = 0x83040041, cv = 0x83040041}, 
    hfun=0x80c7020 <auto_save_error>, harg={s = {type_mark = 1, 
        val = -131055612}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137379844}, i = -2096889791, v = 0x83040041, cv = 0x83040041})
    at /usr/src/xemacs-20.0/src/eval.c:1630
#5  0x80c770a in Fdo_auto_save (no_message={s = {type_mark = 1, 
        val = -131055588}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137379868}, i = -2096889407, v = 0x830401c1, cv = 0x830401c1}, 
    current_only={s = {type_mark = 1, val = -131055612}, gu = {
        type = Lisp_Record, markbit = 0, val = 137379844}, i = -2096889791, 
      v = 0x83040041, cv = 0x83040041})
    at /usr/src/xemacs-20.0/src/fileio.c:4411
#6  0x808f2f9 in shut_down_emacs (sig=6, stuff={s = {type_mark = 1, 
        val = -131055612}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137379844}, i = -2096889791, v = 0x83040041, cv = 0x83040041})
    at /usr/src/xemacs-20.0/src/emacs.c:1917
#7  0x808daf2 in fatal_error_signal (sig=6)
    at /usr/src/xemacs-20.0/src/emacs.c:179
#8  0xbfffe8e4 in __ypbindlist ()
#9  0x402b239d in raise (sig=136190077)
#10 0x80d68d1 in selected_frame () at /usr/src/xemacs-20.0/src/frame.c:687
#11 0x80c7048 in auto_save_error (condition_object={s = {type_mark = 2, 
        val = -130560772}, gu = {type = Lisp_Cons, markbit = 0, 
        val = 137874684}, i = -2088972350, v = 0x837ccfc2, cv = 0x837ccfc2}, 
    ignored={s = {type_mark = 1, val = -131055612}, gu = {type = Lisp_Record, 
        markbit = 0, val = 137379844}, i = -2096889791, v = 0x83040041, 
      cv = 0x83040041}) at /usr/src/xemacs-20.0/src/fileio.c:4167
#12 0x80918e3 in condition_case_1 (handlers={s = {type_mark = 1, 
        val = -131055588}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137379868}, i = -2096889407, v = 0x830401c1, cv = 0x830401c1}, 
    bfun=0x80c80e8 <auto_save_1>, barg={s = {type_mark = 1, val = -131055612}, 
      gu = {type = Lisp_Record, markbit = 0, val = 137379844}, 
      i = -2096889791, v = 0x83040041, cv = 0x83040041}, 
    hfun=0x80c7020 <auto_save_error>, harg={s = {type_mark = 1, 
        val = -131055612}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137379844}, i = -2096889791, v = 0x83040041, cv = 0x83040041})
    at /usr/src/xemacs-20.0/src/eval.c:1630
#13 0x80c770a in Fdo_auto_save (no_message={s = {type_mark = 1, 
        val = -131055588}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137379868}, i = -2096889407, v = 0x830401c1, cv = 0x830401c1}, 
    current_only={s = {type_mark = 1, val = -131055612}, gu = {
        type = Lisp_Record, markbit = 0, val = 137379844}, i = -2096889791, 
      v = 0x83040041, cv = 0x83040041})
    at /usr/src/xemacs-20.0/src/fileio.c:4411
#14 0x808f2f9 in shut_down_emacs (sig=0, stuff={s = {type_mark = 1, 
        val = -131055612}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137379844}, i = -2096889791, v = 0x83040041, cv = 0x83040041})
    at /usr/src/xemacs-20.0/src/emacs.c:1917
#15 0x808f291 in Fkill_emacs (arg={s = {type_mark = 1, val = -131055612}, 
      gu = {type = Lisp_Record, markbit = 0, val = 137379844}, 
      i = -2096889791, v = 0x83040041, cv = 0x83040041})
    at /usr/src/xemacs-20.0/src/emacs.c:1873
#16 0x8095d65 in primitive_funcall (fn=0x808f110 <Fkill_emacs>, nargs=1, 
    args=0xbfffec08) at /usr/src/xemacs-20.0/src/eval.c:3456
#17 0x8095f5f in funcall_subr (subr=0x82151b8, args=0xbfffec08)
    at /usr/src/xemacs-20.0/src/eval.c:3481
#18 0x8095305 in funcall_recording_as (recorded_as={s = {type_mark = 1, 
        val = -130971620}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137463836}, i = -2095545919, v = 0x831881c1, cv = 0x831881c1}, 
    nargs=1, args=0xbfffedf0) at /usr/src/xemacs-20.0/src/eval.c:3173
#19 0x80954b2 in Ffuncall (nargs=1, args=0xbfffedf0)
    at /usr/src/xemacs-20.0/src/eval.c:3217
#20 0x806534e in Fbyte_code (bytestr={s = {type_mark = 3, val = -131587040}, 
      gu = {type = Lisp_String, markbit = 0, val = 136848416}, 
      i = -2105392637, v = 0x82824203, cv = 0x82824203}, vector={s = {
        type_mark = 4, val = -131586888}, gu = {type = -4, markbit = 0, 
        val = 136848568}, i = -2105390204, v = 0x82824b84, cv = 0x82824b84}, 
    maxdepth={s = {type_mark = 0, val = 5}, gu = {type = Lisp_Int, 
        markbit = 0, val = 5}, i = 80, v = 0x50, cv = 0x50})
    at /usr/src/xemacs-20.0/src/bytecode.c:418
#21 0x80965bb in funcall_lambda (fun={s = {type_mark = 1, val = -131586660}, 
      gu = {type = Lisp_Record, markbit = 0, val = 136848796}, 
      i = -2105386559, v = 0x828259c1, cv = 0x828259c1}, nargs=1, 
    arg_vector=0xbffff0e0) at /usr/src/xemacs-20.0/src/eval.c:3591
#22 0x809545b in funcall_recording_as (recorded_as={s = {type_mark = 1, 
        val = -130971548}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137463908}, i = -2095544767, v = 0x83188641, cv = 0x83188641}, 
    nargs=2, args=0xbffff0dc) at /usr/src/xemacs-20.0/src/eval.c:3189
#23 0x80954b2 in Ffuncall (nargs=2, args=0xbffff0dc)
    at /usr/src/xemacs-20.0/src/eval.c:3217
#24 0x80694c2 in Fcall_interactively (function={s = {type_mark = 1, 
        val = -130971548}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137463908}, i = -2095544767, v = 0x83188641, cv = 0x83188641}, 
    record_flag={s = {type_mark = 1, val = -131055612}, gu = {
        type = Lisp_Record, markbit = 0, val = 137379844}, i = -2096889791, 
      v = 0x83040041, cv = 0x83040041}, keys={s = {type_mark = 1, 
        val = -131055612}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137379844}, i = -2096889791, v = 0x83040041, cv = 0x83040041})
    at /usr/src/xemacs-20.0/src/callint.c:934
#25 0x8093c7e in Fcommand_execute (cmd={s = {type_mark = 1, val = -130971548}, 
      gu = {type = Lisp_Record, markbit = 0, val = 137463908}, 
      i = -2095544767, v = 0x83188641, cv = 0x83188641}, record={s = {
        type_mark = 1, val = -131055612}, gu = {type = Lisp_Record, 
        markbit = 0, val = 137379844}, i = -2096889791, v = 0x83040041, 
      cv = 0x83040041}, keys={s = {type_mark = 1, val = -131055612}, gu = {
        type = Lisp_Record, markbit = 0, val = 137379844}, i = -2096889791, 
      v = 0x83040041, cv = 0x83040041}) at /usr/src/xemacs-20.0/src/eval.c:2594
#26 0x80a7956 in execute_command_event (command_builder=0x83436c0, event={s = {
        type_mark = 1, val = -129562620}, gu = {type = Lisp_Record, 
        markbit = 0, val = 138872836}, i = -2073001919, v = 0x84708041, 
      cv = 0x84708041}) at /usr/src/xemacs-20.0/src/event-stream.c:3579
#27 0x80a8a9d in Fdispatch_event (event={s = {type_mark = 1, 
        val = -129562620}, gu = {type = Lisp_Record, markbit = 0, 
        val = 138872836}, i = -2073001919, v = 0x84708041, cv = 0x84708041})
    at /usr/src/xemacs-20.0/src/event-stream.c:3917
#28 0x807334e in Fcommand_loop_1 () at /usr/src/xemacs-20.0/src/cmdloop.c:540
#29 0x8073064 in command_loop_1 (dummy={s = {type_mark = 1, val = -131055612}, 
      gu = {type = Lisp_Record, markbit = 0, val = 137379844}, 
      i = -2096889791, v = 0x83040041, cv = 0x83040041})
    at /usr/src/xemacs-20.0/src/cmdloop.c:460
#30 0x8091936 in condition_case_1 (handlers={s = {type_mark = 1, 
        val = -131055516}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137379940}, i = -2096888255, v = 0x83040641, cv = 0x83040641}, 
    bfun=0x8072ff8 <command_loop_1>, barg={s = {type_mark = 1, 
        val = -131055612}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137379844}, i = -2096889791, v = 0x83040041, cv = 0x83040041}, 
    hfun=0x8073494 <cmd_error>, harg={s = {type_mark = 1, val = -131055612}, 
      gu = {type = Lisp_Record, markbit = 0, val = 137379844}, 
      i = -2096889791, v = 0x83040041, cv = 0x83040041})
    at /usr/src/xemacs-20.0/src/eval.c:1647
#31 0x8073595 in command_loop_2 (dummy={s = {type_mark = 1, val = -131055612}, 
      gu = {type = Lisp_Record, markbit = 0, val = 137379844}, 
      i = -2096889791, v = 0x83040041, cv = 0x83040041})
    at /usr/src/xemacs-20.0/src/cmdloop.c:222
#32 0x80916ed in internal_catch (tag={s = {type_mark = 1, val = -130977788}, 
      gu = {type = Lisp_Record, markbit = 0, val = 137457668}, 
      i = -2095644607, v = 0x83170041, cv = 0x83170041}, 
    func=0x807356c <command_loop_2>, arg={s = {type_mark = 1, 
        val = -131055612}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137379844}, i = -2096889791, v = 0x83040041, cv = 0x83040041}, 
    threw=0x0) at /usr/src/xemacs-20.0/src/eval.c:1324
#33 0x80728bc in initial_command_loop (load_me={s = {type_mark = 1, 
        val = -131055612}, gu = {type = Lisp_Record, markbit = 0, 
        val = 137379844}, i = -2096889791, v = 0x83040041, cv = 0x83040041})
    at /usr/src/xemacs-20.0/src/cmdloop.c:271
#34 0x808ea44 in sort_args (argc=3, argv=0xbffff4dc)
    at /usr/src/xemacs-20.0/src/emacs.c:1475
#35 0x808f10a in main (argc=3, argv=0xbffff4dc, envp=0xbffff4ec)
    at /usr/src/xemacs-20.0/src/emacs.c:1826
#36 0x80500ce in _start ()

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

