From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rainer M Krug Newsgroups: gmane.emacs.bugs Subject: bug#21428: 24.5; Crash of emacs on OS X, installed via homebrew cask Date: Tue, 27 Oct 2015 12:50:36 +0100 Message-ID: References: <834mibbstw.fsf@gnu.org> <83k2r79bi5.fsf@gnu.org> <834mi4x7tp.fsf@gnu.org> <83fv1mellz.fsf@gnu.org> <1130CA27-B8B0-4009-BC14-A3FC76B92216@gmail.com> <838u7265sv.fsf@gnu.org> <83pp0d4rot.fsf@gnu.org> <83611yucx0.fsf@gnu.org> <83io5udb1t.fsf@gnu.org> <83lhapbg5a.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1445946681 19912 80.91.229.3 (27 Oct 2015 11:51:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Oct 2015 11:51:21 +0000 (UTC) Cc: 21428@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 27 12:51:12 2015 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 1Zr2mW-0000aa-06 for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Oct 2015 12:51:12 +0100 Original-Received: from localhost ([::1]:58943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr2mV-000301-7T for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Oct 2015 07:51:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr2mP-0002xR-N4 for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 07:51:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zr2mM-0002HJ-GJ for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 07:51:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr2mM-0002HE-Dy for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 07:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zr2mM-00013t-9h for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 07:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rainer M Krug Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Oct 2015 11:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21428 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 21428-submit@debbugs.gnu.org id=B21428.14459466514065 (code B ref 21428); Tue, 27 Oct 2015 11:51:02 +0000 Original-Received: (at 21428) by debbugs.gnu.org; 27 Oct 2015 11:50:51 +0000 Original-Received: from localhost ([127.0.0.1]:40082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zr2mA-00013S-BU for submit@debbugs.gnu.org; Tue, 27 Oct 2015 07:50:50 -0400 Original-Received: from mail-wi0-f175.google.com ([209.85.212.175]:37000) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zr2m7-00013J-KO for 21428@debbugs.gnu.org; Tue, 27 Oct 2015 07:50:48 -0400 Original-Received: by wicfv8 with SMTP id fv8so158366107wic.0 for <21428@debbugs.gnu.org>; Tue, 27 Oct 2015 04:50:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=QoCUAjr8t2ekHdtyCSCYoh7SUaoRoj+thrTgEwdQAzc=; b=i1sPYjwgmahDaRC+6dpQDYuhrypDLomKYfhgTizICG2+tTZnQwHwoJo0arQSxQLdFU hxHLCTbsVxmwuLkhwKpxR68s5Kj2T77uG0EmO1GokUmH3dVFxgpAPLZOqASO/e0v3okh Z/4lAXWy95CMcRLruEDN3cSogKt22Bg7oVKIxzDt93dMFXj+n+mZVPC4oWDy7AxDAO4F ttptvNzy6QDhtnGnyId8xl3/AiYSP+T7oilvqEZzGx6EfhMoESQci7aLE/KGnFFoYLkO o9EggJ7TTzVRLzVfRQi63ApZNsp0XCDvQvCZ/5wIm+bsDJ2aQuT2+qsLqKi5S2jpjpNG yowg== X-Received: by 10.180.210.210 with SMTP id mw18mr25047188wic.18.1445946646847; Tue, 27 Oct 2015 04:50:46 -0700 (PDT) Original-Received: from Rainers-MacBook-Pro.local ([2a01:e35:8baa:b070:e0bf:d92b:f556:b2a7]) by smtp.gmail.com with ESMTPSA id gd10sm44410712wjb.47.2015.10.27.04.50.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Oct 2015 04:50:45 -0700 (PDT) In-Reply-To: <83lhapbg5a.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 26 Oct 2015 21:09:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108073 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Rainer M Krug >> Cc: 21428@debbugs.gnu.org >> Date: Mon, 26 Oct 2015 08:59:39 +0100 >>=20 >> the bug does not affect to many users (strange config? OS X?). > > It's not really true that it didn't affect others. We have in the bug > tracker a few similar bug reports where an invalid face ID was the > culprit, I believe they were caused by the same problem. > > It's true that these problems are rare. That's because, for this > situation to happen, you need to have some to enable feature that can > create new faces or change existing faces in code that is invoked by > redisplay, for example some Lisp form that gets evaluated while > displaying the mode line. When a face is created or changed, Emacs > forgets all the cached faces (because a new/changed face could > potentially require fresh realization of the faces that depend on the > changed face, and Emacs doesn't track face dependencies and this > cannot know which ones, if any, need to be recomputed). If this > happens, and if Emacs also needs to redraw the portions of the display > that used one of the "forgotten" faces, it crashes. So this requires > a relatively rare combination of factors, and so went under the radar > for a long time. I think it was exposed more lately because we > consistently introduced more and more redisplay optimizations, which > increased the probability of these rare situations because they allow > Emacs to avoid examining faces in larger areas of its display, thus > failing to recompute them after discarding the cached faces. Thanks for the explanations - makes sense. Cheers, Rainer =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJWL2UTAAoJENvXNx4PUvmC4OoIALoQcZ5Yc/XLPef6l3ejmpGt +EaTMb4E+hAw5aXrJu89IOznP9iTs7dXuYDVw5sDkGr8ZwP1OpVolIcbR7Vow2Lw apzKYHi2XW/C8vdkzH6+nMGpqHKaDssE6V4iuRF4O1yMDB+H5aZzpukuMNtkN4g7 dnYva3CraVeah2ZcfBguzt6SAbAfo3GaCu/0dpHvFSKQAq7z0/30hE0Gk2ar/MHs 7X3Bd5HZwADMMpkO2mRGy4oXYCZHsY2r3vNTW38L0ylm5w7Bpqkijz+VKY/WQVQ4 h3WWEOkd+mCIClGHNlApI1Z5IyuJVL/jo7l/yX6abltPTqM1ywLmHL9TrCPvZJQ= =egYl -----END PGP SIGNATURE----- --=-=-=--