From xemacs-m  Wed Jul  9 11:20:33 1997
Received: from alk.physik.uni-erlangen.de (root@theorie3.physik.uni-erlangen.de [131.188.166.210])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA13808
	for <xemacs-beta@xemacs.org>; Wed, 9 Jul 1997 11:20:32 -0500 (CDT)
Received: from cognac.physik.uni-erlangen.de (aoppelt@cognac.physik.uni-erlangen.de [131.188.166.201])
          by alk.physik.uni-erlangen.de (8.8.5/8.8.4) with ESMTP
	  id SAA12187 for <xemacs-beta@xemacs.org>; Wed, 9 Jul 1997 18:20:34 +0200
Received: (from aoppelt@localhost)
	by cognac.physik.uni-erlangen.de (8.8.5/8.8.5) id SAA08554;
	Wed, 9 Jul 1997 18:20:33 +0200
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Helsinki crash on Linux
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Achim Oppelt <aoppelt@theorie3.physik.uni-erlangen.de>
Date: 09 Jul 1997 18:20:33 +0200
Message-ID: <ubrad8qjse.fsf@cognac.physik.uni-erlangen.de>
Lines: 234
X-Mailer: Gnus v5.4.62/XEmacs 20.3(beta12) - "Helsinki"

Well, I got my mysterious crash again (core dump when creating a new
frame). I still can't tell what exactly causes it. I've been running Gnus
and editing some TeX files. When I tried to open a new frame, I got a
segmentation fault with the following backtrace (XEmacs was running in
gdb):

(gdb) bt
#0  0x400ca604 in _XtIsSubclassOf ()
#1  0x400c14c0 in XtInitializeWidgetClass ()
#2  0x400c1c72 in _XtCreatePopupShell ()
#3  0x400c1caf in XtCreatePopupShell ()
#4  0x81870b0 in x_create_widgets (f=0x8acb700, lisp_window_id={s = {
        type_mark = 5, val = -130523132}, gu = {type = Lisp_Symbol, 
        markbit = 0, val = 137912324}, i = -2088370107, v = 0x83860045, 
      cv = 0x83860045}, parent={s = {type_mark = 5, val = -130523132}, gu = {
        type = Lisp_Symbol, markbit = 0, val = 137912324}, i = -2088370107, 
      v = 0x83860045, cv = 0x83860045})
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/frame-x.c:1750
#5  0x81878b8 in x_init_frame_1 (f=0x8acb700, props={s = {type_mark = 5, 
        val = -130523132}, gu = {type = Lisp_Symbol, markbit = 0, 
        val = 137912324}, i = -2088370107, v = 0x83860045, cv = 0x83860045})
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/frame-x.c:1975
#6  0x80fe8c6 in Fmake_frame (props={s = {type_mark = 5, val = -130523132}, 
      gu = {type = Lisp_Symbol, markbit = 0, val = 137912324}, 
      i = -2088370107, v = 0x83860045, cv = 0x83860045}, device={s = {
        type_mark = 1, val = -129784064}, gu = {type = Lisp_Record, 
        markbit = 0, val = 138651392}, i = -2076545023, v = 0x843a7001, 
      cv = 0x843a7001})
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/frame.c:425
#7  0x808dcf1 in primitive_funcall (fn=0x80fe624 <Fmake_frame>, nargs=2, 
    args=0xbffff758)
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/eval.c:3455
#8  0x808e068 in funcall_subr (subr=0x8240ac8, args=0xbffff758)
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/eval.c:3479

