From xemacs-m  Wed Jul 30 11:53:04 1997
Received: from bittersweet.inetarena.com (karlheg@bittersweet.inetarena.com [206.129.216.38])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA08754
	for <xemacs-beta@xemacs.org>; Wed, 30 Jul 1997 11:53:00 -0500 (CDT)
Received: (from karlheg@localhost)
	by bittersweet.inetarena.com (8.8.6/8.8.6/Debian/GNU) id JAA25582;
	Wed, 30 Jul 1997 09:52:51 -0700
To: XEmacs Beta <xemacs-beta@xemacs.org>
Subject: Fatal error: assertion failed, file eval.c, line 1910, abort()
X-Face: /Q}=yl}1_v7nP)xXo5XjG8+tl@=uVu7o5u6)f]zN?+<hB!K.m9:[|*p34jVN`O;:XZXVSy>/\R>qDt(t8w!-i{(y0"`jFw^uk8inzO9wXabd'CdjUWfC\GHi:6nO*YC89#-qD>Q4r%9!V"<RYJ=7D#$";q=zML5'!=wvXk^$`6FT=5CMofQX)WUKt0p:OKl.mFOXx/D
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: multipart/mixed;
 boundary="Multipart_Wed_Jul_30_09:52:50_1997-1"
Content-Transfer-Encoding: 7bit
From: karlheg+xemacs@inetarena.com (Karl M. Hegbloom)
Date: 30 Jul 1997 09:52:51 -0700
Message-ID: <877me8pjmk.fsf@bittersweet.inetarena.com>
Lines: 256
X-Mailer: Gnus v5.4.64/XEmacs 20.3(beta15) - "Berlin"

--Multipart_Wed_Jul_30_09:52:50_1997-1
Content-Type: text/plain; charset=US-ASCII


 I cannot get a repeat.  I was playing with call-process and a
slightly modified version of the process filter shown in the lispref
Info.

 Here I am trying it again to see if it's repeatable:
8<----------------------------------------------------------...
(shell-command "mkfifo --mode=0600 /tmp/monfifo")
t
(start-process "cat" "*cat*" "cat" "/tmp/monfifo")
#<process "cat" pid 25510 state:run>
(defun ordinary-insertion-filter (proc string)
  (let ((old-buffer (current-buffer)))
    (unwind-protect
	(let (moving)
	  (set-buffer (process-buffer proc))
	  (setq moving (= (point) (process-mark proc)))
	  (save-excursion
	    ;; Insert the text, moving the process-marker.
	    (goto-char (process-mark proc))
	    (insert string)
	    (insert "\n------------------\n")
	    (set-marker (process-mark proc) (point)))
	  (if moving (goto-char (process-mark proc))))
      (set-buffer old-buffer))))
ordinary-insertion-filter
(set-process-filter (get-process "cat") 'ordinary-insertion-filter)
ordinary-insertion-filter
(shell-command "echo monitor /tmp/monfifo >/dev/dialdctl")
t

 *cat* now starts filling with:
STATE
DOWN

------------------
STATUS
0
0
1
0
0
0
00:00:00
12:32:44
00:00:00
QUEUE
END QUEUE
LOAD
0
0

------------------
STATUS
0
0
1
0
0
0
00:00:00
12:32:43
00:00:00
QUEUE
END QUEUE
LOAD
0
0
[.....]
8<---------------------------...

 So everything's working as it should.  Why did it crash before?  I
had run this same experiment several times previously, and this
morning needed sample output for my real filter, and ran it again.
That's when XEmacs dumped core.  This XEmacs had been running for over
a day... but I don't see how that process filter could have been
calling out to anything other than what I've shown above.

 This is the original error string, from ~/.xsession-errors, followed
by the `where' from the core file.

--Multipart_Wed_Jul_30_09:52:50_1997-1
Content-Type: text/plain; charset=US-ASCII


Fatal error: assertion failed, file eval.c, line 1910, abort()


--Multipart_Wed_Jul_30_09:52:50_1997-1
Content-Type: text/plain; charset=US-ASCII

Script started on Wed Jul 30 09:31:42 1997
]0;karlheg@bittersweet:~
501$ gdb which     xemacs core
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 (i586-debian-linux), Copyright 1996 Free Software Foundation, Inc...
Core was generated by `xemacs'.
Program terminated with signal 6, IOT trap/Abort.
find_solib: Can't read pathname for load map: I/O error

#0  0x40250ea1 in ?? () from /lib/libc.so.6
(gdb) where
#0  0x40250ea1 in ?? () from /lib/libc.so.6
#1  0x40250cbf in ?? () from /lib/libc.so.6
#2  0x40251eef in ?? () from /lib/libc.so.6
#3  0x806d036 in syms_of_emacs () at emacs.c:2209
#4  0x806ed9b in signal_1 (sig=1478873212, data=683234844) at eval.c:1910
#5  0x806f0f1 in Fsignal (error_symbol=1478873212, data=683234844) at eval.c:2077
#6  0x806f113 in signal_error (sig=1478873212, data=683234844) at eval.c:2086
#7  0x8060709 in Fwrong_type_argument (predicate=1478951336, value=1478873092)
    at data.c:123
#8  0x80b989a in Fmarker_buffer (marker=1478873092) at marker.c:116
#9  0x8068479 in save_excursion_restore (info=1478873092) at editfns.c:442
#10 0x80726d7 in unbind_to (count=24, value=1478873092) at eval.c:4723
#11 0x80586a6 in Fbyte_code (bytestr=944763820, vector=1214503040, maxdepth=5)
    at bytecode.c:439
#12 0x8070efa in funcall_lambda (fun=409065668, nargs=1, arg_vector=0xbfffe35c)
    at eval.c:3572
#13 0x80705c6 in funcall_recording_as (recorded_as=1482853096, nargs=2, 
    args=0xbfffe358) at eval.c:3179
#14 0x8070606 in Ffuncall (nargs=2, args=0xbfffe358) at eval.c:3203
#15 0x805865c in Fbyte_code (bytestr=944762884, vector=1214502912, maxdepth=4)
    at bytecode.c:418
#16 0x8070efa in funcall_lambda (fun=409065828, nargs=3, arg_vector=0xbfffe4a8)
    at eval.c:3572
#17 0x80705c6 in funcall_recording_as (recorded_as=1482823596, nargs=4, 
    args=0xbfffe4a4) at eval.c:3179
#18 0x8070606 in Ffuncall (nargs=4, args=0xbfffe4a4) at eval.c:3203
#19 0x805865c in Fbyte_code (bytestr=945001568, vector=1214334880, maxdepth=4)
    at bytecode.c:418
#20 0x8070efa in funcall_lambda (fun=409066084, nargs=1, arg_vector=0xbfffe600)
    at eval.c:3572
#21 0x80705c6 in funcall_recording_as (recorded_as=1481292040, nargs=2, 
    args=0xbfffe5fc) at eval.c:3179
#22 0x8070606 in Ffuncall (nargs=2, args=0xbfffe5fc) at eval.c:3203
#23 0x805865c in Fbyte_code (bytestr=945007508, vector=1214335904, maxdepth=4)
    at bytecode.c:418
#24 0x8070efa in funcall_lambda (fun=409066564, nargs=1, arg_vector=0xbfffe7a8)
    at eval.c:3572
---Type <return> to continue, or q <return> to quit---
#25 0x80705c6 in funcall_recording_as (recorded_as=1481292300, nargs=2, 
    args=0xbfffe7a4) at eval.c:3179
#26 0x8070606 in Ffuncall (nargs=2, args=0xbfffe7a4) at eval.c:3203
#27 0x805865c in Fbyte_code (bytestr=945008036, vector=1213665664, maxdepth=4)
    at bytecode.c:418
#28 0x8070efa in funcall_lambda (fun=409066468, nargs=8, arg_vector=0xbfffe8c4)
    at eval.c:3572
#29 0x80705c6 in funcall_recording_as (recorded_as=1481292220, nargs=9, 
    args=0xbfffe8c0) at eval.c:3179
#30 0x8070606 in Ffuncall (nargs=9, args=0xbfffe8c0) at eval.c:3203
#31 0x8071707 in call8 (fn=1481292220, arg0=1478960508, arg1=1478873092, 
    arg2=1478873092, arg3=948060296, arg4=1478873092, arg5=1478950956, 
    arg6=948060296, arg7=1478873092) at eval.c:4056
#32 0x809a35d in Fwrite_region_internal (start=1478873092, end=1478873092, 
    filename=948060296, append=1478873092, visit=1478950956, lockname=948060296, 
    codesys=1478873092) at fileio.c:3424
#33 0x809b181 in auto_save_1 (ignored=1478873092) at fileio.c:4231
#34 0x806eaa8 in condition_case_1 (handlers=1478873112, 
    bfun=0x809b104 <auto_save_1>, barg=1478873092, hfun=0x809b036 <auto_save_error>, 
    harg=1478873092) at eval.c:1684
#35 0x809b720 in Fdo_auto_save (no_message=1478873112, current_only=1478873092)
    at fileio.c:4479
#36 0x806cc22 in shut_down_emacs (sig=6, stuff=1478873092) at emacs.c:1914
#37 0x806b854 in fatal_error_signal (sig=6) at emacs.c:195
#38 0xbfffedbc in ?? ()
#39 0x40251eef in ?? () from /lib/libc.so.6
#40 0x806d036 in syms_of_emacs () at emacs.c:2209
#41 0x808be92 in extent_list_delete (el=0x834f1d0, extent=0x8b94f90) at extents.c:842
#42 0x808c537 in soe_move (obj=411639808, pos=6221) at extents.c:1475
#43 0x808d883 in extent_find_end_of_run (obj=411639808, pos=6221, 
    outside_accessible=0) at extents.c:2534
#44 0x808dfa2 in extent_fragment_update (w=0x8879600, ef=0x8aeff80, pos=6221)
    at extents.c:2791
#45 0x80c5925 in create_text_block (w=0x8879600, dl=0x8b80048, bi_start_pos=6211, 
    start_col=0, prop=0xbffff288, type=1) at redisplay.c:1996
#46 0x80c3e03 in generate_display_line (w=0x8879600, dl=0x8b80048, bounds=1, 
    start_pos=6211, start_col=0, prop=0xbffff288, type=1) at redisplay.c:742
---Type <return> to continue, or q <return> to quit---
#47 0x80c89b7 in regenerate_window (w=0x8879600, start_pos=6211, point=6588, type=1)
    at redisplay.c:4282
#48 0x80c9c0a in redisplay_window (window=411538944, skip_selected=0)
    at redisplay.c:5188
#49 0x80c9fe2 in redisplay_frame (f=0x870a500, preemption_check=0)
    at redisplay.c:5406
#50 0x80ca193 in redisplay_device (d=0x8309800) at redisplay.c:5522
#51 0x80ca32f in redisplay_without_hooks () at redisplay.c:5604
#52 0x80ca50f in redisplay () at redisplay.c:5671
#53 0x8088eda in Fsit_for (seconds=30, nodisplay=1478873092) at event-stream.c:2739
#54 0x8070a9e in primitive_funcall (fn=0x8088d8d <Fsit_for>, nargs=2, 
    args=0xbffff4a4) at eval.c:3443
#55 0x8070c32 in funcall_subr (subr=0x8131a18, args=0xbffff4a4) at eval.c:3467
#56 0x8070555 in funcall_recording_as (recorded_as=1478956252, nargs=3, 
    args=0xbffff4a0) at eval.c:3163
#57 0x8070606 in Ffuncall (nargs=3, args=0xbffff4a0) at eval.c:3203
#58 0x805865c in Fbyte_code (bytestr=945076396, vector=1214183872, maxdepth=3)
    at bytecode.c:418
#59 0x8070ab0 in primitive_funcall (fn=0x80583b8 <Fbyte_code>, nargs=3, 
    args=0xbffff598) at eval.c:3444
#60 0x8070c32 in funcall_subr (subr=0x812ed04, args=0xbffff598) at eval.c:3467
#61 0x80702a8 in Feval (form=675984980) at eval.c:3035
#62 0x806eaa8 in condition_case_1 (handlers=675984900, bfun=0x806fd5b <Feval>, 
    barg=675984980, hfun=0x806eafc <run_condition_case_handlers>, harg=1478965772)
    at eval.c:1684
#63 0x806ebe0 in Fcondition_case_3 (bodyform=675984980, var=1478965772, 
    handlers=675984900) at eval.c:1747
#64 0x8058a0c in Fbyte_code (bytestr=945076456, vector=1214183840, maxdepth=3)
    at bytecode.c:578
#65 0x8070efa in funcall_lambda (fun=408577668, nargs=0, arg_vector=0xbffff8e0)
    at eval.c:3572
#66 0x80705c6 in funcall_recording_as (recorded_as=1482064696, nargs=1, 
    args=0xbffff8dc) at eval.c:3179
#67 0x8070606 in Ffuncall (nargs=1, args=0xbffff8dc) at eval.c:3203
#68 0x80711d0 in run_hook_with_args_in_buffer (buf=0x8278200, nargs=1, 
    args=0xbffff8dc, cond=RUN_HOOKS_TO_COMPLETION) at eval.c:3753
#69 0x807121d in run_hook_with_args (nargs=1, args=0xbffff8dc, 
---Type <return> to continue, or q <return> to quit---
    cond=RUN_HOOKS_TO_COMPLETION) at eval.c:3766
#70 0x8070fdd in Frun_hooks (nargs=1, args=0xbffff8f8) at eval.c:3629
#71 0x8071315 in run_hook (hook=1478956532) at eval.c:3870
#72 0x8071d0e in catch_them_squirmers_run_hook (hook_symbol=1478956532)
    at eval.c:4342
#73 0x806eaa8 in condition_case_1 (handlers=1478873172, 
    bfun=0x8071d02 <catch_them_squirmers_run_hook>, barg=1478956532, 
    hfun=0x8071b8b <allow_quit_safe_run_hook_caught_a_squirmer>, harg=683229580)
    at eval.c:1684
#74 0x8071eef in safe_run_hook_trapping_errors (
    warning_string=0x811b3e9 "Error in `post-command-hook' (setting hook to nil)", 
    hook_symbol=1478956532, allow_quit=1) at eval.c:4402
