Hi,
Thanks for the response.
Yeah, I figured out that my root user can't do anything to my home
directory on the network. I ran into a similar problem setting up
cpan. It wanted to create a .cpan directory and got permission denied.
Sounds like it's something similar here. Although I'd be mildly
surprised if root couldn't run the xwindows server... Maybe root tried
to write necessary files to my home directory during installation and
couldn't, hence I'm unable to run it?
I copied an older version of xemacs from my old computer and it runs
fine... What I did was I copied over all of /sw (an old version of
Fink made this - couldn't get the new version of Fink to work) from my
old computer. It can run its version of xemacs just fine, so the
xwindows server seems OK. After I copied it over, I tried your version
again just out of curiosity and I still get the same behavior.
Thanks,
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>
On Tuesday, April 29, 2003, at 09:40 PM, Stephen J. Turnbull wrote:
>>>>> "Robert" == Robert Leach
<robleach(a)lanl.gov> writes:
Robert> I could not find a core file either in /usr/local/bin or
Robert> in /usr/local/xemacs-21.5.9.
Usually it's in CWD. Since you seem to have done cd /usr/local/bin, I
guess that's where you should be looking for it.
You probably don't have core files enabled. On systems supporting
ulimit (eg, is your command shell is bash), ulimit -c unlimited.
Robert> Segmentation fault
Robert> thila: /usr/local/bin>sudo ./xemacs
Robert> Xlib: connection to ":0.0" refused by server
Robert> Xlib: No protocol specified
root is probably not authorized to connect to your X server.
We'll look into the crash, but if XEmacs finds an X server and is
refused connection, quitting is probably the right thing to do.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba
305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.
=====================================================================
= 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 =
=====================================================================