* Emacs crashes suddenly
@ 2011-12-05 10:37 Pablo S.M.
2011-12-05 20:48 ` Tassilo Horn
0 siblings, 1 reply; 3+ messages in thread
From: Pablo S.M. @ 2011-12-05 10:37 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
I'm using emacs since years without problems, but in the two last
releases 23.2 and 23.3 I'm experiencing very strange emacs crashes. I
have a lot of stuff on (orgmode, jabber, ibuffer, icicles, etc. etc.).
I have already tried to disable some of these packages, with no
success.
Emacs crashes suddenly (but at least once a day). Sometimes I'm not
even doing anything in emacs and it crashes. But then other times it
runs for days (and lots of opened buffers) without any problem.
My question is: how can I find a way Emacs tells me at least the crash
reason? If I start emacs with gdb I don't see anything special, maybe
because I have to compile it with some options? (i'm using archlinux).
thx in advance.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Emacs crashes suddenly
2011-12-05 10:37 Emacs crashes suddenly Pablo S.M.
@ 2011-12-05 20:48 ` Tassilo Horn
2011-12-05 21:10 ` Pablo S.M.
0 siblings, 1 reply; 3+ messages in thread
From: Tassilo Horn @ 2011-12-05 20:48 UTC (permalink / raw)
To: help-gnu-emacs
"Pablo S.M." <joseleopoldo1792@gmail.com> writes:
Hi Pablo,
> My question is: how can I find a way Emacs tells me at least the crash
> reason? If I start emacs with gdb I don't see anything special, maybe
> because I have to compile it with some options?
Yes, at least with -O0 and -ggdb. And even though you have installed
emacs into /usr/ or /usr/local/, you should invoke gdb in the src/
directory where you've compiled emacs, because that contain some gdb
initialization files. When emacs crashes, use `bt full' and
`xbacktrace' to get some meaningful information.
So something along the lines of:
$ cd ~/sources/emacs/src
$ gdb /usr/bin/emacs
gdb> run
[do your usual work in emacs, and when it crashes, do...]
gdb> bt full
[full C backtrace]
gdb> xbacktrace
[lisp backtrace]
See etc/DEBUG for details on how to debug emacs:
http://bzr.savannah.gnu.org/lh/emacs/trunk/annotate/head:/etc/DEBUG
Bye,
Tassilo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-12-05 21:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-05 10:37 Emacs crashes suddenly Pablo S.M.
2011-12-05 20:48 ` Tassilo Horn
2011-12-05 21:10 ` Pablo S.M.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.