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

From: Rainer M Krug <[email-masked]>
Date: Mon, 21 Sep 2015 12:19:36 +0200

Eli Zaretskii <[email-masked]> writes:

>> From: Rainer M Krug <[email-masked]>
>> Cc: [email-masked],  [email-masked]
>> Date: Mon, 21 Sep 2015 10:42:44 +0200
>> 
>> Emacs crashed again.
>> 
>> Using now:
>> 
>> ,----
>> | GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F27)) of 2015-09-18
>> `----
>> 
>> here is the output from bt full and attached another screenshot.
>
> Thanks, I tried to fix this in commit e2f0dd2.  Please see if the
> crashes are gone after that.

OK - this is a different crash but while I was doing something similar:

,----
| Program received signal EXC_BAD_ACCESS, Could not access memory.
| Reason: KERN_INVALID_ADDRESS at address: 0x00000000000000a0
| 0x000000010009b12f in prepare_face_for_display ()
| (gdb) bt full
| #0  0x000000010009b12f in prepare_face_for_display ()
| No symbol table info available.
| #1  0x000000010002fc57 in get_glyph_face_and_encoding ()
| No symbol table info available.
| #2  0x000000010004f83f in fill_glyph_string ()
| No symbol table info available.
| #3  0x0000000100034792 in draw_glyphs ()
| No symbol table info available.
| #4  0x000000010003402c in x_write_glyphs ()
| No symbol table info available.
| #5  0x000000010000da5e in update_window_line ()
| No symbol table info available.
| #6  0x00000001000096a3 in update_window ()
| No symbol table info available.
| #7  0x0000000100008cea in update_window_tree ()
| No symbol table info available.
| #8  0x0000000100008cd4 in update_window_tree ()
| No symbol table info available.
| #9  0x0000000100008ae7 in update_frame ()
| No symbol table info available.
| #10 0x0000000100026b62 in redisplay_internal ()
| No symbol table info available.
| #11 0x00000001000a7bfe in read_char ()
| No symbol table info available.
| #12 0x00000001000a5a00 in read_key_sequence ()
| No symbol table info available.
| #13 0x00000001000a523b in command_loop_1 ()
| No symbol table info available.
| #14 0x000000010010d9ff in internal_condition_case ()
| No symbol table info available.
| #15 0x00000001000b1316 in command_loop_2 ()
| No symbol table info available.
| #16 0x000000010010d4a9 in internal_catch ()
| No symbol table info available.
| #17 0x00000001000a3be8 in command_loop ()
| No symbol table info available.
| #18 0x00000001000a3b08 in recursive_edit_1 ()
| No symbol table info available.
| #19 0x00000001000a3d20 in Frecursive_edit ()
| No symbol table info available.
| #20 0x00000001000a2cf8 in main ()
| No symbol table info available.
| (gdb)
`----

which stays at this:

,----
| (gdb) cont
| Continuing.
| 
| Program received signal EXC_BAD_ACCESS, Could not access memory.
| Reason: KERN_INVALID_ADDRESS at address: 0x00000000000000a0
| 0x000000010009b12f in prepare_face_for_display ()
| (gdb) cont
| Continuing.
| 
| Program received signal EXC_BAD_ACCESS, Could not access memory.
| Reason: KERN_INVALID_ADDRESS at address: 0x00000000000000a0
| 0x000000010009b12f in prepare_face_for_display ()
| (gdb)
`----
,----
| GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F27)) of 2015-09-21
`----

Cheers,

Rainer
-- 
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:      [email-masked]

Skype:      RMkrug

PGP: 0x0F52F982