#9  0x808d38d in funcall_recording_as (recorded_as={s = {type_mark = 5, 
        val = -130431580}, gu = {type = Lisp_Symbol, markbit = 0, 
        val = 138003876}, i = -2086905275, v = 0x839c5a45, cv = 0x839c5a45}, 
    nargs=0, args=0xbffff890)
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/eval.c:3172
#10 0x806561b in Fcall_interactively (function={s = {type_mark = 5, 
        val = -130431580}, gu = {type = Lisp_Symbol, markbit = 0, 
        val = 138003876}, i = -2086905275, v = 0x839c5a45, cv = 0x839c5a45}, 
    record_flag={s = {type_mark = 5, val = -130523132}, gu = {
        type = Lisp_Symbol, markbit = 0, val = 137912324}, i = -2088370107, 
      v = 0x83860045, cv = 0x83860045}, keys={s = {type_mark = 5, 
        val = -130523132}, gu = {type = Lisp_Symbol, markbit = 0, 
        val = 137912324}, i = -2088370107, v = 0x83860045, cv = 0x83860045})
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/callint.c:518
#11 0x808c1e1 in Fcommand_execute (cmd={s = {type_mark = 5, val = -130431580}, 
      gu = {type = Lisp_Symbol, markbit = 0, val = 138003876}, 
      i = -2086905275, v = 0x839c5a45, cv = 0x839c5a45}, record={s = {
        type_mark = 5, val = -130523132}, gu = {type = Lisp_Symbol, 
        markbit = 0, val = 137912324}, i = -2088370107, v = 0x83860045, 
      cv = 0x83860045}, keys={s = {type_mark = 5, val = -130523132}, gu = {
        type = Lisp_Symbol, markbit = 0, val = 137912324}, i = -2088370107, 
      v = 0x83860045, cv = 0x83860045})
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/eval.c:2631
#12 0x80d483e in execute_command_event (command_builder=0x83ba600, event={s = {
        type_mark = 1, val = -122447056}, gu = {type = Lisp_Record, 
        markbit = 0, val = 145988400}, i = -1959152895, v = 0x8b39b301, 
      cv = 0x8b39b301})
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/event-stream.c:3695
#13 0x80d4f59 in Fdispatch_event (event={s = {type_mark = 1, 
        val = -122447056}, gu = {type = Lisp_Record, markbit = 0, 
        val = 145988400}, i = -1959152895, v = 0x8b39b301, cv = 0x8b39b301})
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/event-stream.c:3988
#14 0x806e331 in Fcommand_loop_1 ()
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/cmdloop.c:560
#15 0x806e106 in command_loop_1 (dummy={s = {type_mark = 5, val = -130523132}, 
      gu = {type = Lisp_Symbol, markbit = 0, val = 137912324}, 
      i = -2088370107, v = 0x83860045, cv = 0x83860045})
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/cmdloop.c:480
#16 0x808a9b1 in condition_case_1 (handlers={s = {type_mark = 5, 
        val = -130523052}, gu = {type = Lisp_Symbol, markbit = 0, 
        val = 137912404}, i = -2088368827, v = 0x83860545, cv = 0x83860545}, 
    bfun=0x806e0e0 <command_loop_1>, barg={s = {type_mark = 5, 
        val = -130523132}, gu = {type = Lisp_Symbol, markbit = 0, 
        val = 137912324}, i = -2088370107, v = 0x83860045, cv = 0x83860045}, 
    hfun=0x806d938 <cmd_error>, harg={s = {type_mark = 5, val = -130523132}, 
      gu = {type = Lisp_Symbol, markbit = 0, val = 137912324}, 
      i = -2088370107, v = 0x83860045, cv = 0x83860045})
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/eval.c:1684
#17 0x806da74 in command_loop_3 ()
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/cmdloop.c:242
#18 0x806da9c in command_loop_2 (dummy={s = {type_mark = 5, val = -130523132}, 
      gu = {type = Lisp_Symbol, markbit = 0, val = 137912324}, 
      i = -2088370107, v = 0x83860045, cv = 0x83860045})
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/cmdloop.c:253
#19 0x808a559 in internal_catch (tag={s = {type_mark = 5, val = -130445956}, 
      gu = {type = Lisp_Symbol, markbit = 0, val = 137989500}, 
      i = -2087135291, v = 0x8398d7c5, cv = 0x8398d7c5}, 
    func=0x806da90 <command_loop_2>, arg={s = {type_mark = 5, 
        val = -130523132}, gu = {type = Lisp_Symbol, markbit = 0, 
        val = 137912324}, i = -2088370107, v = 0x83860045, cv = 0x83860045}, 
    threw=0x0) at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/eval.c:1361
#20 0x806dcd6 in initial_command_loop (load_me={s = {type_mark = 5, 
        val = -130523132}, gu = {type = Lisp_Symbol, markbit = 0, 
        val = 137912324}, i = -2088370107, v = 0x83860045, cv = 0x83860045})
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/cmdloop.c:291
#21 0x8086fca in main_20_3_b12_ (argc=1, argv=0xbffffba8, envp=0xbffffbb0)
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/emacs.c:1464
#22 0x8087acd in main (argc=1, argv=0xbffffba8, envp=0xbffffbb0)
    at /var/tmp/ao/private/xemacs/xemacs-20.3-b12/src/emacs.c:1815
#23 0x804eecb in _start ()
(gdb) c
Continuing.

Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.

Please report this bug by running the send-pr script included
with XEmacs, or selecting `Send Bug Report' from the help menu.
As a last resort send ordinary email to `crashes@xemacs.org'.
*MAKE SURE* to include as much configuration information as
possible; at the very least what OS and hardware you are running
on, and hopefully also what compiler and compiler options the
binary was compiled with, what options XEmacs was compiled with,
whether you are using a prebuilt binary from ftp.xemacs.org or
compiled XEmacs yourself for your system, etc.

