Is your home directory mounted via NFS? If so, then the
"root" account
on your system probably doesn't have root access to the NFS
filesystem, including your home directory. In which case, you would
have to manually copy the authentication data to a file which is
accessible to the local root account.
Yes. It is. Tangent: I'd initially had trouble mounting the nfs
server's disks (for unknown reasons), but when I changed my domain
name, the mounts worked and the procedure each time seemed exactly the
same.
The problem with running xemacs however doesn't seem to me to be the
root user issue. At least, that's my humble suspicion. I get slightly
different output when I try running xemacs with and without the sudo
command. Plus, the window flashes on the screen for a moment before
the segfault (which it doesn't do via sudo as I recall). I only tried
sudo when the other didn't work. I did the make (and configure) as
myself and only did the make install with sudo, so I should have been
able to run it as myself, shouldn't I? Plus, I can run my old version
of xemacs that I copied over from my old system which was installed
using Fink. Fink doesn't seem very reliable anymore, so if I can
abandon it, I will. Although, I do have all my packages already
installed that way, which is nice...
OK, here. I've got more info for you. I just tried mv'ing my .xemacs
directory to a backup and tried executing again. It got farther. The
window came up and stayed, but when I tried to open a file, I got a
segmentation fault again. The first line came out when the window
first appeared. Everything else happened when it died upon opening a
file. (Incidentally, the .xemacs directory I moved works fine with my
old version and other versions on the network...) See output below.
No core file was generated - I haven't turned that on...
Rob
thila: /home/plague2/users1/robleach>/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 (\\(?:.* \\)?__call_trapping_errors_arg__\\(?:.*
\\)?)[ \n]*\\(?:(lambda \\|#<compiled-function
\\)(__call_trapping_errors_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(__call_trapping_errors_arg__)\n # bind (errstr
__call_trapping_errors_arg__)\n #<compiled-function
(__call_trapping_errors_arg__) \"...(17)\"
[__call_trapping_errors_arg__ errstr error-message-string lwarn
file-mode-spec warning \"Error in %s: %s\\n\\nBacktrace
follows:\\n\\n%s\" \"File mode specification\"
backtrace-in-condition-handler-eliminating-handler] 8>((void-variable
allow-remote-paths))\n # bind (file-name)\n
file-remote-p(\"/usr/local/lib/xemacs-21.5-b9/etc/package-
index.LATEST.gpg\")\n # (unwind-protect ...)\n # (unwind-protect
...)\n # bind (buf force-current db-file)\n
package-get-update-base(nil nil)\n # bind (force-current)\n
package-get-require-base(nil)\n # bind (force-current sym)\n
package-get-package-provider(perl-mode)\n # bind (alist mode name
keep-going)\n # (unwind-protect ...)\n # bind (just-from-file-name)\n
set-auto-mode()\n #<compiled-function nil \"...(5)\" [set-auto-mode
t] 1>()\n # (unwind-protect ...)\n
call-with-condition-handler(#<compiled-function
(__call_trapping_errors_arg__) \"...(17)\"
[__call_trapping_errors_arg__ errstr error-message-string lwarn
file-mode-spec warning \"Error in %s: %s\\n\\nBacktrace
follows:\\n\\n%s\" \"File mode specification\"
backtrace-in-condition-handler-eliminating-handler] 8>
#<compiled-function nil \"...(5)\" [set-auto-mode t] 1>)\n #
(condition-case ... . ((error)))\n # bind (find-file)\n
normal-mode(t)\n # bind (nomodes after-find-file-from-revert-buffer
noauto warn error)\n after-find-file(nil t)\n byte-code(\"...\"
[buffer-file-number number truename buffer-file-truename buf
buffer-file-name set-buffer-major-mode erase-buffer nil (byte-code \���
�\\\"���� �\\\"�\" [rawfile filename
insert-file-contents-literally t insert-file-contents] 3) ((file-error
(byte-code ����!���Ç\" [rawfile error filename file-exists-p
file-readable-p signal file-error \"File is not readable\" t
run-hook-with-args-until-success find-file-not-found-hooks] 4)))
abbreviate-file-name file-name-directory make-local-variable
backup-inhibited t after-find-file find-file-use-truenames
default-directory backup-enable-predicate rawfile error nowarn] 3)\n #
(condition-case ... . ((t (byte-code \"!�� @ A\\\"�\" [buf
data kill-buffer signal] 3))))\n # (unwind-protect ...)\n # bind
(error number truename buf rawfile nowarn filename)\n
find-file-noselect(\"~/pub/autoblastpgp.pl\")\n # bind (codesys
filename)\n find-file(\"~/pub/autoblastpgp.pl\" nil)\n # bind
(command-debug-status)\n call-interactively(find-file)\n
#<compiled-function nil \"...(4)\" [toolbar-open-function
call-interactively] 2 nil nil>()\n call-interactively(toolbar-open)\n
# bind (callback button event)\n
release-and-activate-toolbar-button(#<buttonup-event button1up>)\n #
bind (command-debug-status)\n
call-interactively(release-and-activate-toolbar-button)\n #
(condition-case ... . error)\n # (catch top-level ...)\n")
# (unwind-protect ...)
# bind (match-data bt handler-arg-name)
backtrace-in-condition-handler-eliminating-
handler(__call_trapping_errors_arg__)
# bind (errstr __call_trapping_errors_arg__)
#<compiled-function (__call_trapping_errors_arg__) "...(17)"
[__call_trapping_errors_arg__ errstr error-message-string lwarn
file-mode-spec warning "Error in %s: %s\n\nBacktrace follows:\n\n%s"
"File mode specification"
backtrace-in-condition-handler-eliminating-handler] 8>((void-variable
allow-remote-paths))
# bind (file-name)
file-remote-p("/usr/local/lib/xemacs-21.5-b9/etc/package-
index.LATEST.gpg")
# (unwind-protect ...)
# (unwind-protect ...)
# bind (buf force-current db-file)
package-get-update-base(nil nil)
# bind (force-current)
package-get-require-base(nil)
# bind (force-current sym)
package-get-package-provider(perl-mode)
# bind (alist mode name keep-going)
# (unwind-protect ...)
# bind (just-from-file-name)
set-auto-mode()
#<compiled-function nil "...(5)" [set-auto-mode t] 1>()
# (unwind-protect ...)
call-with-condition-handler(#<compiled-function
(__call_trapping_errors_arg__) "...(17)" [__call_trapping_errors_arg__
errstr error-message-string lwarn file-mode-spec warning "Error in %s:
%s\n\nBacktrace follows:\n\n%s" "File mode specification"
backtrace-in-condition-handler-eliminating-handler] 8>
#<compiled-function nil "...(5)" [set-auto-mode t] 1>)
# (condition-case ... . ((error)))
# bind (find-file)
normal-mode(t)
# bind (nomodes after-find-file-from-revert-buffer noauto warn error)
after-find-file(nil t)
byte-code("..." [buffer-file-number number truename
buffer-file-truename buf buffer-file-name set-buffer-major-mode
erase-buffer nil (byte-code ��� �\"���� �\"�" [rawfile filename
insert-file-contents-literally t insert-file-contents] 3) ((file-error
(byte-code "�\n!���\n!�����\nD\"�������!���Ç" [rawfile error filename
file-exists-p file-readable-p signal file-error "File is not readable"
t run-hook-with-args-until-success find-file-not-found-hooks] 4)))
abbreviate-file-name file-name-directory make-local-variable
backup-inhibited t after-find-file find-file-use-truenames
default-directory backup-enable-predicate rawfile error nowarn] 3)
# (condition-case ... . ((t (byte-code "!�� @ A\"�" [buf data
kill-buffer signal] 3))))
# (unwind-protect ...)
# bind (error number truename buf rawfile nowarn filename)
find-file-noselect("~/pub/autoblastpgp.pl")
# bind (codesys filename)
find-file("~/pub/autoblastpgp.pl" nil)
# bind (command-debug-status)
call-interactively(find-file)
#<compiled-function nil "...(4)" [toolbar-open-function
call-interactively] 2 nil nil>()
call-interactively(toolbar-open)
# bind (callback button event)
release-and-activate-toolbar-button(#<buttonup-event button1up>)
# bind (command-debug-status)
call-interactively(release-and-activate-toolbar-button)
# (condition-case ... . error)
# (catch top-level ...)
Segmentation fault
thila: /home/plague2/users1/robleach>
=====================================================================
= 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 =
=====================================================================