GNU bug report logs - #78946
30.1; accept-process-output not allowed in threads on macOS

Previous Next

Package: emacs;

Reported by: John Wiegley <jwiegley <at> gmail.com>

Date: Wed, 2 Jul 2025 19:21:02 UTC

Severity: normal

Found in version 30.1

Full log


View this message in rfc822 format

From: John Wiegley <jwiegley <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 78946 <at> debbugs.gnu.org, contact <at> karthinks.com
Subject: bug#78946: 30.1; accept-process-output not allowed in threads on macOS
Date: Thu, 03 Jul 2025 10:24:44 -0700
>>>>> Eli Zaretskii <eliz <at> gnu.org> writes:

>> If you now attempt to evaluate this code in a graphical Emacs running on
>> macOS, it will immediately stall out. Running Emacs under lldb shows that it
>> is reporting the following exception continuously:

> Please elaborate on "will immediately stall". Does it mean it will not "run
> forever" as in batch mode? If so, what will it do instead?

By stall I mean it shows a “spinning cursor of death” and will never recover.
Meanwhile, if I am running under the LLDB debugger, I see the exception I had
posted being repeated continuously for as long as Emacs is running.

>> #+begin_example
>> 2025-07-02 12:10:23.857272-0700 Emacs[34130:54192679] [General] nextEventMatchingMask should only be called from the Main Thread!

> This message seems to be relevant, no? Can some macOS expert explain what it
> means, and how is that related to ns_select?

Yes, I think this is entirely relevant. :) I will try Robert’s suggestion next.

John




This bug report was last modified 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.