If at all possible, *please* try to obtain a C stack backtrace;
it will help us immensely in determining what went wrong.
To do this, locate the core file that was produced as a result
of this crash (it's usually called `core' and is located in the
directory in which you started XEmacs, or maybe in your home
directory), and type

  gdb /var/tmp/ao/private/xemacs/xemacs-20.3-b12/linux/src/xemacs core

then type `where' when the debugger prompt comes up.
(If you don't have GDB on your system, you might have DBX,
or XDB, or SDB.  A similar procedure should work for all of
these.  Ask your system administrator if you need more help.)

Lisp backtrace follows:

  # bind (frame-being-created)
  #<subr make-frame (interactive)>()
  # bind (command-debug-status)
  call-interactively(make-frame)
  # (condition-case ... . error)
  # (catch top-level ...)

Program received signal SIGSEGV, Segmentation fault.
0x4026f9b9 in __kill ()
(gdb) c
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.

---------------------------------------------------------------------------
uname -a: Linux cognac 2.0.30 #1 Mon Jun 9 10:43:40 MET DST 1997 i686

../configure  '--cflags=-m486 -g -malign-jumps=2 -malign-loops=2 -malign-function
s=2' '--with-mule' '--use-union-type' '--mail-locking=file' '--prefix=/net/tmp/co
gnac/ao' '--site-includes=/home/aoppelt/include' '--site-libraries=/home/aoppelt/
lib/lnx' '--with-dialogs=athena' 'i686-debian-linux'


Configured for `i686-debian-linux'.

  Where should the build process find the source code?    /var/tmp/ao/private/xem
acs/xemacs-20.3-b12
  What installation prefix should install use?            /net/tmp/cognac/ao
  What operating system and machine description files should XEmacs use?
        `s/linux.h' and `m/intel386.h'
  What compiler should XEmacs be built with?              gcc -m486 -g -malign-ju
mps=2 -malign-loops=2 -malign-functions=2
  Should XEmacs use the GNU version of malloc?            yes
  Should XEmacs use the relocating allocator for buffers? yes
  What window system should XEmacs use?                   x11
  Where do we find X Windows header files?                /usr/X11R6/include
  Where do we find X Windows libraries?                   /usr/X11R6/lib
  Additional header files:                                /home/aoppelt/include
  Additional libraries:                                   /home/aoppelt/lib/lnx
  Compiling in support for XAUTH.
  Compiling in support for GIF image conversion.
  Compiling in support for XPM images.
  Compiling in support for X-Face message headers.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in native sound support.
  Compiling in support for Berkeley DB.
  Compiling in support for GNU DBM.
  Compiling in support for ncurses.
  Compiling in Mule (multi-lingual) support.
  Compiling in support for Canna on Mule.
  Using Lucid menubars.
  Using Lucid scrollbars.
  Using Athena dialog boxes.
  movemail will use "dot-locking" for locking mail spool files.
  Using the union type for Lisp_Objects.
  WARNING: ---------------------------------------------------------
  WARNING: Compiling in support for runtime error checking.
  WARNING: XEmacs will run noticeably more slowly as a result.
  WARNING: Error checking is on by default for XEmacs beta releases.
  WARNING: ---------------------------------------------------------


cognac:xemacs/xemacs-20.3-b12/linux> ldd -v src/xemacs
ldd: version 1.8.10
        libXaw.so.6 => /usr/X11R6/lib/libXaw.so.6
        libpng.so.1 => /usr/lib/libpng.so.1
        libz.so.1 => /usr/lib/libz.so.1
        libjpeg.so.6a => /usr/lib/libjpeg.so.6a
        libcompface.so.1 => /usr/lib/libcompface.so.1
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6
        libdb.so.1 => /usr/lib/libdb.so.1
        libgdbm.so.1 => /usr/lib/libgdbm.so.1
        libncurses.so.3.0 => /lib/libncurses.so.3.0
        libm.so.5 => /lib/libm.so.5
        libc.so.5 => /lib/libc.so.5

(libc 5.4.20)

---------------------------------------------------------------------------

Any ideas?

Achim

-- 
Achim Oppelt, Schwedenstr. 25, D-91080 Spardorf, Germany
aoppelt@theorie3.physik.uni-erlangen.de
Tel: +49 9131 85-8816	Tel (private): +49 9131 503693	Fax: +49 9131 503690

