unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs with a network process aborts on SIGTERM
@ 2004-06-11 16:27 Lőrentey Károly
  2004-06-11 21:51 ` Kim F. Storm
  0 siblings, 1 reply; 2+ messages in thread
From: Lőrentey Károly @ 2004-06-11 16:27 UTC (permalink / raw)


Try the following:

	$ emacs -q -f server-start &
        [1] 12362
        $ kill %1
        [2]+  Aborted                 (core dumped) src/emacs -q -f server-start

Backtrace:

#0  0x410ea1f1 in kill () from /lib/tls/libc.so.6
#1  0x0810641a in fatal_error_signal (sig=6) at .../src/emacs.c:401
#2  <signal handler called>
#3  0x410ea1f1 in kill () from /lib/tls/libc.so.6
#4  0x0810643d in abort () at .../src/emacs.c:434
#5  0x08176c30 in Fsignal (error_symbol=138628721, data=140354837) at .../src/eval.c:1461
#6  0x08166c3a in Findirect_function (object=138567697) at .../src/data.c:1923
#7  0x0817860a in Ffuncall (nargs=2, args=0xbfffde04) at .../src/eval.c:2691
#8  0x08178450 in call1 (fn=138567697, arg1=138621609) at .../src/eval.c:2520
#9  0x0810b28c in safe_run_hooks_1 (hook=-1073750444) at .../src/keyboard.c:1984
#10 0x081769be in internal_condition_case (bfun=0x810b270 <safe_run_hooks_1>, handlers=138567745, hfun=0x810b290 <safe_run_hooks_error>)
    at .../src/eval.c:1333
#11 0x0810b32c in safe_run_hooks (hook=0) at .../src/keyboard.c:2012
#12 0x08073d67 in update_menu_bar (f=0x86ab660, save_match_data=0) at .../src/xdisp.c:8217
#13 0x08073ad0 in prepare_menu_bars () at .../src/xdisp.c:8116
#14 0x0807686d in redisplay_internal (preserve_echo_area=1) at .../src/xdisp.c:9782
#15 0x08077ae6 in redisplay_preserve_echo_area (from_where=13) at .../src/xdisp.c:10377
#16 0x081bf0f9 in status_notify () at .../src/process.c:6467
#17 0x081b5a75 in Fdelete_process (process=141221372) at .../src/process.c:767
#18 0x081be78f in kill_buffer_processes (buffer=138567697) at .../src/process.c:6077
#19 0x0810833c in shut_down_emacs (sig=15, no_x=0, stuff=138567697) at .../src/emacs.c:2034
#20 0x081063a5 in fatal_error_signal (sig=15) at .../src/emacs.c:384
#21 <signal handler called>
#22 0x41196398 in select () from /lib/tls/libc.so.6
#23 0x081bbbf5 in wait_reading_process_input (time_limit=0, microsecs=0, read_kbd=-8, do_display=1) at .../src/process.c:4321
#24 0x0810dc8c in kbd_buffer_get_event (kbp=0xbfffeebc, used_mouse_menu=0xbffff0d8) at .../src/keyboard.c:3859
#25 0x0810c4d5 in read_char (commandflag=1, nmaps=2, maps=0xbffff09c, prev_event=138567697, used_mouse_menu=0xbffff0d8)
    at .../src/keyboard.c:2800
#26 0x08113863 in read_key_sequence (keybuf=0xbffff200, bufsize=30, prompt=138567697, dont_downcase_last=0, can_return_switch_frame=1,
    fix_current_buffer=1) at .../src/keyboard.c:8781
#27 0x08109913 in command_loop_1 () at .../src/keyboard.c:1489
#28 0x081769be in internal_condition_case (bfun=0x8109750 <command_loop_1>, handlers=138628625, hfun=0x8109230 <cmd_error>)
    at .../src/eval.c:1333
#29 0x0810958e in command_loop_2 () at .../src/keyboard.c:1271
#30 0x081764fb in internal_catch (tag=-4, func=0x8109560 <command_loop_2>, arg=138567697) at .../src/eval.c:1094
#31 0x0810952e in command_loop () at .../src/keyboard.c:1250
#32 0x08108fb4 in recursive_edit_1 () at .../src/keyboard.c:961
#33 0x081090f1 in Frecursive_edit () at .../src/keyboard.c:1022
#34 0x08107c12 in main (argc=4, argv=0xbffff8e4) at .../src/emacs.c:1693

The abort seems to be caused by this change:

2004-06-07  Kim F. Storm  <storm@cua.dk>

	* process.c (Fdelete_process): Undo 2004-05-28 change.
	Instead, call status_notify also for network process.

-- 
Károly

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Emacs with a network process aborts on SIGTERM
  2004-06-11 16:27 Emacs with a network process aborts on SIGTERM Lőrentey Károly
@ 2004-06-11 21:51 ` Kim F. Storm
  0 siblings, 0 replies; 2+ messages in thread
From: Kim F. Storm @ 2004-06-11 21:51 UTC (permalink / raw)
  Cc: emacs-devel

lorentey@elte.hu (Lőrentey Károly) writes:

> Try the following:
> 
> 	$ emacs -q -f server-start &
>         [1] 12362
>         $ kill %1
>         [2]+  Aborted                 (core dumped) src/emacs -q -f server-start
> 
> 2004-06-07  Kim F. Storm  <storm@cua.dk>
> 
> 	* process.c (Fdelete_process): Undo 2004-05-28 change.
> 	Instead, call status_notify also for network process.
> 

I have installed a change to inhibit redisplay during emacs shutdown.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-11 21:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-11 16:27 Emacs with a network process aborts on SIGTERM Lőrentey Károly
2004-06-11 21:51 ` Kim F. Storm

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).