unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean de Largentaye <jlargentaye@gmail.com>
To: 24678@debbugs.gnu.org
Subject: bug#24678: Emacs crash on macOS 10.12 "Sierra": nextEventMatchingMask from background thread
Date: Wed, 12 Oct 2016 19:46:42 +0000	[thread overview]
Message-ID: <CAMxs833UUdCBdEtD95oHwGWaeq4oOJLABc0hY5aG4UOie7n-ew@mail.gmail.com> (raw)
In-Reply-To: <CAMxs832aC-KzxpoN3QWUj=3q2pdpz0c9QJ==g56WORP-2ji05A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

This is Emacs 25.1 installed via MacPorts on macOS 10.12.

This happens randomly but very frequently. I'm told that a reliable way to
reproduce it is to resize the window while mashing C-g.


On Wed, Oct 12, 2016 at 12:44 PM Jean de Largentaye <jlargentaye@gmail.com>
wrote:

> 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.
>

[-- Attachment #2: Type: text/html, Size: 1138 bytes --]

  reply	other threads:[~2016-10-12 19:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-12 19:44 bug#24678: Emacs crash on macOS 10.12 "Sierra": nextEventMatchingMask from background thread Jean de Largentaye
2016-10-12 19:46 ` Jean de Largentaye [this message]
2016-10-15 22:53 ` Alan Third
2016-10-28 21:41   ` Jean de Largentaye
2016-11-11 19:09     ` Alan Third

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMxs833UUdCBdEtD95oHwGWaeq4oOJLABc0hY5aG4UOie7n-ew@mail.gmail.com \
    --to=jlargentaye@gmail.com \
    --cc=24678@debbugs.gnu.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 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).