unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 29.0.50 master freeze on macOS
@ 2022-07-14 14:05 Alexander Adolf
  2022-07-14 14:19 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Alexander Adolf @ 2022-07-14 14:05 UTC (permalink / raw)
  To: emacs-devel

Hello,

I get a complete lockup of Emacs a couple of times a day on macOS. I
built Emacs from commit e4030f25f98d2ac9c638e573b0ab6e6b0a35f38b
yesterday, but the freeze started occurring a while back with one of the
28 versions. I don't recall exactly when.

When the freeze happens, Emacs is completely frozen, that is,
emacsclients are locked up too, and neither SIGUSR1 nor SIGUSR2 change
anything. The only way forward is killing the process, an restarting it.

I'm running the nextstep build (i.e. Emacs.app), and macOS generates a
crash report when a GUI app hangs. In that report, four threads are
shown:

- com.apple.main-thread: the trace doesn't reveal much as the call trace
  leads into the OS kernel, where symbol names are rare. It seems there
  is some sort of interrupt going on, followed by a memmove().

- gmain: the trace for this thread goes from a thread_start relatively
  straight to end in a select().

- an unnamed thread: the trace for this thread goes from a thread_start
  relatively straight to end in a pselect().

- com.apple.NSEventThread: the trace for this thread goes from a
  thread_start relatively straight into a CFRunLoopServiceMachPort(),
  and ends a ipc_mqueue_receive_continue().


Any hints how I could go about further narrowing in on the problem, i.e.
building with debug symbols, etc.?

Any hints appreciated.

  --alexander



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-07-25 13:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-14 14:05 29.0.50 master freeze on macOS Alexander Adolf
2022-07-14 14:19 ` Eli Zaretskii
2022-07-14 16:02   ` Alexander Adolf
2022-07-15 16:31     ` Alexander Adolf
2022-07-15 18:04       ` Eli Zaretskii
2022-07-19 15:27         ` Alexander Adolf
2022-07-19 15:35           ` Alexander Adolf
2022-07-19 16:02           ` Eli Zaretskii
2022-07-25 13:26             ` Alexander Adolf
2022-07-25 13:50               ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).