emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Functions in kill-emacs-hook aren't run if emacs gets killed with SI


From: grischka
Subject: Re: Functions in kill-emacs-hook aren't run if emacs gets killed with SIGTERM
Date: Sat, 24 Jan 2009 21:28:18 +0100
User-agent: Thunderbird 2.0.0.18 (X11/20081125)

Eli Zaretskii wrote:
Date: Sat, 24 Jan 2009 20:11:23 +0100
From: grischka <address@hidden>
CC: address@hidden

  if (gc_in_progress || waiting_for_input)
    abort ();

Here too.

Can you see which one of gc_in_progress and waiting_for_input is
non-zero?

I'd bet for "waiting_for_input".

Maybe; but I don't think Emacs should wait for input in the middle of
processing.  It only does so when it is idle.

If that is right then the flag state must be wrong.


However the problem starts earlier at:

#4  0x081a9a78 in scan_lists (from=8, count=1, depth=-1, sexpflag=0)
     at syntax.c:2805

where it hits the "lose" label.

That just makes it signal an error, which should not cause an abort.


Okay, so it's two bugs.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]