From xemacs-m  Wed Feb  5 11:48:22 1997
Received: from icemark.thenet.ch (root@icemark.TheNet.CH [193.135.252.47])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA01200
	for <xemacs-beta@xemacs.org>; Wed, 5 Feb 1997 11:48:18 -0600 (CST)
Received: from localhost by icemark.thenet.ch
	 with smtp id m0vsBRx-0003gNC
	(Debian Smail-3.2 1996-Jul-4 #2); Wed, 5 Feb 1997 18:48:01 +0100 (MET)
Date: Wed, 5 Feb 1997 18:48:01 +0100 (MET)
From: Benedikt Eric Heinen <beh@icemark.thenet.ch>
To: XEmacs Beta mailing list <xemacs-beta@xemacs.org>
Subject: XEmacs 20.0-b93 & 20.0 dump core w/ Mule...
Message-ID: <Pine.LNX.3.95.970205182214.303A-100000@icemark.thenet.ch>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


At first, please - don't hit me if the problem in question was already
solved, I didn't notice the problem up to this morning since I only rarely
start xemacs interactively...

If I compile XEmacs 20.0 (or b93) with Mule support, then xemacs dumps
core on kill-emacs/save-buffers-kill-emacs.
Non-Mule XEmacs doesn't show the behaviour. Also the optimization flags
don't have much effect on that '--cflags=-O3' and '--cflags=-g' both yield
the crash at the same location.

Does anyone have some good advice on how to fix this problem?


Lisp backtrace follows:

  kill-emacs(nil)
  # bind (command-debug-status)
  call-interactively(kill-emacs)
  command-execute(kill-emacs t)
  # bind (prefix-arg)
  execute-extended-command(nil)
  # bind (command-debug-status)
  call-interactively(execute-extended-command)
  # (condition-case ... . error)
  # (catch top-level ...)



gdb backtrace:

#0  0x403f39b9 in __kill ()
#1  0x809071e in fatal_error_signal (sig=11) at emacs.c:194
#2  0xbfffeb78 in ?? ()
#3  0x4024f183 in XtDisplayOfObject ()
#4  0x40187f8c in XmImVaSetValues ()
#5  0x4018676d in _XmImFreeShellData ()
#6  0x401834fd in _XmRemoveGrab ()
#7  0x402460c2 in _XtCreateHookObj ()
#8  0x40245f71 in _XtCreateHookObj ()
#9  0x402463de in _XtCreateHookObj ()
#10 0x402464ea in _XtDoPhase2Destroy ()
#11 0x4024667e in XtDestroyWidget ()
#12 0x819676c in x_delete_frame (f=0x84b2ed8) at frame-x.c:2417
#13 0x80ddaf6 in delete_frame_internal (f=0x84b2ed8, force=1, 
    called_from_delete_device=1, from_io_error=0) at frame.c:1410
#14 0x8082f4f in delete_device_internal (d=0x845d828, force=1, 
    called_from_delete_console=1, from_io_error=0) at device.c:784
#15 0x8075ad0 in delete_console_internal (con=0x845d0e0, force=1, 
    called_from_kill_emacs=1, from_io_error=0) at console.c:684
#16 0x8092647 in Fkill_emacs (arg=406067780) at emacs.c:1845
#17 0x80990db in primitive_funcall (fn=0x8092580 <Fkill_emacs>, nargs=1, 
    args=0xbfffef20) at eval.c:3457
#18 0x80994eb in funcall_subr (subr=0x8239150, args=0xbfffef20) at
    eval.c:3482
#19 0x8098550 in funcall_recording_as (recorded_as=406147716, nargs=1, 
    args=0xbfffef1c) at eval.c:3174
#20 0x8098706 in Ffuncall (nargs=2, args=0xbfffef1c) at eval.c:3218
#21 0x806a22a in Fcall_interactively (function=406147716, 
    record_flag=406067804, keys=406067780) at callint.c:934
#22 0x8097118 in Fcommand_execute (cmd=406147716, record=406067804, 
    keys=406067780) at eval.c:2595
#23 0x809912d in primitive_funcall (fn=0x8096f60 <Fcommand_execute>,
    nargs=3, args=0xbffff08c) at eval.c:3459
#24 0x80994eb in funcall_subr (subr=0x8239588, args=0xbffff08c) at
    eval.c:3482
#25 0x809852d in funcall_recording_as (recorded_as=406148676, nargs=2, 
    args=0xbffff298) at eval.c:3171
#26 0x8098706 in Ffuncall (nargs=3, args=0xbffff298) at eval.c:3218
#27 0x8065297 in Fbyte_code (bytestr=941974676, vector=1210410324,
    maxdepth=10) at bytecode.c:418
#28 0x8099a21 in funcall_lambda (fun=405104244, nargs=1,
    arg_vector=0xbffff410) at eval.c:3592
#29 0x809858f in funcall_recording_as (recorded_as=406641708, nargs=1, 
    args=0xbffff40c) at eval.c:3177
#30 0x8098706 in Ffuncall (nargs=2, args=0xbffff40c) at eval.c:3218
#31 0x806a22a in Fcall_interactively (function=406641708, 
    record_flag=406067780, keys=406067780) at callint.c:934
#32 0x8097118 in Fcommand_execute (cmd=406641708, record=406067780, 
    keys=406067780) at eval.c:2595
#33 0x80a9077 in execute_command_event (command_builder=0x845d148, 
    event=407371540) at event-stream.c:3554
#34 0x80a984d in Fdispatch_event (event=407371772) at event-stream.c:3847
#35 0x8072938 in Fcommand_loop_1 () at cmdloop.c:540
#36 0x80726f1 in command_loop_1 (dummy=406067780) at cmdloop.c:460
#37 0x8095649 in condition_case_1 (handlers=406067876, 
    bfun=0x80726d0 <command_loop_1>, barg=406067780, 
    hfun=0x8071e50 <cmd_error>, harg=406067780) at eval.c:1648
#38 0x8071f85 in command_loop_3 () at cmdloop.c:222
#39 0x8071fb8 in command_loop_2 (dummy=406067780) at cmdloop.c:233
#40 0x80951b9 in internal_catch (tag=406141620, 
    func=0x8071fb0 <command_loop_2>, arg=406067780, threw=0x0) at eval.c:1325
#41 0x8072218 in initial_command_loop (load_me=406067780) at cmdloop.c:271
#42 0x8091933 in main_1 (argc=1, argv=0xbffff75c, envp=0xbffff764)
    at emacs.c:1452
#43 0x809256d in main (argc=1, argv=0xbffff75c, envp=0xbffff764)
    at emacs.c:1803
#44 0x805022b in _start ()




yours,
	Benedikt

signoff
---
 Benedikt Eric Heinen  -  Muehlemattstrasse 53  -  CH3007 Bern  -   SWITZERLAND
                          email: beh@icemark.thenet.ch

