GNU bug report logs - #45658
Infinite loop in run loop on macOS

Previous Next

Package: emacs;

Reported by: Alan Third <alan <at> idiocy.org>

Date: Mon, 4 Jan 2021 17:32:01 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: Alan Third <alan <at> idiocy.org>
Cc: 45658 <at> debbugs.gnu.org, Jimmy Yuen Ho Wong <wyuenho <at> gmail.com>
Subject: bug#45658: Infinite loop in run loop on macOS
Date: Wed, 20 Oct 2021 10:02:23 +0800
Alan Third <alan <at> idiocy.org> writes:

> ns_send_appdefined somewhere. Can you switch to the thread that's
> running fd_handler and see what it's doing? There are only two
> branches, so it should be easy to work out which one is in use.

>>     frame #8: 0x00007fff2d14c039 AppKit`_DPSNextEvent + 883
>>     frame #9: 0x00007fff2d14a880 AppKit`-[NSApplication(NSEvent)
>> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
>>     frame #10: 0x00007fff2d13c58e AppKit`-[NSApplication run] + 658
>>     frame #11: 0x000000010036c5fa Emacs`-[EmacsApp
>> run](self=0x000000010525e180, _cmd="run") at nsterm.m:5602:9
>>     frame #12: 0x000000010036a8eb Emacs`ns_select(nfds=30,
>> readfds=0x00007ffeefbfd1f0, writefds=0x00007ffeefbfd170,
>> exceptfds=0x0000000000000000, timeout=0x00007ffeefbfd148,
>> sigmask=0x0000000000000000) at nsterm.m:4690:3

Does it also make sense for this to occur on GNUstep?  I have just seen
a very similar bug there, but I lost the backtrace :(




This bug report was last modified 3 years and 135 days ago.

Previous Next


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