GNU bug report logs - #24678
Emacs crash on macOS 10.12 "Sierra": nextEventMatchingMask from background thread

Previous Next

Package: emacs;

Reported by: Jean de Largentaye <jlargentaye <at> gmail.com>

Date: Wed, 12 Oct 2016 19:56:02 UTC

Severity: normal

Tags: fixed

Fixed in version 25.1

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: Jean de Largentaye <jlargentaye <at> gmail.com>
To: 24678 <at> debbugs.gnu.org
Subject: bug#24678: Emacs crash on macOS 10.12 "Sierra": nextEventMatchingMask from background thread
Date: Wed, 12 Oct 2016 19:44:01 +0000
[Message part 1 (text/plain, inline)]
crashing in org.gnu.Emacs in deliver_fatal_thread_signal • Uncaught
Exception 'NSInternalInconsistencyException': nextEventMatchingMask should
only be called from the Main Thread!terminating with uncaught exception of
type NSException : at com.apple.AppKit in -[NSApplication(NSEvent)
shouldBeTreatedAsInkEvent:] + 0

Apparently, calling nextEventMatchingMask from a background thread is
risky, and this has been made an assert as on 10.12, hence the crash.
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 196 days ago.

Previous Next


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