From xemacs-m  Tue Jul  8 00:56:24 1997
Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id AAA16645
	for <xemacs-beta@xemacs.org>; Tue, 8 Jul 1997 00:56:03 -0500 (CDT)
Received: from orion.kurims.kyoto-u.ac.jp (orion.kurims.kyoto-u.ac.jp [130.54.16.5]) by kurims.kurims.kyoto-u.ac.jp (8.8.5/3.4W2) with SMTP id OAA26594 for <xemacs-beta@xemacs.org>; Tue, 8 Jul 1997 14:55:49 +0900 (JST)
Received: (from petersen@localhost) by orion.kurims.kyoto-u.ac.jp (SMI-8.6/3.5Wbeta) id OAA15947; Tue, 8 Jul 1997 14:55:49 +0900
To: XEmacs Beta List <xemacs-beta@xemacs.org>
Subject: b11 crash report (with mic-paren and w3)
From: Jens-U H Petersen <petersen@kurims.kyoto-u.ac.jp>
Date: 08 Jul 1997 14:55:49 +0900
Message-ID: <lbafjyuly2.fsf@orion.kurims.kyoto-u.ac.jp>
Lines: 198
X-Mailer: Gnus v5.4.52/XEmacs 20.2

I built b11 with the official patches without any problems on

	SunOS orion 5.5 Generic_103093-06 sun4u sparc SUNW,Ultra-1
with
	../configure  --with-mule --with-gnu-make

(see bottom for configure output).  

Here is how xemacs crashes for me.

	./xemacs -q -load test.el

where "test.el" is

---- Start of included text -----------------------8<--- cut here -------------
(load-library "mic-paren")
(w3-fetch
 "http://xxx.lanl.gov/find/q-alg/1/akasaka/0/1/0/past/3/0")
---- End of included text -------------------------8<--- and here -------------

(for people in Japan: xxx.yukawa.kyoto-u.ac.jp is a mirror of the
above site.)  There is nothing special about this page, *except* that
it has a horizontal line (<HR>) in it!

I move point (the cursor) to the right 3 times and then down 10 times
towards the bottom of the page with the cursor keys.  At this point it
gets to a horizontal centred line and crashes with

	Jul  8 14:24:22 orion syslog: ioctl: I_SETSIG failed 22

in xconsole, and the output

---- Start of included text -----------------------8<--- cut here -------------
Fatal error: assertion failed, file /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/lisp.h, line 1226, INTP (obj)

Fatal error (6).
:
Lisp backtrace follows:

  mic-paren-highlight()
  # (condition-case ... . ((error (byte-code "<editted out>" ... 3))))
  mic-paren-command-hook()
  # (condition-case ... . error)
  # (condition-case ... . error)
  # (catch top-level ...)
Abort (core dumped)
---- End of included text -------------------------8<--- and here -------------

Taking "core" into gdb and asking where, gives me:

---- Start of included text -----------------------8<--- cut here -------------
Program terminated with signal 6, Aborted.
Reading symbols from /usr/dt/lib/libXm.so.3...done.
Reading symbols from /usr/local/X11R6.1/lib/libXpm.so.4.8...done.
Reading symbols from /usr/dt/lib/libtt.so.2...done.
Reading symbols from /usr/local/X11R6.1/lib/libXmu.so.6.0...done.
Reading symbols from /usr/local/X11R6.1/lib/libXt.so.6.0...done.
Reading symbols from /usr/local/X11R6.1/lib/libXext.so.6.1...done.
Reading symbols from /usr/local/X11R6.1/lib/libX11.so.6.1...done.
Reading symbols from /usr/local/X11R6.1/lib/libSM.so.6.0...done.
Reading symbols from /usr/local/X11R6.1/lib/libICE.so.6.0...done.
Reading symbols from /usr/lib/libintl.so.1...done.
Reading symbols from /usr/lib/libkvm.so.1...done.
Reading symbols from /usr/lib/libkstat.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libelf.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/openwin/lib/libXt.so.4...done.
Reading symbols from /usr/openwin/lib/libX11.so.4...done.
Reading symbols from /usr/lib/libw.so.1...done.
Reading symbols from /usr/lib/libmp.so.1...done.
Reading symbols from /usr/openwin/lib/libXext.so.0...done.
Reading symbols from /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1...done.
#0  0xef174140 in _kill ()
(gdb) where
#0  0xef174140 in _kill ()
#1  0x8addc in fatal_error_signal (sig=6)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/emacs.c:207
#2  <signal handler called>
#3  0xef174140 in _kill ()
#4  0x8cfe0 in assert_failed (
    file=0x22ce00 "/proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/lisp.h", line=1226, expr=0x22cfd8 "INTP (obj)")
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/emacs.c:2194
#5  0x5f57c in Fbyte_code (bytestr=811314932, vector=1079514880, maxdepth=274)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/lisp.h:1226
#6  0x9317c in funcall_lambda (fun=274402276, nargs=0, arg_vector=0xefffe4f0)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:3584
#7  0x92db4 in apply_lambda (fun=274402276, numargs=0, 
    unevalled_args=1346228228)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:3512
