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: "J.D. Smith" <jdtsmith <at> gmail.com>
To: John Wiegley <jwiegley <at> gmail.com>
Cc: eliz <at> gnu.org, 78946 <at> debbugs.gnu.org, contact <at> karthinks.com
Subject: bug#78946: 30.1; accept-process-output not allowed in threads on macOS
Date: Sun, 06 Jul 2025 15:12:31 -0400
John Wiegley <jwiegley <at> gmail.com> writes:

> If I run the attached code from the terminal using:
>
> #+begin_src sh
> emacs -batch -Q -l accept-process-bug.el
> #+end_src
>
>
> It will correctly run forever, processing output from the “yes” command (you
> can convince yourself of this by adding a debug statement inside the process
> filter, but it will be extremely noisy).
>
> 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:
>

FYI, the emacs-mac build does not suffer this problem.  It runs until you C-g, reporting:

    Starting thread...
    Beginning yield loop...
    Joining thread...
    Test completed!




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.