GNU bug report logs -
#15801
24.3.50; bar scrolling freezes gtk emacs
Previous Next
Reported by: Jarek Czekalski <jarekczek <at> poczta.onet.pl>
Date: Mon, 4 Nov 2013 18:42:02 UTC
Severity: important
Found in version 24.3.50
Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello.
30 nov 2013 kl. 12:54 skrev Eli Zaretskii <eliz <at> gnu.org>:
>> From: Jan Djärv <jan.h.d <at> swipnet.se>
>> Date: Sat, 30 Nov 2013 12:41:27 +0100
>> Cc: 15801 <at> debbugs.gnu.org,
>> Eli Zaretskii <eliz <at> gnu.org>
>>
>> enter redisplay_internal
>> unrequest_sigio() /* Two paths to do this in the code */
>> goto retry /* Many places */
>> goto end_of_redisplay /* One place */
>>
>> When this path in the code is taken, SIGIO is off (blocked) and never turned on again, and Emacs freezes.
>>
>> Cc:ing Eli. The obvious fix would be to request_sigio before exit. Is there any side effects to this?
>
> If you call request_sigio only if interrupts_deferred is non-zero, I
> see no adverse side effects.
>
> In any case, code paths that turn off SIGIO and never turn it on again
> are obvious bugs. Thanks for finding this one.
OK, I checked in a fix. I can't reproduce the bug with this, but I had a hard time reproducing it anyway.
Jan D.
This bug report was last modified 11 years and 37 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.