1

When i try to open my .emacs file with emacs i get an error as such.

$ emacs .emacs       
Fatal error 11: Segmentation fault
Backtrace:
emacs[0x4f74cb]
emacs[0x4dcf3e]
emacs[0x4f611e]
emacs[0x4f6283]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7f98da6f4340]
emacs[0x538130]
emacs[0x59a8cb]
emacs[0x59a8e1]
emacs[0x59a8e1]
emacs[0x59a8e1]
emacs[0x539e37]
emacs[0x5380dd]
emacs[0x537d28]
emacs[0x538186]
emacs[0x537ce4]
emacs[0x538186]
emacs[0x537ce4]
emacs[0x538186]
emacs[0x537ce4]
emacs[0x537dd4]
emacs[0x537dd4]
emacs[0x537d28]
emacs[0x538186]
emacs[0x537ce4]
emacs[0x538186]
emacs[0x537ce4]
emacs[0x538186]
emacs[0x537ce4]
emacs[0x538186]
emacs[0x537ce4]
emacs[0x538186]
emacs[0x537ce4]
emacs[0x538186]
emacs[0x537ce4]
emacs[0x537cf1]
emacs[0x538186]
emacs[0x537ce4]
emacs[0x537ce4]
emacs[0x537dd4]
emacs[0x537dd4]
emacs[0x537cf1]
...
[1]    6084 segmentation fault (core dumped)  emacs -nw .emacs

But emacs opens other files without crashing. Can some one help me.

9
  • 1
    Crazy. Is there anything unusual about your .emacs file? Does it still crash if you run emacs -q .emacs? What about emacs -Q .emacs?
    – db48x
    Commented Oct 5, 2016 at 6:24
  • Oh, and does it crash if you open some other file first, and then open your .emacs file?
    – db48x
    Commented Oct 5, 2016 at 6:25
  • At the very least, you should put your .emacs file up somewhere, like GitHub Gist. Commented Oct 5, 2016 at 7:04
  • You can try opening the file with M-x find-file-literally. This will help if there is syntax highlighting code or something similar which causes the crash. But regardless, emacs shouldn't crash under any circumstance. You might want to look into upgrading it to a newer version, if you have that option. Commented Oct 5, 2016 at 11:27
  • 1
    If you feel adventurous you can follow the instructions here: emacs.stackexchange.com/questions/14354/… for debugging the crash (or, if you are less adventurous, but still willing to give it a go, you could get the actual stack trace from GDB to add to this post). But, to solve this problem more efficiently, you'd better post it to Emacs' bug tracker / mailing list.
    – wvxvw
    Commented Oct 5, 2016 at 12:33

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.