GNU bug report logs - #48406
28.0.50; Emacs stuck in infinite loop in wait_reading_process_output when opening in fullscreen (NS)

Previous Next

Package: emacs;

Reported by: Illia Ostapyshyn <ilya.ostapyshyn <at> gmail.com>

Date: Thu, 13 May 2021 21:00:02 UTC

Severity: normal

Merged with 41055

Found in version 28.0.50

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Alan Third <alan <at> idiocy.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#48406: closed (28.0.50; Emacs stuck in infinite loop in
 wait_reading_process_output when opening in fullscreen (NS))
Date: Wed, 09 Jun 2021 21:02:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 9 Jun 2021 22:01:34 +0100
with message-id <YMEsLgrYpSOGg6So <at> idiocy.org>
and subject line Re: bug#48406: 28.0.50; Emacs stuck in infinite loop in wait_reading_process_output when opening in fullscreen (NS)
has caused the debbugs.gnu.org bug report #48406,
regarding 28.0.50; Emacs stuck in infinite loop in wait_reading_process_output when opening in fullscreen (NS)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
48406: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48406
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Illia Ostapyshyn <ilya.ostapyshyn <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; Emacs stuck in infinite loop in wait_reading_process_output
 when opening in fullscreen (NS)
Date: Thu, 13 May 2021 22:39:55 +0200
[Message part 3 (text/plain, inline)]
When starting with

    (push '(fullscreen . fullboth) default-frame-alist)

in early-init.el, apparently Emacs get stuck in an infinite loop after calling [EmacsView waitFullScreenTransition]. Please see the attached backtrace. I also tried moving that command around: in init.el, in emacs-startup-hook, all yield the same result. 

Toggling fullscreen after successful startup (by not trying to start in fullscreen) works ok. Also creating new frames with '(fullscreen . fullboth) in default-frame-alist works well.

Looks like this bug was introduced by bbc48b263485c26c6823eabdbbd7e9af62178e34

In GNU Emacs 28.0.50 (build 7, x86_64-apple-darwin20.4.0, NS appkit-2022.44 Version 11.3.1 (Build 20E241))
 of 2021-05-13 built on mbp2018.local
Repository revision: ff8bf8c8dfff2e4fc0fae50e3fcfcf3022bd0bb8
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2022
System Description:  macOS 11.3.1

Configured using:
 'configure --with-json --with-native-compilation --with-xwidgets
 CPPFLAGS=-I/usr/local/opt/llvm/include
 LDFLAGS=-L/usr/local/opt/llvm/lib'

Configured features:
ACL DBUS GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES
NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF
TOOLKIT_SCROLL_BARS XIM XWIDGETS ZLIB
[backtrace.txt (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Alan Third <alan <at> idiocy.org>
To: Illia Ostapyshyn <ilya.ostapyshyn <at> gmail.com>,
 Andrii Kolomoiets <andreyk.mad <at> gmail.com>, 48406-done <at> debbugs.gnu.org
Subject: Re: bug#48406: 28.0.50; Emacs stuck in infinite loop in
 wait_reading_process_output when opening in fullscreen (NS)
Date: Wed, 9 Jun 2021 22:01:34 +0100
On Sat, Jun 05, 2021 at 05:33:49PM +0100, Alan Third wrote:
> On Sat, Jun 05, 2021 at 06:21:59PM +0200, Illia Ostapyshyn wrote:
> > 
> > By the way, there seems to be a compilation issue as not all references to
> > in_fullscreen_transition were removed (see attachment).
> 
> Oops, my mistake. Please use the attached patch instead.

Since I've not heard anything back from anyone I've pushed this to
master. If there still are any problems, please reply and we can
reopen the bug report.
-- 
Alan Third


This bug report was last modified 4 years and 40 days ago.

Previous Next


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