Subject: Re: bug#21428: 24.5; Crash of emacs on OS X, installed via homebrew cask

From: Eli Zaretskii <[email-masked]>
Date: Tue, 29 Sep 2015 10:22:00 +0300

> From: Rainer M Krug <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Tue, 29 Sep 2015 08:58:47 +0200
> 
> I did the following to get the value of it->method - is this correct?
> 
> ,----
> | (gdb) fram 2
> | #2  0x000000010008e4e6 in push_prefix_prop (it=0x7fff5fbf7f18, prop=4591275764) at xdisp.c:19809
> | 19809	  eassert (it->method == GET_FROM_BUFFER
> | (gdb) print it->method
> | $1 = GET_FROM_IMAGE
> | (gdb)
> `----

Yes, this is correct (and the result is rather surprising).

> I'll leave the session open - please let me know what you need.

Please show the results of these commands:

  (gdb) p it->sp
  (gdb) p it->stack[it->sp - 1].method
  (gdb) p it->stack[it->sp - 1].current

If it->sp is greater than 1, repeat the last 2 commands for the values
it->sp - 2, it->sp - 3, etc.

  (gdb) pgrowx it->glyph_row
  (gdb) p it->object
  (gdb) xtype

If the last command says "Lisp_String", follow it with

  (gdb) xstring

Thanks.