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: Eli Zaretskii
Subject: Re: Functions in kill-emacs-hook aren't run if emacs gets killed with SIGTERM
Date: Sat, 24 Jan 2009 22:08:31 +0200

> 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.

> 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.




reply via email to

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