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: Thu, 24 Sep 2015 21:55:12 +0300 Message-ID: <83lhbvir5b.fsf@gnu.org> References: <83y4gi6z3p.fsf@gnu.org> <837fo07p54.fsf@gnu.org> <83zj0gm3yu.fsf@gnu.org> <83y4g0m0js.fsf@gnu.org> <83wpvjnc5m.fsf@gnu.org> <83twqnnbdz.fsf@gnu.org> <837fnhlb3v.fsf@gnu.org> <83y4fvixvx.fsf@gnu.org> <83pp17ismu.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1443120994 3218 80.91.229.3 (24 Sep 2015 18:56:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Sep 2015 18:56:34 +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 Thu Sep 24 20:56:23 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 1ZfBgh-0000ta-S6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Sep 2015 20:56:12 +0200 Original-Received: from localhost ([::1]:54369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfBgh-0003g5-8p for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Sep 2015 14:56:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfBgb-0003cI-KO for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2015 14:56:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZfBgY-00029Y-DO for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2015 14:56:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfBgY-00029U-Ar for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2015 14:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZfBgY-0000Tr-5K for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2015 14:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Sep 2015 18:56: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.14431209151782 (code B ref 21428); Thu, 24 Sep 2015 18:56:02 +0000 Original-Received: (at 21428) by debbugs.gnu.org; 24 Sep 2015 18:55:15 +0000 Original-Received: from localhost ([127.0.0.1]:42124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZfBfn-0000Sf-3f for submit@debbugs.gnu.org; Thu, 24 Sep 2015 14:55:15 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:49710) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZfBfj-0000SV-RI for 21428@debbugs.gnu.org; Thu, 24 Sep 2015 14:55:13 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NV700G002UJI700@mtaout27.012.net.il> for 21428@debbugs.gnu.org; Thu, 24 Sep 2015 21:51:30 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NV700G6N31T8810@mtaout27.012.net.il>; Thu, 24 Sep 2015 21:51:30 +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:106884 Archived-At: > From: Rainer M Krug > Cc: 21428@debbugs.gnu.org, mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp > Date: Thu, 24 Sep 2015 20:37:00 +0200 > > > It helps: the offending line seems to be the one that shows this: > > > > - [ ] ownFree > > > > with "ownFree" highlighted by a green underwave. Do you know what is > > that underwave face? (If you don't, you could recreate the buffer in > > a live session, then go to that place and type "M-x > > describe-text-properties RET".) > > In the life session, I get the following: (as I continued some editing, > the position might be off compared to the session which crashed) > > ,---- > | Text content at position 34253: > | > | > | There is an overlay here: > | From 34252 to 34259 > | evaporate t > | face flyspell-duplicate > | flyspell-overlay t > | help-echo "mouse-2: correct word at point" > | keymap [Show] > | mouse-face highlight OK, so the face is flyspell-duplicate. > ,---- > | Face: flyspell-duplicate (sample) (customize this face) > | > | Documentation: > | Flyspell face for words that appear twice in a row. > | See also ‘flyspell-duplicate-distance’. > | > | Defined in ‘flyspell.el’. > | > | Family: unspecified > | Foundry: unspecified > | Width: unspecified > | Height: unspecified > | Weight: unspecified > | Slant: unspecified > | Foreground: unspecified > | DistantForeground: unspecified > | Background: unspecified > | Underline: (:style wave :color #008000) > | Overline: unspecified > | Strike-through: unspecified > | Box: unspecified > | Inverse: unspecified > | Stipple: unspecified > | Font: unspecified > | Fontset: unspecified > | Inherit: nil > | > | [back] > `---- > > Anything strange here? No, looks perfectly OK. The problem is not with the face itself, it's with its "realization" and caching by the display engine. > I leave the session as it is to provide further info. Actually, I think we've got all the info I need at this point. We now need to repeat this procedure in another 2 or 3 similar crashes: display the face ID, the "used" count of the frame's face cache, then use "pgrow" in the call-stack frame that calls the 'draw_glyphs' function, to show the text to be displayed in that face, and finally see which face it is in a "live" display. Maybe we will see some pattern common to all those cases, although I'm starting to doubt that. Thanks.