My Emacs started to crash a lot without modifying .emacs
or installing anything new.
I can replicate the steps (using Helm, Projectile) by this:
helm-projectile
- then I enter a query quickly and hit backspace
- I have a crash.
According to GNU Emacs Crash page I should find a crash log but I am unable to find it in OSX. The OSX crash dump itself is useless for me. I would like to know what in my .emacs
is wrong or which plug-in is failing?
~/Library/Logs/DiagnosticReports
? Or if you have XCode installed, you could attachgdb
to the process and get at backtrace. – Harald Hanche-Olsen Feb 8 '15 at 23:25lldb --help
. You can easily run a fresh emacs under LLDB by runninglldb -- /Applications/Emacs.app/Contents/MacOS/Emacs -Q
(assuming this is where it's at, and assuming you want the-Q
flag for emacs). Then once lldb starts and you have authorized it to do its job, you typerun
. Then trigger the crash in emacs, and come back to lldb to get a backtrace by using thebt
command. (Note that lldb also has ahelp
command. Use it.) – Harald Hanche-Olsen Feb 9 '15 at 14:47