Hi,
I get a segmentation fault when I try to start xemacs. The xemacs
window flashes on the screen for a fraction of a second and I get all
this output (pasted below). I just installed xemacs and all seemed to
go well (after I installed a patch called dlcompat - otherwise, make
dies on EmacsManager.c). I could not find a core file either in
/usr/local/bin or in /usr/local/xemacs-21.5.9.
Rob
thila: /usr/local/bin>./xemacs
_XF86BigfontQueryFont: could not attach shm segment
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
If you have access to the PROBLEMS file that came with your
version of XEmacs, please check to see if your crash is described
there, as there may be a workaround available.
Otherwise, please report this bug by running the send-pr
script included with XEmacs, or selecting `Send Bug Report'
from the help menu.
As a last resort send ordinary email to `crashes(a)xemacs.org'.
*MAKE SURE* to include the information in the command
M-x describe-installation.
If at all possible, *please* try to obtain a C stack backtrace;
it will help us immensely in determining what went wrong.
To do this, locate the core file that was produced as a result
of this crash (it's usually called `core' and is located in the
directory in which you started the editor, or maybe in your home
directory), and type
gdb /usr/local/bin/xemacs core
then type `where' when the debugger prompt comes up.
(If you don't have GDB on your system, you might have DBX,
or XDB, or SDB. A similar procedure should work for all of
these. Ask your system administrator if you need more help.)
Lisp backtrace follows:
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
string-match("bind (\\(?:.* \\)?__load_init_file_arg__\\(?:.* \\)?)[
\n]*\\(?:(lambda \\|#<compiled-function
\\)(__load_init_file_arg__).*\n\\(\\(?:.\\|\n\\)*\\)$" " backtrace(nil
t)\n # bind (standard-output)\n # (unwind-protect ...)\n # bind
(handler-arg-name)\n
backtrace-in-condition-handler-eliminating-
handler(__load_init_file_arg__)\n # bind (errstr
__load_init_file_arg__)\n #<compiled-function (__load_init_file_arg__)
\"...(26)\" [init-file-had-error user-init-file __load_init_file_arg__
errstr error-message-string message \"Error in init file: %s\" lwarn
initialization error \"An error has occurred while loading
%s:\\n\\n%s\\n\\nBacktrace follows:\\n\\n%s\\n\\nTo ensure normal
operation, you should investigate the cause of the error\\nin your
initialization file and remove it. Use the `-debug-init' option\\nto
XEmacs to enter the debugger when the error occurs and investigate
the\\nexact problem.\"
backtrace-in-condition-handler-eliminating-handler t] 8>((file-error
\"Cannot open load file\" \"pending-del\"))\n signal(file-error
(\"Cannot open load file\" \"pending-del\"))\n # bind (path handler
filename nosuffix nomessage noerror file)\n load(\"pending-del\" nil t
nil)\n # (unwind-protect ...)\n require(pending-del)\n
mapc-internal(require (pending-del))\n # bind (cl-rest cl-seq
cl-func)\n mapc(require (pending-del))\n # bind (set comment requests
now value symbol entry immediate args theme)\n
custom-theme-set-variables(user (bar-cursor 2) (pending-delete-mode t
nil (pending-del)) (user-mail-address \"robleach(a)telomere.lanl.gov\")
(query-user-mail-address nil) (font-lock-mode t nil (font-lock)))\n
apply(custom-theme-set-variables user ((bar-cursor 2)
(pending-delete-mode t nil (pending-del)) (user-mail-address
\"robleach(a)telomere.lanl.gov\") (query-user-mail-address nil)
(font-lock-mode t nil (font-lock))))\n # bind (args)\n
custom-set-variables((bar-cursor 2) (pending-delete-mode t nil
(pending-del)) (user-mail-address \"robleach(a)telomere.lanl.gov\")
(query-user-mail-address nil) (font-lock-mode t nil (font-lock)))\n #
bind (current-load-list)\n # (unwind-protect ...)\n # bind
(load-file-name)\n # (unwind-protect ...)\n # (unwind-protect ...)\n
# (unwind-protect ...)\n # (unwind-protect ...)\n # (unwind-protect
...)\n # (unwind-protect ...)\n
load-internal(\"/home/plague2/users1/robleach/.xemacs/custom.el\" t t t
raw-text)\n # bind (path handler filename nosuffix nomessage noerror
file)\n load(\"/home/plague2/users1/robleach/.xemacs/custom.el\" t t
t)\n load-user-init-file()\n #<compiled-function nil \"...(10)\"
[init-file-had-error load-user-init-file-p load-user-init-file nil]
2>()\n # (unwind-protect ...)\n
call-with-condition-handler(#<compiled-function
(__load_init_file_arg__) \"...(26)\" [init-file-had-error
user-init-file __load_init_file_arg__ errstr error-message-string
message \"Error in init file: %s\" lwarn initialization error \"An
error has occurred while loading %s:\\n\\n%s\\n\\nBacktrace
follows:\\n\\n%s\\n\\nTo ensure normal operation, you should
investigate the cause of the error\\nin your initialization file and
remove it. Use the `-debug-init' option\\nto XEmacs to enter the
debugger when the error occurs and investigate the\\nexact problem.\"
backtrace-in-condition-handler-eliminating-handler t] 8>
#<compiled-function nil \"...(10)\" [init-file-had-error
load-user-init-file-p load-user-init-file nil] 2>)\n # (condition-case
... . ((error)))\n # bind (debug-on-error
debug-on-error-from-init-file debug-on-error-should-be-set
debug-on-error-initial)\n load-init-file()\n # bind
(command-line-args-left)\n command-line()\n # (condition-case ... .
((t (byte-code \" \" [error-data data nil] 1))))\n # bind
(error-data)\n normal-top-level()\n # (condition-case ... . error)\n
# (catch top-level ...)\n")
# (unwind-protect ...)
# bind (match-data bt handler-arg-name)
backtrace-in-condition-handler-eliminating-
handler(__load_init_file_arg__)
# bind (errstr __load_init_file_arg__)
#<compiled-function (__load_init_file_arg__) "...(26)"
[init-file-had-error user-init-file __load_init_file_arg__ errstr
error-message-string message "Error in init file: %s" lwarn
initialization error "An error has occurred while loading
%s:\n\n%s\n\nBacktrace follows:\n\n%s\n\nTo ensure normal operation,
you should investigate the cause of the error\nin your initialization
file and remove it. Use the `-debug-init' option\nto XEmacs to enter
the debugger when the error occurs and investigate the\nexact problem."
backtrace-in-condition-handler-eliminating-handler t] 8>((file-error
"Cannot open load file" "pending-del"))
signal(file-error ("Cannot open load file" "pending-del"))
# bind (path handler filename nosuffix nomessage noerror file)
load("pending-del" nil t nil)
# (unwind-protect ...)
require(pending-del)
mapc-internal(require (pending-del))
# bind (cl-rest cl-seq cl-func)
mapc(require (pending-del))
# bind (set comment requests now value symbol entry immediate args
theme)
custom-theme-set-variables(user (bar-cursor 2) (pending-delete-mode t
nil (pending-del)) (user-mail-address "robleach(a)telomere.lanl.gov")
(query-user-mail-address nil) (font-lock-mode t nil (font-lock)))
apply(custom-theme-set-variables user ((bar-cursor 2)
(pending-delete-mode t nil (pending-del)) (user-mail-address
"robleach(a)telomere.lanl.gov") (query-user-mail-address nil)
(font-lock-mode t nil (font-lock))))
# bind (args)
custom-set-variables((bar-cursor 2) (pending-delete-mode t nil
(pending-del)) (user-mail-address "robleach(a)telomere.lanl.gov")
(query-user-mail-address nil) (font-lock-mode t nil (font-lock)))
# bind (current-load-list)
# (unwind-protect ...)
# bind (load-file-name)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
load-internal("/home/plague2/users1/robleach/.xemacs/custom.el" t t t
raw-text)
# bind (path handler filename nosuffix nomessage noerror file)
load("/home/plague2/users1/robleach/.xemacs/custom.el" t t t)
load-user-init-file()
#<compiled-function nil "...(10)" [init-file-had-error
load-user-init-file-p load-user-init-file nil] 2>()
# (unwind-protect ...)
call-with-condition-handler(#<compiled-function
(__load_init_file_arg__) "...(26)" [init-file-had-error user-init-file
__load_init_file_arg__ errstr error-message-string message "Error in
init file: %s" lwarn initialization error "An error has occurred while
loading %s:\n\n%s\n\nBacktrace follows:\n\n%s\n\nTo ensure normal
operation, you should investigate the cause of the error\nin your
initialization file and remove it. Use the `-debug-init' option\nto
XEmacs to enter the debugger when the error occurs and investigate
the\nexact problem." backtrace-in-condition-handler-eliminating-handler
t] 8> #<compiled-function nil "...(10)" [init-file-had-error
load-user-init-file-p load-user-init-file nil] 2>)
# (condition-case ... . ((error)))
# bind (debug-on-error debug-on-error-from-init-file
debug-on-error-should-be-set debug-on-error-initial)
load-init-file()
# bind (command-line-args-left)
command-line()
# (condition-case ... . ((t (byte-code " " [error-data data nil]
1))))
# bind (error-data)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
Segmentation fault
thila: /usr/local/bin>sudo ./xemacs
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Gui error: X server not responding
, ":0.0"
thila: /usr/local/bin>sudo ./xemacs
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Gui error: X server not responding
, ":0.0"
thila: /usr/local/bin>./xemacs
_XF86BigfontQueryFont: could not attach shm segment
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
If you have access to the PROBLEMS file that came with your
version of XEmacs, please check to see if your crash is described
there, as there may be a workaround available.
Otherwise, please report this bug by running the send-pr
script included with XEmacs, or selecting `Send Bug Report'
from the help menu.
As a last resort send ordinary email to `crashes(a)xemacs.org'.
*MAKE SURE* to include the information in the command
M-x describe-installation.
If at all possible, *please* try to obtain a C stack backtrace;
it will help us immensely in determining what went wrong.
To do this, locate the core file that was produced as a result
of this crash (it's usually called `core' and is located in the
directory in which you started the editor, or maybe in your home
directory), and type
gdb /usr/local/bin/xemacs core
then type `where' when the debugger prompt comes up.
(If you don't have GDB on your system, you might have DBX,
or XDB, or SDB. A similar procedure should work for all of
these. Ask your system administrator if you need more help.)
Lisp backtrace follows:
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
string-match("bind (\\(?:.* \\)?__load_init_file_arg__\\(?:.* \\)?)[
\n]*\\(?:(lambda \\|#<compiled-function
\\)(__load_init_file_arg__).*\n\\(\\(?:.\\|\n\\)*\\)$" " backtrace(nil
t)\n # bind (standard-output)\n # (unwind-protect ...)\n # bind
(handler-arg-name)\n
backtrace-in-condition-handler-eliminating-
handler(__load_init_file_arg__)\n # bind (errstr
__load_init_file_arg__)\n #<compiled-function (__load_init_file_arg__)
\"...(26)\" [init-file-had-error user-init-file __load_init_file_arg__
errstr error-message-string message \"Error in init file: %s\" lwarn
initialization error \"An error has occurred while loading
%s:\\n\\n%s\\n\\nBacktrace follows:\\n\\n%s\\n\\nTo ensure normal
operation, you should investigate the cause of the error\\nin your
initialization file and remove it. Use the `-debug-init' option\\nto
XEmacs to enter the debugger when the error occurs and investigate
the\\nexact problem.\"
backtrace-in-condition-handler-eliminating-handler t] 8>((file-error
\"Cannot open load file\" \"pending-del\"))\n signal(file-error
(\"Cannot open load file\" \"pending-del\"))\n # bind (path handler
filename nosuffix nomessage noerror file)\n load(\"pending-del\" nil t
nil)\n # (unwind-protect ...)\n require(pending-del)\n
mapc-internal(require (pending-del))\n # bind (cl-rest cl-seq
cl-func)\n mapc(require (pending-del))\n # bind (set comment requests
now value symbol entry immediate args theme)\n
custom-theme-set-variables(user (bar-cursor 2) (pending-delete-mode t
nil (pending-del)) (user-mail-address \"robleach(a)telomere.lanl.gov\")
(query-user-mail-address nil) (font-lock-mode t nil (font-lock)))\n
apply(custom-theme-set-variables user ((bar-cursor 2)
(pending-delete-mode t nil (pending-del)) (user-mail-address
\"robleach(a)telomere.lanl.gov\") (query-user-mail-address nil)
(font-lock-mode t nil (font-lock))))\n # bind (args)\n
custom-set-variables((bar-cursor 2) (pending-delete-mode t nil
(pending-del)) (user-mail-address \"robleach(a)telomere.lanl.gov\")
(query-user-mail-address nil) (font-lock-mode t nil (font-lock)))\n #
bind (current-load-list)\n # (unwind-protect ...)\n # bind
(load-file-name)\n # (unwind-protect ...)\n # (unwind-protect ...)\n
# (unwind-protect ...)\n # (unwind-protect ...)\n # (unwind-protect
...)\n # (unwind-protect ...)\n
load-internal(\"/home/plague2/users1/robleach/.xemacs/custom.el\" t t t
raw-text)\n # bind (path handler filename nosuffix nomessage noerror
file)\n load(\"/home/plague2/users1/robleach/.xemacs/custom.el\" t t
t)\n load-user-init-file()\n #<compiled-function nil \"...(10)\"
[init-file-had-error load-user-init-file-p load-user-init-file nil]
2>()\n # (unwind-protect ...)\n
call-with-condition-handler(#<compiled-function
(__load_init_file_arg__) \"...(26)\" [init-file-had-error
user-init-file __load_init_file_arg__ errstr error-message-string
message \"Error in init file: %s\" lwarn initialization error \"An
error has occurred while loading %s:\\n\\n%s\\n\\nBacktrace
follows:\\n\\n%s\\n\\nTo ensure normal operation, you should
investigate the cause of the error\\nin your initialization file and
remove it. Use the `-debug-init' option\\nto XEmacs to enter the
debugger when the error occurs and investigate the\\nexact problem.\"
backtrace-in-condition-handler-eliminating-handler t] 8>
#<compiled-function nil \"...(10)\" [init-file-had-error
load-user-init-file-p load-user-init-file nil] 2>)\n # (condition-case
... . ((error)))\n # bind (debug-on-error
debug-on-error-from-init-file debug-on-error-should-be-set
debug-on-error-initial)\n load-init-file()\n # bind
(command-line-args-left)\n command-line()\n # (condition-case ... .
((t (byte-code \" \" [error-data data nil] 1))))\n # bind
(error-data)\n normal-top-level()\n # (condition-case ... . error)\n
# (catch top-level ...)\n")
# (unwind-protect ...)
# bind (match-data bt handler-arg-name)
backtrace-in-condition-handler-eliminating-
handler(__load_init_file_arg__)
# bind (errstr __load_init_file_arg__)
#<compiled-function (__load_init_file_arg__) "...(26)"
[init-file-had-error user-init-file __load_init_file_arg__ errstr
error-message-string message "Error in init file: %s" lwarn
initialization error "An error has occurred while loading
%s:\n\n%s\n\nBacktrace follows:\n\n%s\n\nTo ensure normal operation,
you should investigate the cause of the error\nin your initialization
file and remove it. Use the `-debug-init' option\nto XEmacs to enter
the debugger when the error occurs and investigate the\nexact problem."
backtrace-in-condition-handler-eliminating-handler t] 8>((file-error
"Cannot open load file" "pending-del"))
signal(file-error ("Cannot open load file" "pending-del"))
# bind (path handler filename nosuffix nomessage noerror file)
load("pending-del" nil t nil)
# (unwind-protect ...)
require(pending-del)
mapc-internal(require (pending-del))
# bind (cl-rest cl-seq cl-func)
mapc(require (pending-del))
# bind (set comment requests now value symbol entry immediate args
theme)
custom-theme-set-variables(user (bar-cursor 2) (pending-delete-mode t
nil (pending-del)) (user-mail-address "robleach(a)telomere.lanl.gov")
(query-user-mail-address nil) (font-lock-mode t nil (font-lock)))
apply(custom-theme-set-variables user ((bar-cursor 2)
(pending-delete-mode t nil (pending-del)) (user-mail-address
"robleach(a)telomere.lanl.gov") (query-user-mail-address nil)
(font-lock-mode t nil (font-lock))))
# bind (args)
custom-set-variables((bar-cursor 2) (pending-delete-mode t nil
(pending-del)) (user-mail-address "robleach(a)telomere.lanl.gov")
(query-user-mail-address nil) (font-lock-mode t nil (font-lock)))
# bind (current-load-list)
# (unwind-protect ...)
# bind (load-file-name)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
load-internal("/home/plague2/users1/robleach/.xemacs/custom.el" t t t
raw-text)
# bind (path handler filename nosuffix nomessage noerror file)
load("/home/plague2/users1/robleach/.xemacs/custom.el" t t t)
load-user-init-file()
#<compiled-function nil "...(10)" [init-file-had-error
load-user-init-file-p load-user-init-file nil] 2>()
# (unwind-protect ...)
call-with-condition-handler(#<compiled-function
(__load_init_file_arg__) "...(26)" [init-file-had-error user-init-file
__load_init_file_arg__ errstr error-message-string message "Error in
init file: %s" lwarn initialization error "An error has occurred while
loading %s:\n\n%s\n\nBacktrace follows:\n\n%s\n\nTo ensure normal
operation, you should investigate the cause of the error\nin your
initialization file and remove it. Use the `-debug-init' option\nto
XEmacs to enter the debugger when the error occurs and investigate
the\nexact problem." backtrace-in-condition-handler-eliminating-handler
t] 8> #<compiled-function nil "...(10)" [init-file-had-error
load-user-init-file-p load-user-init-file nil] 2>)
# (condition-case ... . ((error)))
# bind (debug-on-error debug-on-error-from-init-file
debug-on-error-should-be-set debug-on-error-initial)
load-init-file()
# bind (command-line-args-left)
command-line()
# (condition-case ... . ((t (byte-code " " [error-data data nil]
1))))
# bind (error-data)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
Segmentation fault
thila: /usr/local/bin>./send-pr
=====================================================================
= Robert W. Leach =
= Los Alamos National Lab =
= Bioscience Division: Bioinformatics & Computational Biology Group =
= MS M888 =
= Los Alamos, NM 87545 =
= robleach(a)lanl.gov =
= 505-667-2307 =
=====================================================================