From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21428: 24.5; Crash of emacs on OS X, installed via homebrew cask Date: Tue, 29 Sep 2015 13:50:28 +0300 Message-ID: <837fn9cxe3.fsf@gnu.org> References: <83lhbvir5b.fsf@gnu.org> <838u7uizqs.fsf@gnu.org> <8337y2imvk.fsf@gnu.org> <83bncmeu95.fsf@gnu.org> <8337xyelev.fsf@gnu.org> <83vbaucx7c.fsf@gnu.org> <83fv1xd71j.fsf@gnu.org> <83bncld3vf.fsf@gnu.org> <838u7pd02c.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1443559539 24211 80.91.229.3 (29 Sep 2015 20:45:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Sep 2015 20:45:39 +0000 (UTC) Cc: 21428@debbugs.gnu.org, mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp To: Rainer M Krug Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 29 22:45:27 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 1Zh1mB-0007bl-GT for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Sep 2015 22:45:27 +0200 Original-Received: from localhost ([::1]:55139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zh1mA-0001Je-Ht for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Sep 2015 16:45:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgsV1-0006rV-3f for bug-gnu-emacs@gnu.org; Tue, 29 Sep 2015 06:51:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgsUw-0004j8-4L for bug-gnu-emacs@gnu.org; Tue, 29 Sep 2015 06:51:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgsUw-0004j3-0v for bug-gnu-emacs@gnu.org; Tue, 29 Sep 2015 06:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZgsUv-0008NE-QF for bug-gnu-emacs@gnu.org; Tue, 29 Sep 2015 06:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Sep 2015 10:51:01 +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.144352382232142 (code B ref 21428); Tue, 29 Sep 2015 10:51:01 +0000 Original-Received: (at 21428) by debbugs.gnu.org; 29 Sep 2015 10:50:22 +0000 Original-Received: from localhost ([127.0.0.1]:47315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZgsUH-0008ML-Lq for submit@debbugs.gnu.org; Tue, 29 Sep 2015 06:50:22 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:48397) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZgsUE-0008MB-It for 21428@debbugs.gnu.org; Tue, 29 Sep 2015 06:50:19 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NVF00A00PZMSC00@a-mtaout22.012.net.il> for 21428@debbugs.gnu.org; Tue, 29 Sep 2015 13:50:16 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NVF00A96Q3RL860@a-mtaout22.012.net.il>; Tue, 29 Sep 2015 13:50:16 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il 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:107053 Archived-At: > From: Rainer M Krug > Cc: 21428@debbugs.gnu.org, mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp > Date: Tue, 29 Sep 2015 12:17:33 +0200 > > > OK, for now just add GET_FROM_IMAGE to the assertion, like this: > > > > eassert (it->method == GET_FROM_BUFFER > > || it->method == GET_FROM_DISPLAY_VECTOR > > || it->method == GET_FROM_STRING > > || it->method == GET_FROM_IMAGE); > > > > recompile, > > Done > > > and see if this gets you past the crashes in > > push_prefix_prop when those inhibit-* variables are set to t. > > OK > > > If it does, then let's see if running with those inhibit-* variables > > set to t can trigger the crashes due to invalid face ID in > > get_glyph_face_and_encoding. > > I assume you mean here to set them to NILL? No, I mean continue running with them set to t, and see if the crashes in get_glyph_face_and_encoding are prevented by disabling these redisplay optimizations. IOW, if the assertion violation in push_prefix_prop is no longer in the way, let's go back to our plan of trying to figure out which redisplay optimizations cause the crashes in get_glyph_face_and_encoding: first run with all optimizations disabled, and if that avoids the crashes in get_glyph_face_and_encoding, re-enable the optimizations one by one to see which one reintroduces the crashes. The assertion violations in push_prefix_prop are a separate issue, unrelated to the original problem we are trying to solve. It just distracted us for a while, because you were unable to run without hitting them. Thanks.