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: Thu, 24 Sep 2015 20:37:00 +0200 Message-ID: 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> 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 1443119912 18775 80.91.229.3 (24 Sep 2015 18:38:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Sep 2015 18:38:32 +0000 (UTC) Cc: 21428@debbugs.gnu.org, mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 24 20:38:20 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 1ZfBPK-00050s-B2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Sep 2015 20:38:14 +0200 Original-Received: from localhost ([::1]:53356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfBPJ-0001f6-Fo for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Sep 2015 14:38:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfBPE-0001ad-2p for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2015 14:38:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZfBP9-0001Mp-1c for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2015 14:38:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfBP8-0001MR-Vc for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2015 14:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZfBP8-0008UU-HG for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2015 14:38: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: Thu, 24 Sep 2015 18:38: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.144311983532586 (code B ref 21428); Thu, 24 Sep 2015 18:38:02 +0000 Original-Received: (at 21428) by debbugs.gnu.org; 24 Sep 2015 18:37:15 +0000 Original-Received: from localhost ([127.0.0.1]:42110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZfBOM-0008TV-KC for submit@debbugs.gnu.org; Thu, 24 Sep 2015 14:37:15 -0400 Original-Received: from mail-wi0-f172.google.com ([209.85.212.172]:33827) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZfBOI-0008TK-4x for 21428@debbugs.gnu.org; Thu, 24 Sep 2015 14:37:14 -0400 Original-Received: by wicfx3 with SMTP id fx3so40666279wic.1 for <21428@debbugs.gnu.org>; Thu, 24 Sep 2015 11:37:09 -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=8UsaxmyjQBXUyPz0mEtVhIo+JpLLk1bE/wjOXTP99vo=; b=A0hBaxhbmj8ltoMELIWVfk+kDV/LmZaY4ANtSK8NVFauo96KrXWk8QZdz9duVNc1sD 1skUjV6L7xQEQsVumj2HIn2QPUlyU0VUJQqWGbk0tP4SQO+rm9pF81lBNZTt4NZpahW+ 1ZrIs75aBSQ3+4UTS40bJBXumPTCh/MKwPIMki8yk2GI/OjpllxL1L0T46QkBDPDH7n8 9vsFGt04ZJZsZgJi0rCsC0iAE34myC5PbKseUDw9Kb4lOhb6QwdIJj9rDjylLsRwdAT3 WpLJ0R5RpRVdVzInO6HO4ddwSJJfjAdSuSRBzdUOjAHjQaXNWfaKkE6GI1z3YkTK0L91 TEww== X-Received: by 10.180.10.101 with SMTP id h5mr12162923wib.27.1443119829397; Thu, 24 Sep 2015 11:37:09 -0700 (PDT) Original-Received: from Rainers-MacBook-Pro.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by smtp.gmail.com with ESMTPSA id fz1sm162010wic.8.2015.09.24.11.37.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Sep 2015 11:37:08 -0700 (PDT) In-Reply-To: <83pp17ismu.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 24 Sep 2015 21:23:05 +0300") 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:106881 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> 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 19:22:48 +0200 >>=20 >> >> | (gdb) pgrow >> >> | TEXT: 22 glyphs >> >> | 0 0: CHAR[*] str=3D0xc3502c8[0] blev=3D0,btyp=3DL w=3D8 a+d=3D= 14+4 face=3D17 AVOID >> >> | 1 8: CHAR[*] str=3D0xc3502c8[1] blev=3D0,btyp=3DL w=3D8 a+d=3D= 14+4 face=3D17 AVOID >> >> | 2 16: CHAR[*] str=3D0xc3502c8[2] blev=3D0,btyp=3DL w=3D8 a+d=3D= 14+4 face=3D17 AVOID >> >> | 3 24: CHAR[*] str=3D0xc3502c8[3] blev=3D0,btyp=3DL w=3D8 a+d=3D= 14+4 face=3D17 AVOID >> >> | 4 32: CHAR[*] str=3D0xc3502c8[4] blev=3D0,btyp=3DL w=3D8 a+d=3D= 14+4 face=3D17 AVOID >> >> | 5 40: CHAR[*] str=3D0xc3502c8[5] blev=3D0,btyp=3DL w=3D8 a+d=3D= 14+4 face=3D17 AVOID >> >> | 6 48: CHAR[*] str=3D0xc3502c8[6] blev=3D0,btyp=3DL w=3D8 a+d=3D= 14+4 face=3D17 AVOID >> >> | 7 56: CHAR[ ] str=3D0xc3502c8[7] blev=3D0,btyp=3DL w=3D8 a+d=3D= 14+4 AVOID >> >> | 8 64: CHAR[-] pos=3D34336 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 MB >> >> | 9 72: CHAR[ ] pos=3D34337 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 MB >> >> | 10 80: CHAR[[] pos=3D34338 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D18 MB >> >> | 11 88: CHAR[ ] pos=3D34339 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D18 MB >> >> | 12 96: CHAR[]] pos=3D34340 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D18 MB >> >> | 13 104: CHAR[ ] pos=3D34341 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 MB >> >> | 14 112: CHAR[o] pos=3D34342 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D31 MB >> >> | 15 120: CHAR[w] pos=3D34343 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D31 MB >> >> | 16 128: CHAR[n] pos=3D34344 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D31 MB >> >> | 17 136: CHAR[F] pos=3D34345 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D31 MB >> >> | 18 144: CHAR[r] pos=3D34346 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D31 MB >> >> | 19 152: CHAR[e] pos=3D34347 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D31 MB >> >> | 20 160: CHAR[e] pos=3D34348 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D31 MB >> >> | 21 168: CHAR[ ] pos=3D0 blev=3D0,btyp=3DB w=3D8 a+d=3D14+4 MB >> >> | (gdb) xbacktrace >> >> | "redisplay_internal (C function)" (0x0) >> >> | "redisplay" (0x5fbfaa68) >> >> | "sit-for" (0x5fbfb430) >> >> | "isearch-lazy-highlight-new-loop" (0x5fbfbe00) >> >> | "replace-highlight" (0x5fbfc7f0) >> >> | "perform-replace" (0x5fbfd220) >> >> | "query-replace" (0x5fbfdd90) >> >> | "funcall-interactively" (0x5fbfdd88) >> >> | "call-interactively" (0x5fbfe6a0) >> >> | "command-execute" (0x5fbff090) >> > >> > Given the above characters displayed on one offending screen lines, >> > can you figure out what kind of face is #31, the one which should be >> > used to display the 7 last characters "ownFree"? >>=20 >> If you tell me how, I could do this. > > Recreate the same display, then use describe-text-properties, see > below. OK - I'll do so. > >> How did you identify the characters "ownFree" as causing the being >> in that face? > > See the output of the "pgrow" command above: > >> >> | 14 112: CHAR[o] pos=3D34342 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D31 MB >> >> | 15 120: CHAR[w] pos=3D34343 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D31 MB >> >> | 16 128: CHAR[n] pos=3D34344 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D31 MB >> >> | 17 136: CHAR[F] pos=3D34345 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D31 MB >> >> | 18 144: CHAR[r] pos=3D34346 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D31 MB >> >> | 19 152: CHAR[e] pos=3D34347 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D31 MB >> >> | 20 160: CHAR[e] pos=3D34348 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 fa= ce=3D31 MB > > This shows that characters at columns 14 to 20 that come buffer > positions 34342 through 34340 are "ownFree" and should be displayed > with face=3D31. Dam it - I read horizontal and not vertical... Makes sense. > >> > Could this by any chance be the 'query-replace' face used by the >> > command query-replace to highlight the matches? >>=20 >> No - see the attached screenshot - maybe it helps you? > > 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: |=20 |=20 | 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 |=20 |=20 | There are text properties here: | fontified t | line-prefix [Show] | org-category "EnergyBalance" | org-stats 77 | wrap-prefix [Show] |=20 | [back] `---- and for describe-face when the cursor is in the "ownFree" as above I get: ,---- | Face: flyspell-duplicate (sample) (customize this face) |=20 | Documentation: | Flyspell face for words that appear twice in a row. | See also =E2=80=98flyspell-duplicate-distance=E2=80=99. |=20 | Defined in =E2=80=98flyspell.el=E2=80=99. |=20 | 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 |=20 | [back] `---- Anything strange here? > >> >> By the way: these crashes usually happen when I do something quickly - >> >> e.g. here I search-replaced some trivial string in org code blocks, t= he >> >> last time I deleted repeatedly result blocks and empty lines. >> > >> > If the face involved in these crashes is different each time, we will >> > need to trace all operations that use frame face cache. But we've not >> > yet established that. >>=20 >> Hopefully it is easier. > > Let's hope. > > Thanks. I leave the session as it is to provide further info. 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----- iQEcBAEBCAAGBQJWBELRAAoJENvXNx4PUvmCRuQH/A6m+E+xyUdA1b3+XAuY0YJH tEfAp+P2BWTYOKhNnBA5cSOTm1dG+9CtVqmAtGUkWgLEp6opofBUtP5e3+o06w3N h9qVooPlpjDniaPRWE5se2eVR6cj231WlPjBhB+s2uWTXu8ThejeO++1A0KyFGhI 0yYihUd+IH99N8z/9FcK8FStcfmS01NMXOcFmxtgUMlDiPLy2C+I2TAQHhtNo9bM yZpCtBC5N+9hBQsyqDxPmAp4+HEzVUmm/IqOg928GGlwnQE0LN4Lnjr1J6B5q8Fj X7f/gtcMpQysvPz5czhpcAHjOaO6JiuF64nwArhQE9rgWAG6zLP+TPy+ea6aaN4= =fGpQ -----END PGP SIGNATURE----- --=-=-=--