From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Halley Newsgroups: gmane.emacs.bugs Subject: bug#23924: 25.1.50; Emacs NSInternalInconsistencyException on macos Sierra developer beta 2 Date: Mon, 11 Jul 2016 06:13:59 -0700 Message-ID: <39AC2AF3-C87A-4743-803D-155A9E35081A@play-bow.org> References: <88EBFBA0-B3D0-4F81-B197-18C2CBA5129F@play-bow.org> <20160710101056.GB35411@breton.holly.idiocy.org> <20160710164335.GC51429@breton.holly.idiocy.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3200\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1468242926 12401 80.91.229.3 (11 Jul 2016 13:15:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2016 13:15:26 +0000 (UTC) Cc: 23924@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 11 15:15:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bMb3L-0006Sw-QK for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jul 2016 15:15:15 +0200 Original-Received: from localhost ([::1]:33619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMb3K-000814-Og for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jul 2016 09:15:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMb3C-0007yO-0B for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2016 09:15:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMb38-0006Vd-NQ for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2016 09:15:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMb38-0006VZ-I8 for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2016 09:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bMb37-0001TF-Vr for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2016 09:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Bob Halley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jul 2016 13:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23924 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23924-submit@debbugs.gnu.org id=B23924.14682428505582 (code B ref 23924); Mon, 11 Jul 2016 13:15:01 +0000 Original-Received: (at 23924) by debbugs.gnu.org; 11 Jul 2016 13:14:10 +0000 Original-Received: from localhost ([127.0.0.1]:46141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMb2I-0001Ry-Ii for submit@debbugs.gnu.org; Mon, 11 Jul 2016 09:14:10 -0400 Original-Received: from mail-pf0-f180.google.com ([209.85.192.180]:32942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMb2G-0001Rd-DJ for 23924@debbugs.gnu.org; Mon, 11 Jul 2016 09:14:08 -0400 Original-Received: by mail-pf0-f180.google.com with SMTP id i123so35936067pfg.0 for <23924@debbugs.gnu.org>; Mon, 11 Jul 2016 06:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=play-bow.org; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=WBjRdwANO3em2r+BUV4p/EhW5UGc53kiuHfuaixEdVM=; b=Win/UnlGlCrn3b3Mp6PwtoZBte3Zf5jspLbFdbZzxcogxG/KJz2oHOapwJKQ2DqgUD aMWJs6GxMmqNj3l915z69dylJ3crk1t3fpw15ELTxrBySxXP/yW0/1JhM8riJplousPH w8bLd6+Aocsc4RWf6kTkLlkFljMV9We+Q5eHA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=WBjRdwANO3em2r+BUV4p/EhW5UGc53kiuHfuaixEdVM=; b=PvsyqfmpNCdIDKbiIHLLd8MItvGSoRsw/e7J9USsLCcaeajYQpDG+FqZqU0gwYPtnr ym/McDIkBHd29j9nsGzu0bIt/HSQn4IeHCYBB3+mpBv6UEM3BmAwQ6+OtYfFmYJr4HT5 ypRQMs6PB9C9HTDwnPAO2v2kXqfom3AR5U7eV7VZ2cZ4+O0RN2M54xgQ78VSRGS1qe+Z hc/Cdcp35xxgqJyKgSDvpvFnTvva6pOStrXYH6HamuNfskJmTozLrcEiwMCXHQF52tF2 byyglyXc/dnyzuvHza2kK2vHuyh7JdFiIU/5QGZrZV3568g4BKha8BmjtoEadcpSpu1r qK6A== X-Gm-Message-State: ALyK8tLNdNLG5oT0MQ+JHVSPW/+DGCzJBN8CsYt0K25WwxGqSlLxtNOCLJmcgctV8/NMqQ== X-Received: by 10.98.74.201 with SMTP id c70mr13622428pfj.113.1468242842113; Mon, 11 Jul 2016 06:14:02 -0700 (PDT) Original-Received: from ?IPv6:2602:30a:2ce4:c900:c517:fd68:5677:8c58? ([2602:30a:2ce4:c900:c517:fd68:5677:8c58]) by smtp.gmail.com with ESMTPSA id b186sm2667949pfa.61.2016.07.11.06.14.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2016 06:14:01 -0700 (PDT) In-Reply-To: <20160710164335.GC51429@breton.holly.idiocy.org> X-Mailer: Apple Mail (2.3200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:120839 Archived-At: If I disable the invocation of = nextEventMatchingMask:untilDate:inMode:dequeue at nsterm.m:3950, the = problem stops. And indeed, this is the method that is called in the = traceback that is causing the assertion to fire. Since this appears to = be a workaround for events getting eaten, however, this doesn't seem to = be a good fix. Is it a bad thing to just always set send_appdefined=3DYES? The code = appears to be trying to suppress appdefined events in some cases, but = it's not clear to me what happens if we stop trying to send only one. = Naively I'd think "why not, so the run loop gets stopped twice, it's a = little extra work" but I don't know this code and am not familiar with = the macOS API :)