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

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

Re: 4 week-old pretest bugs


From: Jan Djärv
Subject: Re: 4 week-old pretest bugs
Date: Sat, 13 Jan 2007 12:11:53 +0100
User-agent: Thunderbird 1.5.0.9 (Macintosh/20061207)



Stefan Monnier skrev:
it before incrementing interrupt_input_blocked in the #define for
BLOCK_INPUT fixes the bug!

Are you sure it fixes it?  It may just hide it by slightly changing
the timing.


The bug occurs because revoke_input_signal is called when it should not be. Somehow the counter used by UNBLOCK/BLOCK_INPUT gets the wrong value, becoming negative.

By using sigblock/sigunblock we make sure that counter isn't touched, so it fixes this particular case. However, why the counter gets the wrong value is still not known.

        Jan D.





reply via email to

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