From: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
To: Alan Third <alan@idiocy.org>,
Jimmy Yuen Ho Wong <wyuenho@gmail.com>,
45658@debbugs.gnu.org
Subject: bug#45658: Infinite loop in run loop on macOS
Date: Sun, 10 Jan 2021 00:46:23 +0000 [thread overview]
Message-ID: <CAKDRQS783x1X6LhhvjHn61XBzBG2W9pZ1V_4p6gNjG8Jgb93_Q@mail.gmail.com> (raw)
In-Reply-To: <X/pD24TnoC4Ypklt@breton.holly.idiocy.org>
The breakpoint at 4733 does get reached, there's no beach ball for
this initially, just an unresponsive frame. I can't Cmd-TAB to it, I
have to use the mouse to select it in Mission Control. The windows
sometimes freeze, sometimes go blank then freeze. This bug can
occasionally be produced by issuing `EDITOR=emacsclient git rebase -i
HEAD~2` in the terminal, but not consistently.
I'm on Catalina, not on Homebrew, I just checked out the emacs repo
and switched to the emacs 27 branch. I'm on the latest commit.
> Does 'emacs -q' also freeze up
I don't have a way to reproduce this bug consistently so I don't know.
Jimmy
On Sun, Jan 10, 2021 at 12:01 AM Alan Third <alan@idiocy.org> wrote:
>
> On Sat, Jan 09, 2021 at 11:21:48PM +0000, Jimmy Yuen Ho Wong wrote:
> > Ok I've just reproduced this again, this time simply by opening a file
> > in the terminal with emacsclient, in the hope Emacs.app will open it.
> > I've switched to the thread running fd_handler (nsterm.m:6100:20
> > right?) This is the frame variables:
>
> That all looks pretty much like I'd expect.
>
> Can you check if it ever reaches the end of ns_select? You could
> either stick a breakpoint at, say, like 4733 of nsterm.m, or make it
> print to the console or whatever.
>
> I suspect that since you're seeing a spinning wheel it's not reaching
> the end, but we may as well find out for sure.
>
> You're running macOS 10.15, yes?
>
> Do you use Homebrew or something else?
>
> Does 'emacs -q' also freeze up?
> --
> Alan Third
next prev parent reply other threads:[~2021-01-10 0:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <e73a23d1-46b8-1542-5996-ca1afb5b0d30@gmail.com>
[not found] ` <X+78YNyHEa36fYsp@breton.holly.idiocy.org>
[not found] ` <CAKDRQS5eF0S2nk70mcW20yz_A8J36M=qtMwsTaV_wKWgTUZOwQ@mail.gmail.com>
[not found] ` <X/NQ2mjwBp0+Ex+c@breton.holly.idiocy.org>
[not found] ` <CAKDRQS40rKnNmTqbJM97OETfCKnz=5EvUNf1pDZiEWx-iD6+Yw@mail.gmail.com>
2021-01-06 18:53 ` bug#45658: Infinite loop in run loop on macOS Alan Third
2021-01-09 23:21 ` Jimmy Yuen Ho Wong
2021-01-09 23:33 ` Jimmy Yuen Ho Wong
2021-01-10 0:01 ` Alan Third
2021-01-10 0:46 ` Jimmy Yuen Ho Wong [this message]
2021-01-10 10:28 ` Alan Third
2021-01-14 9:52 ` Jimmy Yuen Ho Wong
2021-10-20 2:02 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-20 20:24 ` Alan Third
2021-10-20 20:39 ` Jimmy Yuen Ho Wong
2022-01-31 17:19 ` Lars Ingebrigtsen
2022-03-01 15:45 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKDRQS783x1X6LhhvjHn61XBzBG2W9pZ1V_4p6gNjG8Jgb93_Q@mail.gmail.com \
--to=wyuenho@gmail.com \
--cc=45658@debbugs.gnu.org \
--cc=alan@idiocy.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.