From xemacs-m  Wed Jul 30 11:32:42 1997
Received: from hubbub.cisco.com (mailgate-sj-1.cisco.com [198.92.30.31])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA08511
	for <xemacs-beta@xemacs.org>; Wed, 30 Jul 1997 11:32:42 -0500 (CDT)
Received: from sandman (sandman.cisco.com [171.70.19.29]) by hubbub.cisco.com (8.8.4-Cisco.1/CISCO.GATE.1.1) with ESMTP id JAA25256 for <xemacs-beta@xemacs.org>; Wed, 30 Jul 1997 09:32:11 -0700 (PDT)
Received: (from drich@localhost) by sandman (SMI-8.6/8.6.12) id JAA15136 for xemacs-beta@xemacs.org; Wed, 30 Jul 1997 09:32:10 -0700
Date: Wed, 30 Jul 1997 09:32:10 -0700
From: Dan Rich <drich@cisco.com>
Message-Id: <199707301632.JAA15136@sandman>
To: xemacs-beta@xemacs.org
Subject: Berlin goes "boom"

I just had my first crash in a while, when trying a "gnuclient -nw" with
Berlin.  Here's the lisp backtrace:

Lisp backtrace follows:

  # (condition-case ... . error)
  # (unwind-protect ...)
  make-device(tty "/dev/pts/15" (terminal-type "xterm" controlling-process 15126))
  # bind (controlling-process terminal-type tty)
  make-tty-device("/dev/pts/15" "xterm" 15126)
  apply(make-tty-device ("/dev/pts/15" "xterm" 15126))
  # bind (dest-frame new-frame old-device-num quick view flags list type)
  gnuserv-edit-files((tty "/dev/pts/15" "xterm" 15126) ((1 . "/tmp/crontaba003gJ")))
  eval((gnuserv-edit-files (quote (tty "/dev/pts/15" "xterm" 15126)) (quote (...))))
  byte-code("@A\n
                 A\"@!" [eval read-from-string gnuserv-string header] 4)
  # (condition-case ... . ((error (byte-code "@B

                                                \EF
                                                   @
                                                    A\"" ... 3)) (quit (byte-code "@B

     \EFGE\"" ... 3))))
  # bind (header string proc)
  gnuserv-process-filter(#<process "gnuserv" pid 649 state:run> "6 (gnuserv-edit-files '(tty \"/dev/pts/15\" \"xterm\" 15126) '((1 . \"/tmp/crontaba003gJ\")))")
  # (condition-case ... . error)
  # (condition-case ... . error)
  # (catch top-level ...)

and the stack trace from gdb:

GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (sparc-sun-solaris2.5.1), 
Copyright 1996 Free Software Foundation, Inc...
Core was generated by `/local/beta/bin/xemacs'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/dt/lib/libXm.so.3...done.
Reading symbols from /opt/local/lib/libz.so.1.0.4...done.
Reading symbols from /opt/local/X11R6/lib/libXpm.so.4.10...done.
Reading symbols from /usr/dt/lib/libDtSvc.so.1...done.
Reading symbols from /usr/dt/lib/libtt.so.2...done.
Reading symbols from /opt/local/X11R6/lib/libXmu.so.6.0...done.
Reading symbols from /opt/local/X11R6/lib/libXt.so.6.0...done.
Reading symbols from /opt/local/X11R6/lib/libXext.so.6.3...done.
Reading symbols from /opt/local/X11R6/lib/libX11.so.6.1...done.
Reading symbols from /opt/local/X11R6/lib/libSM.so.6.0...done.
Reading symbols from /opt/local/X11R6/lib/libICE.so.6.3...done.
Reading symbols from /opt/gnu/lib/libncurses.so.3.0...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/openwin/lib/libXext.so.0...done.
Reading symbols from /usr/lib/libintl.so.1...done.
Reading symbols from /usr/lib/libw.so.1...done.
Reading symbols from /usr/lib/libmp.so.1...done.
Reading symbols from /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1...done.
#0  0xeeff452c in kill ()
(gdb) #0  0xeeff452c in kill ()
#1  0x8b010 in fatal_error_signal (sig=6) at emacs.c:214
#2  <signal handler called>
#3  0xeeff452c in kill ()
#4  0x8d20c in assert_failed (file=0x25d290 "insdel.c", line=369, 
    expr=0x25d2b8 "ptr == end") at emacs.c:2206
#5  0x132540 in bytecount_to_charcount (ptr=0x1694108 "[2~", len=3)
    at insdel.c:369
#6  0x4b7bc in make_string (contents=0x1694103 "\eO\200", length=3)
    at alloc.c:2137
#7  0x4b8c0 in build_string (str=0x1694103 "\eO\200") at alloc.c:2169
#8  0xd9634 in term_get_fkeys_1 (function_key_map=290247360)
    at redisplay-tty.c:1419
#9  0x8f928 in condition_case_1 (handlers=3814400, 
    bfun=0xd95fc <term_get_fkeys_1>, barg=290247360, 
    hfun=0xd95f4 <term_get_fkeys_error>, harg=1346232324) at eval.c:1684
#10 0xd95ec in term_get_fkeys (keymap=290247360, address=0xefffc494)
    at redisplay-tty.c:1397
#11 0xd9558 in init_tty_for_redisplay (d=0x16a4400, terminal_type=0x3ad400 "")
    at redisplay-tty.c:1267
#12 0xd1dbc in tty_init_device (d=0x16a4400, props=560929044)
    at device-tty.c:98
#13 0x7cf64 in Fmake_device (type=-268448360, connection=812666732, 
    props=560929044) at device.c:591
#14 0x92d3c in primitive_funcall (fn=0x7cc6c <Fmake_device>, nargs=3, 
    args=0xefffd0ec) at eval.c:3444
#15 0x92f2c in funcall_subr (subr=0x291d4c, args=0xefffd0ec) at eval.c:3467
#16 0x922d8 in funcall_recording_as (recorded_as=271129932, nargs=3, 
    args=0xefffd0e8) at eval.c:3163
#17 0x923f0 in Ffuncall (nargs=4, args=0xefffd0e8) at eval.c:3203
#18 0x5e588 in Fbyte_code (bytestr=808161768, vector=1076597252, maxdepth=9)
    at bytecode.c:418
#19 0x933e0 in funcall_lambda (fun=271290904, nargs=3, arg_vector=0xefffd3bc)
    at eval.c:3572
#20 0x9239c in funcall_recording_as (recorded_as=271290904, nargs=3, 
    args=0xefffd3b8) at eval.c:3179
#21 0x923f0 in Ffuncall (nargs=4, args=0xefffd3b8) at eval.c:3203
#22 0x92c88 in Fapply (nargs=4, args=0xefffdce4) at eval.c:3415
#23 0x92248 in funcall_recording_as (recorded_as=271134716, nargs=2, 
    args=0xefffdce0) at eval.c:3146
#24 0x923f0 in Ffuncall (nargs=3, args=0xefffdce0) at eval.c:3203
#25 0x5e588 in Fbyte_code (bytestr=810595544, vector=1078066176, maxdepth=64)
    at bytecode.c:418
#26 0x933e0 in funcall_lambda (fun=274761444, nargs=2, arg_vector=0xefffde98)
    at eval.c:3572
#27 0x93018 in apply_lambda (fun=274761444, numargs=2, 
    unevalled_args=1346232324) at eval.c:3500
#28 0x91f64 in Feval (form=560928820) at eval.c:3057
#29 0x92d10 in primitive_funcall (fn=0x91708 <Feval>, nargs=1, args=0xefffe3c4)
    at eval.c:3442
#30 0x92f2c in funcall_subr (subr=0x292f9c, args=0xefffe3c4) at eval.c:3467
#31 0x922d8 in funcall_recording_as (recorded_as=271134620, nargs=1, 
    args=0xefffe3c0) at eval.c:3163
#32 0x923f0 in Ffuncall (nargs=2, args=0xefffe3c0) at eval.c:3203
#33 0x5e588 in Fbyte_code (bytestr=810594572, vector=1080465888, maxdepth=8)
    at bytecode.c:418
#34 0x92d3c in primitive_funcall (fn=0x5de44 <Fbyte_code>, nargs=3, 
    args=0xefffe660) at eval.c:3444
#35 0x92f2c in funcall_subr (subr=0x2907b0, args=0xefffe660) at eval.c:3467
#36 0x91e80 in Feval (form=541414372) at eval.c:3035
#37 0x8f928 in condition_case_1 (handlers=3814400, bfun=0x91708 <Feval>, 
    barg=541414372, hfun=0x8f998 <run_condition_case_handlers>, 
    harg=1347987412) at eval.c:1684
#38 0x8fb08 in Fcondition_case_3 (bodyform=541414372, var=1347987412, 
    handlers=541414652) at eval.c:1747
#39 0x5ea4c in Fbyte_code (bytestr=810594392, vector=1079846144, maxdepth=29)
    at bytecode.c:578
#40 0x933e0 in funcall_lambda (fun=274761284, nargs=2, arg_vector=0xefffeccc)
    at eval.c:3572
#41 0x9239c in funcall_recording_as (recorded_as=274761284, nargs=2, 
    args=0xefffecc8) at eval.c:3179
#42 0x923f0 in Ffuncall (nargs=3, args=0xefffecc8) at eval.c:3203
#43 0x93e84 in call2 (fn=1347987392, arg0=274977152, arg1=812666600)
    at eval.c:3935
#44 0x95028 in catch_them_squirmers_call2 (cons=560928804) at eval.c:4467
#45 0x8f928 in condition_case_1 (handlers=3814400, 
    bfun=0x94f64 <catch_them_squirmers_call2>, barg=560928804, 
    hfun=0x944c8 <caught_a_squirmer>, harg=272480896) at eval.c:1684
#46 0x953a4 in call2_trapping_errors (
    warning_string=0x2650a0 "Error in process filter", function=1347987392, 
    object1=274977152, object2=812666600) at eval.c:4531
#47 0x162654 in read_process_output (proc=274977152) at process.c:1700
#48 0xe37b0 in execute_internal_event (event=275421884) at event-stream.c:2887
#49 0xe9104 in Fdispatch_event (event=275421884) at event-stream.c:4624
#50 0x6d904 in Fcommand_loop_1 () at cmdloop.c:560
#51 0x6d55c in command_loop_1 (dummy=1346232324) at cmdloop.c:480
#52 0x8f928 in condition_case_1 (handlers=3814400, 
    bfun=0x6d4b8 <command_loop_1>, barg=1346232324, hfun=0x6c644 <cmd_error>, 
    harg=1346232324) at eval.c:1684
#53 0x6c75c in command_loop_3 () at cmdloop.c:242
#54 0x6c784 in command_loop_2 (dummy=1346232324) at cmdloop.c:253
#55 0x8f480 in internal_catch (tag=1346309500, func=0x6c778 <command_loop_2>, 
    arg=1346232324, threw=0x0) at eval.c:1361
#56 0x6cc14 in initial_command_loop (load_me=444280) at cmdloop.c:291
#57 0x8c280 in xemacs_20_3_b15_sparc_sun_solaris2_5_1 (argc=1, 
    argv=0xeffffa84, envp=0xeffffa8c) at emacs.c:1468
#58 0x8ca34 in main (argc=0, argv=0xeffffa84, envp=0xeffffa8c) at emacs.c:1819
(gdb) 

