GNU bug report logs -
#21428
24.5; Crash of emacs on OS X, installed via homebrew cask
Previous Next
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
View this message in rfc822 format
> 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:36:40 +0200
>
> > 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.
OK. Here are the GDB commands you need to type after entering GDB and
before running Emacs:
set logging on
break xfaces.c:4189
commands
bt
continue
end
break xfaces.c:4310
commands
bt
p c->used+1
continue
end
break xfaces.c:4334
commands
bt
p c->used-1
continue
end
Please verify that the 2 line numbers are correct for the version of
xfaces.c that you have: these are the lines that increment, decrement,
and zero out the 'used' count of the frame's face cache.
It is better to put those commands on a file, so that you could only
type "source that-file" instead of the whole sequence.
Then type "run" to run Emacs as usual (no need to set the inhibit-*
variables). When the crash happens, type the commands to display the
backtrace, the face cache's 'used' count, and the "pgrow" command.
Then type this command:
set logging off
and send me the file gdb.txt which GDB created during that session.
It will probably a very large file, so please compress it. Don't exit
the GDB session, because I might need you to tell me values of some
variables.
Let's hope the stuff you collect will point to the problem's cause.
Thanks.
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.