From: Rainer M Krug <Rainer@krugs.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 21428@debbugs.gnu.org, mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp
Subject: bug#21428: 24.5; Crash of emacs on OS X, installed via homebrew cask
Date: Thu, 24 Sep 2015 19:22:48 +0200 [thread overview]
Message-ID: <m21tdng2af.fsf@krugs.de> (raw)
In-Reply-To: <83y4fvixvx.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 24 Sep 2015 19:29:38 +0300")
[-- Attachment #1.1: Type: text/plain, Size: 5001 bytes --]
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Rainer M Krug <Rainer@krugs.de>
>> Cc: 21428@debbugs.gnu.org, mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp
>> Date: Thu, 24 Sep 2015 15:22:22 +0200
>>
>> OK - next crash and the session is open. I give you here some output:
>
> Thanks, we are getting somewhere.
That is good to hear.
>
>> | #7 0x0000000100063797 in get_glyph_face_and_encoding
>> | (f=0x10201bba0, glyph=0x11c159ea0, char2b=0x7fff5fbf73c0) at
>> | xdisp.c:24330
>> | face = (struct face *) 0x0
>> | code = 0
>> | #8 0x00000001000b5ffd in fill_glyph_string (s=0x7fff5fbf73d0,
>> | face_id=31, start=14, end=22, overlaps=0) at xdisp.c:24555
> ^^^^^^^^^^
> Here, Emacs tries to display characters 14..21 of some screen line
> with face whose cache index is 31. But there's no such face in the
> cache, so FACE_FROM_ID returns NULL, and the assertion on line 24330
> of xdisp.c aborts Emacs.
OK
>
>> | (gdb) p f->face_cache->used
>> | $1 = 31
>
> Here we see that the frame's face cache knows only about faces whose
> indices are zero to 30, inclusive. There's no face number 31 in the
> cache.
Makes sense.
>
>> | (gdb) pgrow
>> | TEXT: 22 glyphs
>> | 0 0: CHAR[*] str=0xc3502c8[0] blev=0,btyp=L w=8 a+d=14+4 face=17 AVOID
>> | 1 8: CHAR[*] str=0xc3502c8[1] blev=0,btyp=L w=8 a+d=14+4 face=17 AVOID
>> | 2 16: CHAR[*] str=0xc3502c8[2] blev=0,btyp=L w=8 a+d=14+4 face=17 AVOID
>> | 3 24: CHAR[*] str=0xc3502c8[3] blev=0,btyp=L w=8 a+d=14+4 face=17 AVOID
>> | 4 32: CHAR[*] str=0xc3502c8[4] blev=0,btyp=L w=8 a+d=14+4 face=17 AVOID
>> | 5 40: CHAR[*] str=0xc3502c8[5] blev=0,btyp=L w=8 a+d=14+4 face=17 AVOID
>> | 6 48: CHAR[*] str=0xc3502c8[6] blev=0,btyp=L w=8 a+d=14+4 face=17 AVOID
>> | 7 56: CHAR[ ] str=0xc3502c8[7] blev=0,btyp=L w=8 a+d=14+4 AVOID
>> | 8 64: CHAR[-] pos=34336 blev=0,btyp=L w=8 a+d=14+4 MB
>> | 9 72: CHAR[ ] pos=34337 blev=0,btyp=L w=8 a+d=14+4 MB
>> | 10 80: CHAR[[] pos=34338 blev=0,btyp=L w=8 a+d=14+4 face=18 MB
>> | 11 88: CHAR[ ] pos=34339 blev=0,btyp=L w=8 a+d=14+4 face=18 MB
>> | 12 96: CHAR[]] pos=34340 blev=0,btyp=L w=8 a+d=14+4 face=18 MB
>> | 13 104: CHAR[ ] pos=34341 blev=0,btyp=L w=8 a+d=14+4 MB
>> | 14 112: CHAR[o] pos=34342 blev=0,btyp=L w=8 a+d=14+4 face=31 MB
>> | 15 120: CHAR[w] pos=34343 blev=0,btyp=L w=8 a+d=14+4 face=31 MB
>> | 16 128: CHAR[n] pos=34344 blev=0,btyp=L w=8 a+d=14+4 face=31 MB
>> | 17 136: CHAR[F] pos=34345 blev=0,btyp=L w=8 a+d=14+4 face=31 MB
>> | 18 144: CHAR[r] pos=34346 blev=0,btyp=L w=8 a+d=14+4 face=31 MB
>> | 19 152: CHAR[e] pos=34347 blev=0,btyp=L w=8 a+d=14+4 face=31 MB
>> | 20 160: CHAR[e] pos=34348 blev=0,btyp=L w=8 a+d=14+4 face=31 MB
>> | 21 168: CHAR[ ] pos=0 blev=0,btyp=B w=8 a+d=14+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"?
If you tell me how, I could do this. How did you identify the characters
"ownFree" as causing the being in that face?
The last lines continue like this - if it helps:
,----
| - [ ] mahat ::
| #+begin_src R
| fn <- file.path(CACHE, "wpFitMultiple.fitOptim.wpLEL.mahat.multiple_NelderMead..rds")
|
| fileNames <- list(
| mahat.fit.all = "wpFitMultiple.fitOptim.wpLEL.mahat.multiple_NelderMead.fit_all",
| mahat.fit.10 = "wpFitMultiple.fitOptim.wpLEL.mahat.multiple_NelderMead.fit_10x100",
| mahat.fit.100 = "wpFitMultiple.fitOptim.wpLEL.mahat.multiple_NelderMead.fit_100x100",
| mahat.excl.1 = "wpFitMultiple.fitOptim.wpLEL.mahat.multiple_NelderMead.excl_1x50"
| ## mahat.excl.10 = "wpFitMultiple.fitOptim.wpLEL.mahat.multiple_NelderMead.excl_10x50",
| )
| <<analysisMultiple>>
| #+end_src
|
`----
> Could this by any chance be the 'query-replace' face used by the
> command query-replace to highlight the matches?
No - see the attached screenshot - maybe it helps you?
>
>> 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, the
>> 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.
Hopefully it is easier.
Thanks,
Rainer
[-- Attachment #1.2: Screenshot 2015-09-24 19.00.14.png --]
[-- Type: image/png, Size: 243530 bytes --]
[-- Attachment #1.3: Type: text/plain, Size: 419 bytes --]
--
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
next prev parent reply other threads:[~2015-09-24 17:22 UTC|newest]
Thread overview: 100+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-07 10:08 bug#21428: 24.5; Crash of emacs on OS X, installed via homebrew cask Rainer M Krug
2015-09-07 15:14 ` Eli Zaretskii
2015-09-07 17:46 ` Rainer M Krug
2015-09-08 18:16 ` Eli Zaretskii
2015-09-09 7:39 ` Rainer M Krug
2015-09-09 8:42 ` Rainer M Krug
2015-09-11 9:50 ` Rainer M Krug
2015-09-21 8:42 ` Rainer M Krug
2015-09-21 9:37 ` Eli Zaretskii
2015-09-21 10:00 ` Rainer M Krug
2015-09-21 10:19 ` Rainer M Krug
2015-09-21 10:25 ` Eli Zaretskii
2015-09-21 11:00 ` Eli Zaretskii
[not found] ` <m27fnkroj5.fsf@krugs.de>
[not found] ` <83y4g0m0js.fsf@gnu.org>
[not found] ` <m2y4g0q7fs.fsf@krugs.de>
2015-09-21 13:18 ` Eli Zaretskii
2015-09-21 13:27 ` Rainer M Krug
2015-09-21 13:35 ` Eli Zaretskii
2015-09-21 13:46 ` Rainer M Krug
2015-09-23 8:41 ` Rainer M Krug
2015-09-23 9:48 ` Eli Zaretskii
2015-09-23 10:00 ` Rainer M Krug
2015-09-24 13:22 ` Rainer M Krug
2015-09-24 16:29 ` Eli Zaretskii
2015-09-24 17:22 ` Rainer M Krug [this message]
2015-09-24 18:23 ` Eli Zaretskii
2015-09-24 18:37 ` Rainer M Krug
2015-09-24 18:55 ` Eli Zaretskii
2015-09-25 9:34 ` Rainer M Krug
2015-09-25 10:01 ` Eli Zaretskii
2015-09-25 10:46 ` Rainer M Krug
2015-09-25 12:30 ` Rainer M Krug
2015-09-25 14:39 ` Eli Zaretskii
2015-09-28 9:33 ` Rainer M Krug
2015-09-28 10:03 ` Eli Zaretskii
2015-09-28 11:12 ` Rainer M Krug
2015-09-28 11:27 ` Rainer M Krug
2015-09-28 12:00 ` Eli Zaretskii
2015-09-28 12:53 ` Rainer M Krug
2015-09-28 13:14 ` Eli Zaretskii
2015-09-28 15:39 ` Rainer M Krug
2015-09-28 16:30 ` Rainer M Krug
2015-09-28 16:42 ` Eli Zaretskii
2015-09-29 6:58 ` Rainer M Krug
2015-09-29 7:22 ` Eli Zaretskii
2015-09-29 8:01 ` Rainer M Krug
2015-09-29 8:30 ` Eli Zaretskii
2015-09-29 8:52 ` Rainer M Krug
2015-09-29 9:52 ` Eli Zaretskii
2015-09-29 10:17 ` Rainer M Krug
2015-09-29 10:50 ` Eli Zaretskii
2015-09-29 11:16 ` Rainer M Krug
2015-09-30 9:49 ` Rainer M Krug
2015-09-30 10:06 ` Eli Zaretskii
2015-09-30 10:36 ` Rainer M Krug
2015-09-30 18:49 ` Eli Zaretskii
2015-09-30 10:37 ` Rainer M Krug
2015-09-30 19:38 ` Eli Zaretskii
2015-10-01 7:29 ` Rainer M Krug
2015-10-01 8:21 ` Rainer M Krug
2015-10-01 9:36 ` Eli Zaretskii
2015-10-01 10:45 ` Rainer M Krug
2015-10-06 8:16 ` Rainer M Krug
2015-10-06 16:47 ` Eli Zaretskii
2015-10-07 8:13 ` Rainer M Krug
2015-10-07 15:36 ` Eli Zaretskii
2015-10-07 16:10 ` Rainer M Krug
[not found] ` <m2vba7dxds.fsf@krugs.de>
2015-10-16 18:12 ` Eli Zaretskii
2015-10-16 19:22 ` Rainer M Krug
2015-10-17 12:15 ` Eli Zaretskii
2015-10-22 14:28 ` Rainer M Krug
2015-10-22 15:43 ` Eli Zaretskii
2015-10-22 16:22 ` Rainer M Krug
2015-10-22 17:05 ` Eli Zaretskii
2015-10-22 17:32 ` martin rudalics
2015-10-22 17:40 ` Eli Zaretskii
2015-10-22 18:14 ` martin rudalics
2015-10-22 20:04 ` Anders Lindgren
2015-10-22 20:08 ` Eli Zaretskii
2015-10-23 9:51 ` Rainer M Krug
2015-10-23 10:44 ` Anders Lindgren
2015-10-23 11:03 ` Rainer M Krug
2015-10-23 9:52 ` Rainer M Krug
2015-10-23 8:02 ` martin rudalics
2015-10-23 18:01 ` martin rudalics
2015-10-23 9:49 ` Rainer M Krug
2015-10-23 18:01 ` martin rudalics
2015-10-23 9:45 ` Rainer M Krug
2015-10-23 18:01 ` martin rudalics
2015-10-23 9:41 ` Rainer M Krug
2015-10-25 19:04 ` Eli Zaretskii
2015-10-26 7:59 ` Rainer M Krug
2015-10-26 19:09 ` Eli Zaretskii
2015-10-27 11:50 ` Rainer M Krug
2015-09-28 11:58 ` Eli Zaretskii
2015-09-23 8:58 ` Rainer M Krug
2015-09-23 9:51 ` Eli Zaretskii
2015-09-08 23:24 ` Glenn Morris
2015-09-09 7:39 ` Rainer M Krug
2015-09-09 4:32 ` Xue Fuqiao
2015-09-09 7:38 ` Rainer M Krug
2015-09-09 14:47 ` bug#21428: possible additional case for #21428: Emacs 24.5.1 on OSX, installed via homebrew Jason May
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m21tdng2af.fsf@krugs.de \
--to=rainer@krugs.de \
--cc=21428@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).