bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#11080: 24.0.94; Assertion failure in signal handler


From: Andreas Schwab
Subject: bug#11080: 24.0.94; Assertion failure in signal handler
Date: Sat, 24 Mar 2012 10:39:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andreas Schwab <schwab@linux-m68k.org>
>> Date: Sat, 24 Mar 2012 09:39:46 +0100
>> 
>> > eval.c:3403: Emacs fatal error: assertion failed: !handling_signal
>> 
>> I think handling_signal should only be incremented in XTread_socket if
>> !SYNC_INPUT.  With SYNC_INPUT (which is the default) the SIGIO handler
>> doesn't actually call read_avail_input.
>
> Perhaps we should turn the table and ask why do we even have that
> eassert inside record_unwind_protect?

Doing anything non-trivial in a signal handler is a *BIG* no-no, so this
place is as good as anything.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

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