GNU bug report logs - #21428
24.5; Crash of emacs on OS X, installed via homebrew cask

Previous Next

Package: emacs;

Reported by: Rainer M Krug <Rainer <at> krugs.de>

Date: Mon, 7 Sep 2015 10:11:01 UTC

Severity: normal

Tags: moreinfo

Found in version 24.5

Fixed in version 25.1

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


Message #200 received at 21428 <at> debbugs.gnu.org (full text, mbox):

From: Rainer M Krug <Rainer <at> krugs.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: mituharu+bug-gnu-emacs-mac <at> math.s.chiba-u.ac.jp, 21428 <at> debbugs.gnu.org
Subject: Re: bug#21428: 24.5;
 Crash of emacs on OS X, installed via homebrew cask
Date: Thu, 01 Oct 2015 10:21:04 +0200
[Message part 1 (text/plain, inline)]
Rainer M Krug <Rainer <at> krugs.de> writes:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>>> From: Rainer M Krug <Rainer <at> krugs.de>
>>> Cc: 21428 <at> debbugs.gnu.org,  mituharu+bug-gnu-emacs-mac <at> math.s.chiba-u.ac.jp
>>> Date: Wed, 30 Sep 2015 12:37:59 +0200
>>> 
>>> Let me know if I should update from git or stay on the one I am using at
>>> the moment.
>>
>> It's better if you update, so we are looking at the same source and
>> running the same code.
>>
>> But note that the latest updates already changed the line numbers you
>> need to use to place breakpoints in xfaces.c.  Here are the updated
>> commands (but please double-check they are still valid, before you
>> start the session, and change the line numbers as necessary):
>>
>>   set logging on
>>   break xfaces.c:4199
>>   commands
>>   bt
>>   continue
>>   end
>>   break xfaces.c:4320
>>   commands
>>   bt
>>   p c->used+1
>>   continue
>>   end
>>   break xfaces.c:4344
>>   commands
>>   bt
>>   p c->used-1
>>   continue
>>   end
>>
>
> OK - I am on commit
>
> ,----
> | commit 9e4a6ad1c77c62e4a7d5b708567e5a1e23b9cdfd
> | Author: Tassilo Horn <tsdh <at> gnu.org>
> | Date:   Thu Oct 1 08:07:40 2015 +0200
> | 
> |     Un- and re-prettification are not exclusive
> | 
> |     * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
> |     Re-apply prettification to previous symbol also when unprettifying next
> |     one.
> |     
> `----
>
> and the line numbers seem to correspond.
>
> I saved the commands, will "source" them from gdb, then "run" emacs and
> leave the inhibit-* as they are.
>
> Worked so far - I will let you know with the info when it crashes.

OK - it seems not to continue after some time after the breakpoint at
line 4199.

Attached are the log and the script I used.

I'll leave the session open.

This seems to be triggered by something else - I manually entered "c"
but it just gave me this output (also at the end of the log):

,----
| (gdb) c
| Continuing.
| 
| Program received signal EXC_BAD_ACCESS, Could not access memory.
| Reason: KERN_INVALID_ADDRESS at address: 0x00000000016519e0
| free_realized_faces (c=0x1016519c0) at xfaces.c:4199
| 4199	      c->used = 0;
| (gdb) p c->used
| $502 = 26
| (gdb)
`----

Hope this helps,

Rainer

[gdb.txt.gz (application/octet-stream, attachment)]
[gdbLog.gdb (application/octet-stream, attachment)]
[Message part 4 (text/plain, inline)]

>
>
> Thanks,
>
> 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:      Rainer <at> krugs.de

Skype:      RMkrug

PGP: 0x0F52F982
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 8 years and 349 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.