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.
emacs -q .emacs
? What aboutemacs -Q .emacs
? – db48x Oct 05 '16 at 06:24.emacs
file up somewhere, like GitHub Gist. – Tianxiang Xiong Oct 05 '16 at 07:04M-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. – Harald Hanche-Olsen Oct 05 '16 at 11:27emacs -Q .emacs'. No matter i open other files first or after,. other files are working, emacs crashes only when i open
.emacsfile. And strange thing is that ,.. if i fire up
emacsalone(without giving any file name) and the do
C-x C-f, and then enter
.emacs`, it opens. – arvindh Oct 05 '16 at 13:01.emacs
file here. Im still new to emacs, so the contents inside the file might be crazy sometimes. plz forgive – arvindh Oct 05 '16 at 13:07