From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrii Kolomoiets Newsgroups: gmane.emacs.bugs Subject: bug#48406: 28.0.50; Emacs stuck in infinite loop in wait_reading_process_output when opening in fullscreen (NS) Date: Fri, 14 May 2021 22:32:56 +0300 Message-ID: References: <5E1B46C6-1359-4CCF-B4EF-5527FB915F93@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12859"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: 48406@debbugs.gnu.org, Alan Third To: Illia Ostapyshyn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 14 21:34:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lhdZd-0003Et-3O for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 May 2021 21:34:13 +0200 Original-Received: from localhost ([::1]:53332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhdZc-0006WA-33 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 May 2021 15:34:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhdZS-0006W1-Fi for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 15:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35537) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhdZS-00086Z-7Z for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 15:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhdZS-0001Bj-4i for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 15:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrii Kolomoiets Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 May 2021 19:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48406 X-GNU-PR-Package: emacs Original-Received: via spool by 48406-submit@debbugs.gnu.org id=B48406.16210207874492 (code B ref 48406); Fri, 14 May 2021 19:34:02 +0000 Original-Received: (at 48406) by debbugs.gnu.org; 14 May 2021 19:33:07 +0000 Original-Received: from localhost ([127.0.0.1]:47083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhdYZ-0001AO-7Y for submit@debbugs.gnu.org; Fri, 14 May 2021 15:33:07 -0400 Original-Received: from mail-lj1-f172.google.com ([209.85.208.172]:33391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhdYX-00019t-70 for 48406@debbugs.gnu.org; Fri, 14 May 2021 15:33:05 -0400 Original-Received: by mail-lj1-f172.google.com with SMTP id o8so8097151ljp.0 for <48406@debbugs.gnu.org>; Fri, 14 May 2021 12:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=B+PlRevEu49CGq2X5oFqsakVw9FaCvRLiK+/ZvKjcYg=; b=gtHWLLFn/wNvE5RgzUWHUppiqGZVqfYJSA0kQM9ggcKZ78hMopDA54uAyOu8liKFTA OSISlkHut0WRL2ZIk5U1EFanbIUwohqY/9Wmj28C7vUIpoFwHb5BboFP5QzyPuWhOHmj kswsnpF1aNS5Sl72evKR1PKFqmLq+S+/NumLyYElPVWD/cF2YUFbOwcTy+lo4faafSbe IfnnaflFyMSzD6DrrzaQAHNP/qSF6TBmqXwq1fHXP1zaBXE+dAiLzefm3da80y3htFHU QFb4Qk0s5f0PweWZ4j6ovhHjKftAA5xMlONjJYt5QVL2MOI/oQZhrHAlsxp8TlzO/OYB VFLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=B+PlRevEu49CGq2X5oFqsakVw9FaCvRLiK+/ZvKjcYg=; b=d9DAhrJGGgg9s/lN3bZFpb3DQvRy9owddJ/3fFzAKSozdyoLM24Y3Vg43N61y5oijY ws5uK8Jvv0q0U7WVwf9lNTCSrwgQQ1JI4kSLi73mOtrGSct1xqDINwbvSpwLlDuIaMCr hQIZZtslp2T95gYiNsY4dOyhrLSMUzxpzjrb3+VaSPa1AiCnoqd/fi5HApe56rN7a6WV 0ipb5IWKagxn/P9lQHDbDpXEUJHm1Z+3IG9Xhuu6CA4g2SLskzGg4wXrIS9EyDKmeNqo gxRAMhGY5ftoa2+ew6CEmER0GH8C3lX0PUoOk9aUTQ3p1Fw+KUH/ZTBx8f8eNzfmc3YV nFYg== X-Gm-Message-State: AOAM533tFDjI7bjTxhLNPxVU2GW6XpEufItwHse9YqQaziigEEt+1V/J neoWP81FavW77jfrFDBVccYrxxHB3W2AbQ== X-Google-Smtp-Source: ABdhPJzEQjR8W2VZhFxwSlMPyyH0W0cVaaQhW6v4KDcoFRpqFMiLKA/Mr5c7tYvpVrB/R680n48FzA== X-Received: by 2002:a05:651c:547:: with SMTP id q7mr10580959ljp.482.1621020778850; Fri, 14 May 2021 12:32:58 -0700 (PDT) Original-Received: from muffinmac ([91.206.110.246]) by smtp.gmail.com with ESMTPSA id d9sm458577lfn.175.2021.05.14.12.32.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 May 2021 12:32:58 -0700 (PDT) In-Reply-To: (Illia Ostapyshyn's message of "Fri, 14 May 2021 11:13:13 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:206553 Archived-At: Illia Ostapyshyn writes: > Executing like this doesn't work for me: > > emacs -Q --execute "(push '(fullscreen . fullboth) default-frame-alist)" > > I've tried recompiling emacs with you configure flags, same > result. Could it be the OS version? I doubt it, I recall having this > issue long time ago, but I bore with it instead of reporting. Well, I'm on macOS 11.3.1 now, recompiled Emacs with `make bootstrap` still works fine. > The patch didn't fix the issue, but there are two more instances of > waitFullScreenTransition in nsterm.m. I narrowed it down to this one: > > @@ -8061,8 +8061,6 @@ - (void)toggleFullScreen: (id)sender > { > #endif > [[self window] toggleFullScreen:sender]; > - // wait for fullscreen animation complete (bug#28496) > - [self waitFullScreenTransition]; This one is needed to avoid `(sleep-for 0.5)` in `frame.el`. Maybe we need more users affected by this bug to find out the conditions for reproducing this error. Can you please enable NSTRACE by uncomenting this line in the `src/nsterm.h` file: /* #define NSTRACE_ENABLED 1 */ Hope trace messages will give us some more information on what is going on. -- Andrii