SUMMARY: Emacs Seg Fault
Jeff D. Allen
allen at cs.dal.ca
Wed Mar 12 13:17:57 EST 2003
There were no real suggestions form the list (someone suggested inspecting the
file mentioned in the truss output) so I did some research on the web.
The article I came across suggested it might be aproblem with using GNU ld
and suggested using /usr/ccs/bin/ld. I had used the Solaris ld so I knew that
wasn't the problem. I tried it with GNU ld just to make sure but the problem
persisted.
Secondly I saw a suggestion that it may be a flaw in GCC. I have just compiled
emacs again with GCC 2.95.3 and the seg fault no longer occurs on exit. So the
solution was to use GCC 2.95.3 rather than GCC 3.2.x
Original Message:
> Background:
>
> Sun Fire 4800
> Solaris 8 2/02
> GCC 3.2.1
> Emacs 21.2.2
>
> Emacs starts fine but when exiting seg faults and core dumps.
> Found the following in the outout of truss:
>
> open64("/users/faculty/allen/.emacs.d/auto-save-list/.saves-14148-torch~",
> O_WRO
> NLY|O_CREAT|O_TRUNC, 0666) = 4
> close(4) = 0
> unlink("/users/faculty/allen/.emacs.d/auto-save-list/.saves-14148-torch~") = 0
> Incurred fault #6, FLTBOUNDS %pc = 0x00042CCC
> siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
> Received signal #11, SIGSEGV [caught]
> siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
> sigaction(SIGSEGV, 0xFFBEE8B0, 0xFFBEE930) = 0
> getpgrp() = 14147
> ioctl(0, TIOCGSID, 0xFFBEE8A4) = 0
> getsid(0) = 14127
> ioctl(0, TIOCGPGRP, 0xFFBEE90C) = 0
> write(2, " F a t a l e r r o r ".., 13) = 13
> write(2, " 1 1 ) .", 4) = 4
> open64("/users/faculty/allen/.emacs.d/auto-save-list/.saves-14148-torch~",
> O_WRO
> NLY|O_CREAT|O_TRUNC, 0666) = 4
> close(4) = 0
> sigprocmask(SIG_UNBLOCK, 0xFFBEE9F0, 0xFFBEE960) = 0
> getpid() = 14148 [14147]
> kill(14148, SIGSEGV) = 0
> Received signal #11, SIGSEGV [default]
> siginfo: SIGSEGV pid=14148 uid=5003
> *** process killed ***
>
>
> Any thoughts?
--
--------------------------------------------------------------------
Jeff D. Allen ---------------------------------------
Systems Administrator Faculty of Computer Science
Dalhousie University 6050 University Avenue Halifax NS
Email: allen at cs.dal.ca Web: http://www.cs.dal.ca/
------------------------------------------------------------------
_______________________________________________
sunmanagers mailing list
sunmanagers at sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
More information about the summaries
mailing list