From xemacs-m  Tue Apr  8 23:06:34 1997
Received: from master.control.att.com ([135.205.52.13])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id XAA08785
	for <xemacs-beta@xemacs.org>; Tue, 8 Apr 1997 23:06:33 -0500 (CDT)
Received: from i.control.att.com by master.control.att.com with esmtp
	(Smail3.1.29.1 #3) id m0wEoe5-002iwxC; Wed, 9 Apr 97 00:06 EDT
Received: by i.control.att.com (Smail3.1.29.1 #1)
	id m0wEoe4-000mUTC; Wed, 9 Apr 97 00:06 EDT
Message-Id: <m0wEoe4-000mUTC@i.control.att.com>
Date: Wed, 9 Apr 97 00:06 EDT
From: lda@control.att.com (Larry Auton)
To: xemacs-beta@xemacs.org
Subject: XEmacs 20.1 beta 11 crashes on IRIX 6.2

I applied the patch to src-lib/Makefile.in.in that Steven Baur sent
for my (PLAIN VANILLA FLAVORED) IRIX 6.2 host.  I then attempted to
compile and configure like so:

	./configure --prefix=/usr/local/xemacs-20.1-b11
	make

	the compile failed looking for Xm/*.h

I searched for them with ``find'' and found all of the requisite files under
the directory /usr/include/abi so I re-configured like so:

	make distclean
	./configure \
		--prefix=/usr/local/xemacs-20.1-b11 \
		--site-includes=/usr/include/abi
	make

and the compile completed, with a few (worrying) warnings:

cc -g -32 -L. -L../lwlib -o temacs abbrev.o alloc.o blocktype.o [.... -lda]
ld: WARNING 15: multiply defined:(Qdisplay_table) in faces.o and glyphs.o (2nd definition ignored).
ld: WARNING 84: /usr/lib/libmld.a is not used for resolving any symbol.
ld: WARNING 85: definition of UP in terminfo.o preempts that definition in /usr/lib/libcurses.so.
ld: WARNING 85: definition of BC in terminfo.o preempts that definition in /usr/lib/libcurses.so.
ld: WARNING 85: definition of PC in terminfo.o preempts that definition in /usr/lib/libcurses.so.
ld: WARNING 85: definition of _malloc in gmalloc.o preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of _realloc in gmalloc.o preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of _free in gmalloc.o preempts that definition in /usr/lib/libc.so.

I forged ahead and ran

$ /usr/local/xemacs-20.1-b11/bin/xemacs-20.1-b11 -q
Fatal error: assertion failed, file EmacsFrame.c, line 364, RECORD_TYPEP (frame, lrecord_frame) || MARKED_RECORD_P (frame)

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

Please report this bug to the address `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 /usr/local/xemacs-20.1-b11/bin/xemacs-20.1-b11 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)
  make-frame(nil #<x-device on "wander:0.0" 0x6b4>)
  frame-initialize()
  # bind (debugger debug-on-error command-line-args-left)
  command-line()
  # (unwind-protect ...)
  normal-top-level()
  # (condition-case ... . error)
  # (catch top-level ...)
Abort(coredump)
$  dbx /usr/local/xemacs-20.1-b11/bin/xemacs-20.1-b11 core
dbx version 6.2 Mar  9 1996 15:23:28
Core from signal SIGABRT: Abort (see abort(3c))
(dbx) where
>  0 _kill(0x1bcf, 0x6, 0x1, 0x0) ["kill.s":15, 0x7610e8]
   1 fatal_error_signal(sig = 6) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/emacs.c":201, 0x4ad884]
   2 _sigtramp(0x1bcf, 0x6, 0x7fff0f78, 0x0) ["sigtramp.s":59, 0x74e82c]
   3 _kill(0x1bcf, 0x6, 0x7fff12b0, 0x0) ["kill.s":15, 0x7610e8]
   4 raise(0x6, 0x6, 0x7fff12b0, 0x0) ["raise.c":22, 0x7b4e40]
   5 abort(0x1bcf, 0x6, 0x7fff12b0, 0x0) ["abort.c":38, 0x766630]
   6 assert_failed(file = 0x1005c5e4 = "EmacsFrame.c", line = 364, expr = 0x1005c5f4 = "RECORD_TYPEP (frame, lrecord_frame) || MARKED_RECORD_P (frame)") ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/emacs.c":2202, 0x4b1114]
   7 EmacsFrameSetValues(cur_widget = 0x7fff1960, req_widget = 0x7fff1640, new_widget = 0x1027f000, dum1 = 0x1028dcf0, dum2 = 0x7fff142c) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/EmacsFrame.c":364, 0x6af6cc]
   8 _SG_XtSetValuesCleanup(0x7fff1960, 0x7fff1640, 0x1027f000, 0x1028dcf0) ["Sgi.c":1414, 0xe2d91cc]
   9 CallSetValues(0x10105fa4, 0x7fff1960, 0x7fff1640, 0x1027f000) ["SetValues.c":127, 0xf684470]
   10 XtSetValues(0x1027f000, 0x1028dcf0, 0x1, 0x0) ["SetValues.c":265, 0xf683ce4]
   11 XtVaSetValues(0x1027f000, 0x10056e70, 0x25, 0x0) ["VarCreate.c":275, 0xf6b052c]
   12 x_toolbar_size_changed_in_frame_1(f = 0x10194500, pos = TOP_TOOLBAR=0, old_visibility = 0) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/toolbar-x.c":609, 0x6864d4]
   13 x_toolbar_size_changed_in_frame(f = 0x10194500, pos = TOP_TOOLBAR=0, oldval = 269725700) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/toolbar-x.c":653, 0x686994]
   14 toolbar_size_changed_in_frame(specifier = 269845248, f = 0x10194500, oldval = 269725700) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/toolbar.c":1241, 0x618fa0]
   15 recompute_one_cached_specifier_in_frame(specifier = 269845248, f = 0x10194500) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/specifier.c":2674, 0x5f7d28]
   16 recompute_all_cached_specifiers_in_frame(f = 0x10194500) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/specifier.c":2700, 0x5f7ec8]
   17 Fmake_frame(props = 269725700, device = 270073088) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/frame.c":475, 0x529c58]
   18 primitive_funcall(fn = 0x52955c, nargs = 2, args = 0x7fff209c) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/eval.c":3462, 0x4bb708]
   19 funcall_subr(subr = 0x10064a90, args = 0x7fff209c) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/eval.c":3486, 0x4bba14]
   20 funcall_recording_as(recorded_as = 269820772, nargs = 2, args = 0x7fff2098) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/eval.c":3178, 0x4ba7fc]
   21 Ffuncall(nargs = 3, args = 0x7fff2098) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/eval.c":3222, 0x4baa38]
   22 Fbyte_code(bytestr = 805893100, vector = 1074328624, maxdepth = 5) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/bytecode.c":418, 0x45c644]
   23 funcall_lambda(fun = 269022328, nargs = 0, arg_vector = 0x7fff2404) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/eval.c":3596, 0x4bc104]
   24 funcall_recording_as(recorded_as = 270266996, nargs = 0, args = 0x7fff2400) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/eval.c":3181, 0x4ba860]
   25 Ffuncall(nargs = 1, args = 0x7fff2400) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/eval.c":3222, 0x4baa38]
   26 Fbyte_code(bytestr = 806197492, vector = 1074633064, maxdepth = 4) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/bytecode.c":418, 0x45c644]
   27 funcall_lambda(fun = 269326892, nargs = 0, arg_vector = 0x7fff26cc) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/eval.c":3596, 0x4bc104]
   28 funcall_recording_as(recorded_as = 270465196, nargs = 0, args = 0x7fff26c8) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/eval.c":3181, 0x4ba860]
   29 Ffuncall(nargs = 1, args = 0x7fff26c8) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/eval.c":3222, 0x4baa38]
   30 Fbyte_code(bytestr = 806196180, vector = 1074631716, maxdepth = 4) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/bytecode.c":418, 0x45c644]
   31 funcall_lambda(fun = 269325652, nargs = 0, arg_vector = 0x7fff27e8) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/eval.c":3596, 0x4bc104]
   32 apply_lambda(fun = 269325652, numargs = 0, unevalled_args = 269725700) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/eval.c":3519, 0x4bbbc4]
   33 Feval(form = 538762604) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/eval.c":3041, 0x4ba198]
   34 condition_case_1(handlers = 269725796, bfun = 0x4b9738, barg = 538762604, hfun = 0x472518, harg = 269725700) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/eval.c":1657, 0x4b64f8]
   35 top_level_1(dummy = 269725700) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/cmdloop.c":192, 0x47263c]
   36 internal_catch(tag = 269803276, func = 0x4725dc, arg = 269725700, threw = (nil)) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/eval.c":1334, 0x4b5e08]
   37 initial_command_loop(load_me = 269725700) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/cmdloop.c":251, 0x472808]
   38 main_1(argc = 2, argv = 0x7fff2f24, envp = 0x7fff2f30) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/emacs.c":1475, 0x4af8f0]
   39 main(argc = 2, argv = 0x7fff2f24, envp = 0x7fff2f30) ["/n/flow/home/lda/linux/xemacs/20/b11/xemacs-20.1-b11/src/emacs.c":1826, 0x4b0720]
   40 __istart() ["crt1tinit.s":13, 0x43a9c0]

