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: Wed, 30 Sep 2015 12:36:40 +0200 Message-ID: References: <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> <837fn9cxe3.fsf@gnu.org> <83k2r8b4rr.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 1443681345 2725 80.91.229.3 (1 Oct 2015 06:35:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2015 06:35:45 +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 Oct 01 08:35:34 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 1ZhXSm-0004VA-H7 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 08:35:32 +0200 Original-Received: from localhost ([::1]:38635 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhXSl-0000PY-VK for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 02:35:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhEl2-0008Qw-2X for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2015 06:37:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhEkx-0000Zo-1P for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2015 06:37:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhEkw-0000Zj-UG for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2015 06:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZhEkw-00059R-1s for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2015 06:37: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: Wed, 30 Sep 2015 10:37: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.144360941519789 (code B ref 21428); Wed, 30 Sep 2015 10:37:02 +0000 Original-Received: (at 21428) by debbugs.gnu.org; 30 Sep 2015 10:36:55 +0000 Original-Received: from localhost ([127.0.0.1]:48708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhEko-000596-2i for submit@debbugs.gnu.org; Wed, 30 Sep 2015 06:36:54 -0400 Original-Received: from mail-wi0-f174.google.com ([209.85.212.174]:34629) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhEkk-00058v-90 for 21428@debbugs.gnu.org; Wed, 30 Sep 2015 06:36:51 -0400 Original-Received: by wicfx3 with SMTP id fx3so190399252wic.1 for <21428@debbugs.gnu.org>; Wed, 30 Sep 2015 03:36:49 -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=f17jSgswMjp4x9HPE3/fJBklAKdcoV39NSANDt4X5I0=; b=CxpVqtvr6HITKktH0yCtq+UfrF8QT4+VImiAWjnTrmGx7TwDDlwSBJFvnmT8bHiGDc zl4oOQz5k1eh9MP3crd1BC50Eq/vCeWWuGAXIv/z8OrMncyV1WpgJWU3UGi8CzZYXx/P qXFSVqzkcP6tq2GeJMeG7F7PrmZgTr0dtUa94toIHOfudWv9EU264ra5y05qXj28B3qw HEtK/3PEI9ne4Pt22jbrTvZsF/q/YRfwng04I3QfQp/pGlXSl0iDtzwdL7+qmKsBrt60 OjSyAQ7NdkW3HBhUAZA/4U5z4THVBiZzgMNUTHHsWnqEq+mhBVgblnyAgz1qEYFcLAVP yVsQ== X-Received: by 10.194.175.104 with SMTP id bz8mr3337953wjc.42.1443609409379; Wed, 30 Sep 2015 03:36:49 -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 r4sm28791893wia.19.2015.09.30.03.36.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Sep 2015 03:36:47 -0700 (PDT) In-Reply-To: <83k2r8b4rr.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 30 Sep 2015 13:06:16 +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:107096 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: Wed, 30 Sep 2015 11:49:10 +0200 >>=20 >> >> 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. >> > >> > OK - got it. So continue the initial plan. >>=20 >> They are all set to t and I got the following crash: > > One more theory eats dust. > >> Let me know if you need any further info - I will leave the session >> open. > > Just for the record, please show the usual data about this crash: the > 'used' count of the frame's face cache and the output of "pgrow" > command in frame #4. OK: ,---- | (gdb) frame 4 | #4 0x000000010006fb19 in draw_glyphs (w=3D0x11226a6b8, x=3D8, row=3D0x11= fa6e100, area=3DTEXT_AREA, start=3D0, end=3D42, hl=3DDRAW_NORMAL_TEXT, over= laps=3D0) at xdisp.c:25242 | 25242 BUILD_GLYPH_STRINGS (i, end, head, tail, hl, x, last_x); | (gdb) pgrow | TEXT: 42 glyphs | 0 0: CHAR[#] pos=3D1 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 1 8: CHAR[+] pos=3D2 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 2 16: CHAR[S] pos=3D3 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 3 24: CHAR[E] pos=3D4 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 4 32: CHAR[T] pos=3D5 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 5 40: CHAR[U] pos=3D6 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 6 48: CHAR[P] pos=3D7 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 7 56: CHAR[F] pos=3D8 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 8 64: CHAR[I] pos=3D9 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 9 72: CHAR[L] pos=3D10 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 10 80: CHAR[E] pos=3D11 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 11 88: CHAR[:] pos=3D12 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 12 96: CHAR[ ] pos=3D13 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 13 104: CHAR[.] pos=3D14 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 14 112: CHAR[/] pos=3D15 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 15 120: CHAR[E] pos=3D16 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 16 128: CHAR[n] pos=3D17 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 17 136: CHAR[e] pos=3D18 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 18 144: CHAR[r] pos=3D19 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 19 152: CHAR[g] pos=3D20 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 20 160: CHAR[y] pos=3D21 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 21 168: CHAR[B] pos=3D22 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 22 176: CHAR[a] pos=3D23 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 23 184: CHAR[l] pos=3D24 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 24 192: CHAR[a] pos=3D25 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 25 200: CHAR[n] pos=3D26 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 26 208: CHAR[c] pos=3D27 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 27 216: CHAR[e] pos=3D28 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 28 224: CHAR[S] pos=3D29 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 29 232: CHAR[E] pos=3D30 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 30 240: CHAR[T] pos=3D31 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 31 248: CHAR[U] pos=3D32 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 32 256: CHAR[P] pos=3D33 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 33 264: CHAR[F] pos=3D34 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 34 272: CHAR[I] pos=3D35 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 35 280: CHAR[L] pos=3D36 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 36 288: CHAR[E] pos=3D37 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 37 296: CHAR[.] pos=3D38 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 38 304: CHAR[o] pos=3D39 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 39 312: CHAR[r] pos=3D40 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 40 320: CHAR[g] pos=3D41 blev=3D0,btyp=3DL w=3D8 a+d=3D14+4 face=3D48 MB | 41 328: CHAR[ ] pos=3D0 blev=3D0,btyp=3DB w=3D8 a+d=3D14+4 MB | (gdb) frame 2 | #2 0x0000000100065467 in get_glyph_face_and_encoding (f=3D0x104811630, g= lyph=3D0x11ca93400, char2b=3D0x7fff5fbfb660) at xdisp.c:24350 | 24350 eassert (face !=3D NULL); | (gdb) p f->face_cache->used | $1 =3D 36 | (gdb) frame 4 | #4 0x000000010006fb19 in draw_glyphs (w=3D0x11226a6b8, x=3D8, row=3D0x11= fa6e100, area=3DTEXT_AREA, start=3D0, end=3D42, hl=3DDRAW_NORMAL_TEXT, over= laps=3D0) at xdisp.c:25242 | 25242 BUILD_GLYPH_STRINGS (i, end, head, tail, hl, x, last_x); | (gdb) xbacktrace | "redisplay_internal (C function)" (0x0) | (gdb) `---- face info of the text: ,---- | Face: org-meta-line (sample) (customize this face) |=20 | Documentation: | Face for meta lines starting with "#+". |=20 | Defined in =E2=80=98org-faces.el=E2=80=99. |=20 | Family: unspecified | Foundry: unspecified | Width: unspecified | Height: unspecified | Weight: unspecified | Slant: normal | Foreground: #008ED1 | DistantForeground: unspecified | Background: #EAEAFF | Underline: unspecified | Overline: unspecified | Strike-through: unspecified | Box: unspecified | Inverse: unspecified | Stipple: unspecified | Font: unspecified | Fontset: unspecified | Inherit: unspecified `---- ,---- | There are text properties here: | face org-meta-line | font-lock-fontified t | fontified t | line-prefix "" | org-category "constrOptim" | wrap-prefix "" |=20 | [back] `---- > > I guess we are down to using the brute-force approach after all. I > will prepare a series of GDB commands that you need to invoke before > running a new Emacs session under GDB. The output will be recorded in > a file, which I will ask you to send me for analysis when a crash > happens. OK - no problem. > > To prepare those GDB commands, I need to know how many different > frames you are normally using. If only one, the job of preparing > those commands is easier. Now we have luck: very seldom more than one, and the crashes occured all with only one frame used during the whole session. > If you normally use more than one frame, do the crashes happen when > you edit in a particular one of them? IOW, would it be easy for you > to switch to the frame where the crashes are expected, in order to > invoke those GDB commands for that one frame? You don't have to rush with the instructions, as I will only be able to continue working in emacs tomorrow morning. Thanks, Rainer > > Thanks. =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----- iQEcBAEBCAAGBQJWC7s9AAoJENvXNx4PUvmCo0wH/3nnMpzjdpP/GMl77Zqz2Trb AgY5xoIfFM2ffgfgJr1VZBZ4ktwCRV6qgB8eB8z8G+En2W3f3F5DIth0WsQL/xbW q1Iuda+uQWzg9yqgsRi9Wpo4vF7s0jStL3eRT9fZXQLcem8cKTsqGNPafcL9E5W6 Z19e4XHdamFrZ5jgEKv4TkY02izmNXLkakdTJlPzX65HqAlY6mMxAvfEu4mFt1YI 5HXT4/mGxIpzfBe2dL8laIH8GTeYc0Ge9TD5Z61Fa2J1S9xyk8p8cSBGwbehq/XA S5viAD7DyXI7rc2xHtAadVVnzE/0N3a5bYEH0indAKXn+e3Ug+PJi2r9IexNB8I= =X93R -----END PGP SIGNATURE----- --=-=-=--