GNU bug report logs -
#69561
30.0.50; Freeze from M-x gnus on macOS
Previous Next
Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Date: Tue, 5 Mar 2024 11:03:01 UTC
Severity: normal
Found in version 30.0.50
Fixed in version 30.1
Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #97 received at 69561 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Filipp Gunbin <fgunbin <at> fastmail.fm> writes:
> On 13/03/2024 07:11 +0100, Gerd Möllmann wrote:
>
>> Pushed to mater and closing.
>
> (I haven't read this thread in detail) On TTY there were no freezes
> before the patch, but now there are - for example, `C-x v L' in emacs
> repo freezes.
>
> Thanks.
Thanks, Filipp. Could you please try the attached patch?
But - are you sure you see a freeze, i.e. you can't, don't know, C-x C-c
or C-g or whatever else? That's not what I see with emacs -nw -Q, I see
an empty log window.
[0001-ns_select-on-terminal.patch (text/x-patch, inline)]
diff --git a/src/nsterm.m b/src/nsterm.m
index f161edc4ac2..97d6329cf4b 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -4757,9 +4757,11 @@ Function modeled after x_draw_glyph_string_box ().
if (writefds && FD_ISSET(k, writefds)) ++nr;
}
- if (NSApp == nil
- || ![NSThread isMainThread]
- || (timeout && timeout->tv_sec == 0 && timeout->tv_nsec == 0))
+ if (NSApp == nil)
+ return thread_select (pselect, nfds, readfds, writefds,
+ exceptfds, timeout, sigmask);
+ else if (![NSThread isMainThread]
+ || (timeout && timeout->tv_sec == 0 && timeout->tv_nsec == 0))
thread_select (pselect, nfds, readfds, writefds,
exceptfds, timeout, sigmask);
else
This bug report was last modified 1 year and 124 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.