From xemacs-m  Sun Mar  9 21:33:51 1997
Received: from crystal.WonderWorks.COM (crystal.WonderWorks.com [192.203.206.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id VAA13745
	for <xemacs-beta@xemacs.org>; Sun, 9 Mar 1997 21:33:48 -0600 (CST)
Received: by crystal.WonderWorks.COM 
	id QQcgfe17648; Sun, 9 Mar 1997 22:33:48 -0500 (EST)
Date: Sun, 9 Mar 1997 22:33:48 -0500 (EST)
Message-Id: <QQcgfe17648.199703100333@crystal.WonderWorks.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Kyle Jones <kyle_jones@wonderworks.com>
To: xemacs-beta@xemacs.org
Subject: crash
In-Reply-To: <199703091346.HAA16099@mharnois.workgroup.net>
References: <199703091346.HAA16099@mharnois.workgroup.net>
X-Face: /cA45WHG7jWq>(O3&Z57Y<"WsX5ddc,4c#w0F*zrV#=M
        0@~@,s;b,aMtR5Sqs"+nU.z^CSFQ9t`z2>W,S,]:[+2^
        Nbf6v4g>!&,7R4Ot4Wg{&tm=WX7P["9%a)_da48-^tGy
        ,qz]Z,Zz\{E.,]'EO+F)@$KtF&V

One part of the stackatrace below that looks interstting is that
Lisp is being run from inside Fnext_event.  There's a comment at
the top of Fnext_event that warns against running QUIT inside it
or any functions that it calls.  You can't run Lisp code if you
want to avoid running QUIT.  I doubt that this has anything to do
with the GC crash, but it illustrates the myriad ways you can
end up running Lisp code when maybe the code isn't expecting
it.

Michael Harnois writes:
 > This happened when I was trying to save a file.
 > 
 > #0  0x404159d1 in ?? () from /usr/lib/libc-2.0.1.so
 > #1  0x808eb5e in fatal_error_signal (sig=6) at emacs.c:200
 > #2  0xbfffe404 in ?? ()
 > #3  0x4041682f in ?? () from /usr/lib/libc-2.0.1.so
 > #4  0x809080e in assert_failed (file=0x81e7c64 "eval.c", line=1873, 
 >     expr=0x81e7c5c "abort()") at emacs.c:2201
 > #5  0x8092e36 in signal_1 (sig=405880980, data=680497468) at eval.c:1873
 > #6  0x809330a in Fsignal (error_symbol=405880980, data=680497468)
 >     at eval.c:2040
 > #7  0x8093333 in signal_error (sig=405880980, data=680497468) at eval.c:2049
 > #8  0x80786fc in dead_wrong_type_argument (predicate=405959884, 
 >     value=408701364) at data.c:136
 > #9  0x8156957 in find_symbol_value_quickly (symbol_cons=408701364, find_it_p=0)
 >     at symbols.c:1550
 > #10 0x805f06e in set_buffer_internal (b=0x853b000) at buffer.c:1573
 > #11 0x80c7d86 in Fdo_auto_save (no_message=405880860, current_only=405880836)
 >     at fileio.c:4352
 > #12 0x809033b in shut_down_emacs (sig=11, stuff=405880836) at emacs.c:1916
 > #13 0x808eaf0 in fatal_error_signal (sig=11) at emacs.c:179
 > #14 0xbfffe8d4 in ?? ()
 > #15 0x8055e42 in gc_sweep () at alloc.c:3860
 > #16 0x8056481 in garbage_collect_1 () at alloc.c:4131
 > #17 0x8094f5d in funcall_recording_as (recorded_as=405987108, nargs=3, 
 >     args=0xbfffeb04) at eval.c:3093
 > #18 0x8095233 in Ffuncall (nargs=3, args=0xbfffeb04) at eval.c:3217
 > #19 0x80642b6 in Fbyte_code (bytestr=941996728, vector=1210432252, maxdepth=4)
 >     at bytecode.c:418
 > #20 0x8095fd7 in funcall_lambda (fun=405125956, nargs=2, arg_vector=0xbfffecf0)
 >     at eval.c:3591
 > #21 0x80951ee in funcall_recording_as (recorded_as=406652956, nargs=3, 
 >     args=0xbfffecec) at eval.c:3189
 > #22 0x8095233 in Ffuncall (nargs=3, args=0xbfffecec) at eval.c:3217
 > #23 0x80642b6 in Fbyte_code (bytestr=941997040, vector=1210432584, maxdepth=4)
 >     at bytecode.c:418
 > #24 0x8095fd7 in funcall_lambda (fun=405126320, nargs=2, arg_vector=0xbfffef08)
 >     at eval.c:3591
 > #25 0x80951ee in funcall_recording_as (recorded_as=406640468, nargs=3, 
 >     args=0xbfffef04) at eval.c:3189
 > #26 0x8095233 in Ffuncall (nargs=3, args=0xbfffef04) at eval.c:3217
 > #27 0x80964d0 in run_hook_with_args_in_buffer (buf=0x8940c00, nargs=3, 
 >     args=0xbfffef04, cond=RUN_HOOKS_TO_COMPLETION) at eval.c:3737
 > #28 0x809674a in run_hook_with_args (nargs=3, args=0xbfffef04, 
 >     cond=RUN_HOOKS_TO_COMPLETION) at eval.c:3785
 > #29 0x8096382 in Frun_hook_with_args (nargs=3, args=0xbfffef04) at eval.c:3670
 > #30 0x80950e5 in funcall_recording_as (recorded_as=405965908, nargs=4, 
 >     args=0xbfffef00) at eval.c:3156
 > #31 0x8095233 in Ffuncall (nargs=4, args=0xbfffef00) at eval.c:3217
 > #32 0x80642b6 in Fbyte_code (bytestr=941998188, vector=1210433680, maxdepth=4)
 >     at bytecode.c:418
 > #33 0x80959ed in primitive_funcall (fn=0x8063ae0 <Fbyte_code>, nargs=3, 
 >     args=0xbfffeffc) at eval.c:3458
 > #34 0x8095bd8 in funcall_subr (subr=0x821daa0, args=0xbfffeffc) at eval.c:3481
 > #35 0x8094dc1 in Feval (form=673562716) at eval.c:3029
 > #36 0x80929ab in condition_case_1 (handlers=673562792, bfun=0x80945d0 <Feval>, 
 >     barg=673562716, hfun=0x8092a30 <run_condition_case_handlers>, 
 >     harg=406653292) at eval.c:1647
 > #37 0x8092bef in Fcondition_case_3 (bodyform=673562716, var=406653292, 
 >     handlers=673562792) at eval.c:1710
 > #38 0x8064734 in Fbyte_code (bytestr=941998008, vector=1210433588, maxdepth=4)
 >     at bytecode.c:578
 > #39 0x8095fd7 in funcall_lambda (fun=405127564, nargs=2, arg_vector=0xbffff510)
 >     at eval.c:3591
 > #40 0x80951ee in funcall_recording_as (recorded_as=406653196, nargs=3, 
 >     args=0xbffff50c) at eval.c:3189
 > #41 0x8095233 in Ffuncall (nargs=3, args=0xbffff50c) at eval.c:3217
 > #42 0x80642b6 in Fbyte_code (bytestr=941997700, vector=1210433268, maxdepth=4)
 >     at bytecode.c:418
 > #43 0x8095fd7 in funcall_lambda (fun=405127008, nargs=4, arg_vector=0xbffff630)
 >     at eval.c:3591
 > #44 0x80951ee in funcall_recording_as (recorded_as=405984196, nargs=5, 
 >     args=0xbffff62c) at eval.c:3189
 > #45 0x8095233 in Ffuncall (nargs=5, args=0xbffff62c) at eval.c:3217
 > #46 0x8096aa4 in call4 (fn=405984196, arg0=405880836, arg1=412217344, 
 >     arg2=405880836, arg3=405880836) at eval.c:3990
 > #47 0x810eb73 in clear_echo_area_internal (f=0x891f000, label=405880836, 
 >     from_print=0, no_restore=0) at minibuf.c:632
 > #48 0x810ebc6 in clear_echo_area (f=0x891f000, label=405880836, no_restore=0)
 >     at minibuf.c:646
 > #49 0x80a05ab in echo_key_event (command_builder=0x8373d80, event=412162980)
 >     at event-stream.c:608
 > #50 0x80a440b in Fnext_event (event=412162980, prompt=405880836)
 >     at event-stream.c:2156
 > #51 0x8072284 in Fcommand_loop_1 () at cmdloop.c:531
 > #52 0x8071f83 in command_loop_1 (dummy=405880836) at cmdloop.c:460
 > #53 0x80929ab in condition_case_1 (handlers=405880932, 
 >     bfun=0x8071f10 <command_loop_1>, barg=405880836, 
 >     hfun=0x8071230 <cmd_error>, harg=405880836) at eval.c:1647
 > #54 0x8071310 in command_loop_3 () at cmdloop.c:222
 > #55 0x8071338 in command_loop_2 (dummy=405880836) at cmdloop.c:233
 > #56 0x8092549 in internal_catch (tag=405958660, 
 >     func=0x8071330 <command_loop_2>, arg=405880836, threw=0x0) at eval.c:1324
 > #57 0x8071742 in initial_command_loop (load_me=405880836) at cmdloop.c:271
 > #58 0x808f9ce in main_1 (argc=1, argv=0xbffffa80, envp=0xbffffa88)
 >     at emacs.c:1474
 > #59 0x8090119 in main (argc=1, argv=0xbffffa80, envp=0xbffffa88)
 >     at emacs.c:1825
 > 
 > 