#75 0x808a8be in post_command_hook () at event-stream.c:4360
#76 0x808a7e2 in execute_command_event (command_builder=0x829d7c0, event=409046620)
    at event-stream.c:4282
#77 0x808ac8f in Fdispatch_event (event=409046620) at event-stream.c:4619
#78 0x805dce4 in Fcommand_loop_1 () at cmdloop.c:560
#79 0x805db7b in command_loop_1 (dummy=1478873092) at cmdloop.c:480
#80 0x806eaa8 in condition_case_1 (handlers=1478873172, 
    bfun=0x805db5f <command_loop_1>, barg=1478873092, hfun=0x805d686 <cmd_error>, 
    harg=1478873092) at eval.c:1684
#81 0x805d759 in command_loop_3 () at cmdloop.c:242
#82 0x805d773 in command_loop_2 (dummy=1478873092) at cmdloop.c:253
#83 0x806e7aa in internal_catch (tag=1478950048, func=0x805d76b <command_loop_2>, 
    arg=1478873092, threw=0x0) at eval.c:1361
#84 0x805d8e7 in initial_command_loop (load_me=1478873092) at cmdloop.c:291
#85 0x806c4af in sort_args (argc=1, argv=0xbffffd24) at emacs.c:1471
#86 0x806cb01 in main (argc=1, argv=0xbffffd24, envp=0xbffffd2c) at emacs.c:1822
(gdb) quit
]0;karlheg@bittersweet:~
502$ exit

Script done on Wed Jul 30 09:32:28 1997

--Multipart_Wed_Jul_30_09:52:50_1997-1--

