From xemacs-m  Tue Jan 21 14:16:50 1997
Received: from the-great-machine.mit.edu (brnstndkramden.acf.nyu.edu@THE-GREAT-MACHINE.MIT.EDU [18.238.0.254])
          by xemacs.org (8.8.4/8.8.4) with ESMTP
	  id OAA00430 for <xemacs-beta@xemacs.org>; Tue, 21 Jan 1997 14:16:46 -0600 (CST)
Received: (from jered@localhost)
          by the-great-machine.mit.edu (8.8.4/8.8.4)
	  id PAA13820; Tue, 21 Jan 1997 15:16:39 -0500
Message-Id: <199701212016.PAA13820@the-great-machine.mit.edu>
X-Mailer: exmh version 1.6.7 5/3/96
To: xemacs-beta@xemacs.org
Subject: xemacs -nw (19.14, 20.0b90) assertion failure
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 21 Jan 1997 15:16:39 EST
From: Jered Floyd <jered@mit.edu>


One of the people here who helps bash on more obscure features of
multiple display support has found an rather serious problem.  I recall
seeing some discussion about his latter problem ("Attempt to delete sole
visible or iconified frame") last week, however I haven't heard of the
first problem before.  I am able to reproduce it, is anyone else?

--Jered
jered@mit.edu

------- Forwarded Message

Date: Tue, 21 Jan 1997 14:20:48 -0500
From: Vadim Gutnik <gutnik@godot.mit.edu>
To: xemacs@MIT.EDU
Subject: xemacs -nw (beta and 19.14) coredumps

In XEmacs 20.0 [Lucid] (sparc-sun-solaris2.4) of Wed Jan 15 1997 on portnoy

The two XEmacsen (19.14 and 20.0b90) that I've tried both coredump if you :

1) xemacs -nw
2) open up a frame on an X display with make-frame-on-display 
3) open up another frame on the same display with C-x 5 2
4) move one of the frames to another workspace (I'm using ctwm, I
	don't know how other window managers deal)
5) close one of the frames with C-x 5 0

If you start up Xemacs without the -nw option, attempting to close
either frame gives a warning ( Attempt to delete the sole visible or
iconified frame) and does nothing.

		Vadim



- -------------------------------
Lisp backtrace follows:
 
  # (condition-case ... . error)
  # (catch top-level ...)
Abort

- --------------------------------
(gdb) where
#0  0xef4a1cac in _kill ()
#1  0x8070c in fatal_error_signal (sig=6) at /var/tmp/xemacs/xemacs-20.0-b90/sr
c/emacs.c:194
#2  <signal handler called>
#3  0xef4a1cac in _kill ()
#4  0x828c4 in assert_failed (file=0x22ba88 "/var/tmp/xemacs/xemacs-20.0-b90/sr
c/device.h", line=213, 
    expr=0x22bab8 "RECORD_TYPEP (_obj, lrecord_device) || MARKED_RECORD_P 
(_obj)")
    at /var/tmp/xemacs/xemacs-20.0-b90/src/emacs.c:2179
#5  0x15b938 in specifier_instance (specifier=272005184, matchspec=271591724, 
domain=272123392, errb={
      really_unlikely_name_to_have_accidentally_in_a_non_errb_structure = 
1189234403}, no_quit=0, 
    no_fallback=0, depth=0) at /var/tmp/xemacs/xemacs-20.0-b90/src/specifier.c:
2359
#6  0xea3c4 in glyph_image_instance (glyph=272005248, domain=272123392, errb={
      really_unlikely_name_to_have_accidentally_in_a_non_errb_structure = 
1189234403}, no_quit=0)
    at /var/tmp/xemacs/xemacs-20.0-b90/src/glyphs.c:2351
#7  0xe0028 in update_frame_icon (f=0x384600) at /var/tmp/xemacs/xemacs-20.0-b9
0/src/frame.c:2764
#8  0x131808 in redisplay_device (d=0x481400) at /var/tmp/xemacs/xemacs-20.0-b9
0/src/redisplay.c:5453
#9  0x131e38 in redisplay_without_hooks () at /var/tmp/xemacs/xemacs-20.0-b90/s
rc/redisplay.c:5575
#10 0x13205c in redisplay () at /var/tmp/xemacs/xemacs-20.0-b90/src/redisplay.c
:5642
#11 0x9aa00 in Fnext_event (event=273103316, prompt=271818756)
    at /var/tmp/xemacs/xemacs-20.0-b90/src/event-stream.c:2103
#12 0x60734 in Fcommand_loop_1 () at /var/tmp/xemacs/xemacs-20.0-b90/src/cmdloo
p.c:531
#13 0x60398 in command_loop_1 (dummy=271818756) at 
/var/tmp/xemacs/xemacs-20.0-b90/src/cmdloop.c:460
#14 0x84f2c in condition_case_1 (handlers=271818852, bfun=0x602f4 
<command_loop_1>, barg=271818756, 
    hfun=0x5f490 <cmd_error>, harg=271818756) at /var/tmp/xemacs/xemacs-20.0-b9
0/src/eval.c:1648
#15 0x5f590 in command_loop_3 () at /var/tmp/xemacs/xemacs-20.0-b90/src/cmdloop
.c:222
#16 0x5f5b8 in command_loop_2 (dummy=271818756) at 
/var/tmp/xemacs/xemacs-20.0-b90/src/cmdloop.c:233
#17 0x84a4c in internal_catch (tag=271896332, func=0x5f5ac <command_loop_2>, 
arg=271818756, threw=0x0)
    at /var/tmp/xemacs/xemacs-20.0-b90/src/eval.c:1325
#18 0x5fa4c in initial_command_loop (load_me=390572) at 
/var/tmp/xemacs/xemacs-20.0-b90/src/cmdloop.c:271
#19 0x81988 in main_1 (argc=2, argv=0xeffff964, envp=0xeffff970)
    at /var/tmp/xemacs/xemacs-20.0-b90/src/emacs.c:1452
#20 0x82144 in main (argc=2, argv=0xeffff964, envp=0xeffff970)
    at /var/tmp/xemacs/xemacs-20.0-b90/src/emacs.c:1803

------- End of Forwarded Message