#8  0x91cfc in Feval (form=542451892)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:3069
#9  0x8f684 in condition_case_1 (handlers=3829760, bfun=0x914a0 <Feval>, 
    barg=542451892, hfun=0x8f6f4 <run_condition_case_handlers>, 
    harg=1348114408)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:1684
#10 0x8f864 in Fcondition_case_3 (bodyform=542451892, var=1348114408, 
    handlers=542453388)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:1747
#11 0x5e56c in Fbyte_code (bytestr=811314572, vector=1079574688, maxdepth=11)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/bytecode.c:579
#12 0x9317c in funcall_lambda (fun=274402212, nargs=0, arg_vector=0xefffed50)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:3584
#13 0x92134 in funcall_recording_as (recorded_as=274402212, nargs=0, 
    args=0xefffed4c)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:3191
#14 0x92188 in Ffuncall (nargs=1, args=0xefffed4c)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:3215
#15 0x938f4 in run_hook_with_args_in_buffer (buf=0x503dd004, nargs=1, 
    args=0xefffed4c, cond=RUN_HOOKS_TO_COMPLETION)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:3765
#16 0x9396c in run_hook_with_args (nargs=1, args=0xefffed4c, 
    cond=RUN_HOOKS_TO_COMPLETION)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:3778
#17 0x935a4 in Frun_hooks (nargs=4, args=0xefffee14)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:3641
#18 0x93ac8 in run_hook (hook=1346312168)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:3882
#19 0x947d0 in catch_them_squirmers_run_hook (hook_symbol=1346312168)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:4354
#20 0x8f684 in condition_case_1 (handlers=3829760, 
    bfun=0x947c4 <catch_them_squirmers_run_hook>, barg=1346312168, 
    hfun=0x9443c <allow_quit_safe_run_hook_caught_a_squirmer>, harg=544119420)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:1684
#21 0x94a38 in safe_run_hook_trapping_errors (
    warning_string=0x24ebf0 "Error in `post-command-hook' (setting hook to nil)", hook_symbol=1346312168, allow_quit=1)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:4414
#22 0xeb0d8 in post_command_hook ()
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/event-stream.c:3777
#23 0xeae18 in execute_command_event (command_builder=0x44cfc0, 
    event=276132540)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/event-stream.c:3699
#24 0xebfbc in Fdispatch_event (event=276132540)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/event-stream.c:3988
#25 0x6d3ec in Fcommand_loop_1 ()
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/cmdloop.c:560
#26 0x6d044 in command_loop_1 (dummy=1346228228)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/cmdloop.c:480
#27 0x8f684 in condition_case_1 (handlers=3829760, 
    bfun=0x6cfa0 <command_loop_1>, barg=1346228228, hfun=0x6c12c <cmd_error>, 
    harg=1346228228)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:1684
#28 0x6c244 in command_loop_3 ()
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/cmdloop.c:242
#29 0x6c26c in command_loop_2 (dummy=1346228228)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/cmdloop.c:253
#30 0x8f1dc in internal_catch (tag=1346305424, func=0x6c260 <command_loop_2>, 
    arg=1346228228, threw=0x0)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/eval.c:1361
#31 0x6c6fc in initial_command_loop (load_me=442976)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/cmdloop.c:291
#32 0x8c080 in main_20_3_b11_sparc_sun_solaris2_5 (argc=4, argv=0xeffff704, 
    envp=0xeffff718)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/emacs.c:1464
#33 0x8c834 in main (argc=0, argv=0xeffff704, envp=0xeffff718)
    at /proj2/lang/mule-unsupported/src/xemacs-20.3-b11/src/emacs.c:1815
(gdb) 
---- End of included text -------------------------8<--- and here -------------

If someone wants to see the byte-code I send it to them.

Cheers, Jens


Configured for `sparc-sun-solaris2.5'.

  Where should the build process find the source code?    /proj2/lang/mule-unsupported/src/xemacs-20.3-b11
  What installation prefix should install use?		  /usr/local
  What operating system and machine description files should XEmacs use?
        `s/sol2.h' and `m/sparc.h'
  What compiler should XEmacs be built with?              gcc -g -O2
  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/dt/include /usr/local/X11R6.1/include
  Where do we find X Windows libraries?                   /usr/dt/lib /usr/local/X11R6.1/lib
  Runtime library search path:                            /usr/dt/lib:/usr/local/X11R6.1/lib:/usr/local/lib
  Compiling in support for XAUTH.
  Compiling in support for GIF image conversion.
  Compiling in support for XPM images.
  Compiling in native sound support.
  Compiling in support for GNU DBM.
  Compiling in Mule (multi-lingual) support.
  Compiling in XIM (X11R5+ I18N input method) support.
    Using Motif to provide XIM support.
  Compiling in support for the WNN input method on Mule.
    Using WNN version 6.
  Compiling in support for ToolTalk.
  Using Lucid menubars.
  Using Lucid scrollbars.
  Using Motif dialog boxes.
  movemail will use "dot-locking" for locking mail spool files.
  Compiling in extra code for debugging.
  Compiling in code for checking XEmacs memory usage.

