Didier, can you send me a C stack trace?
Also, can you give me an exact way to reproduce from -vanilla [e.g.using one of
the xpm's provided with XEmacs, or one supplied by you]?
thanks!
----- Original Message -----
From: "Didier Verna" <didier(a)xemacs.org>
To: "XEmacs Beta Testers" <xemacs-beta(a)xemacs.org>
Sent: Tuesday, May 28, 2002 9:24 AM
Subject: latest 21.5 crash
I can compile the latest 21.5 on my debian unstable box, and it no
longer crashes immediately (using -vanilla). However, it crashes as soon as I
try to set an XPM background pixmap file for the default face:
Lisp backtrace follows:
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (catch #<INTERNAL OBJECT (XEmacs bug?) (opaque, size=0) 0x4072e108> ...)
# (unwind-protect ...)
add-spec-list-to-specifier(#<image-specifier global=<unspecified> 0x209>
((global (nil . "~/share/images/tile/marble.xpm"))) nil)
# bind (is-valid nval how-to-add tag-set locale value specifier)
set-specifier(#<image-specifier global=<unspecified> 0x209>
"~/share/images/tile/marble.xpm" nil nil nil)
# bind (how-to-add tag-set locale value property face)
set-face-property(default background-pixmap
"~/share/images/tile/marble.xpm")
eval((set-face-property (quote default) (quote background-pixmap)
"~/share/images/tile/marble.xpm"))
# bind (eval-expression-insert-value expression)
#<compiled-function (expression &optional eval-expression-insert-value)
"...(18)" [eval-expression-insert-value expression values eval prin1 t] 3
873036
(list (read-from-minibuffer "Eval: " nil read-expression-map t ...)
current-prefix-arg)>((set-face-property (quote default) (quote
background-pixmap) "~/share/images/tile/marble.xpm") nil)
call-interactively(eval-expression)
# (condition-case ... . error)
# (catch top-level ...)
zsh: segmentation fault (core dumped) $src/XEmacs-21.5_2/src/xemacs -vanilla
log
--------------------------------------------------------------------------------
Running in normal mode doesn't crash immediately, but instead gives me a bunch
of warnings like that:
(1) (image/debug) error: (invalid-argument (Unable to interpret glyph
instantiator /usr/local/share/xemacs/xemacs-packages/etc/time/l-3.0.xpm))
Backtrace follows:
# bind (inhibit-quit)
# (unwind-protect ...)
# (catch #<INTERNAL OBJECT (XEmacs bug?) (opaque, size=0) 0x4072e108> ...)
# (unwind-protect ...)
add-spec-list-to-specifier(#<image-specifier global=<unspecified>
fallback=((nil . ...)) 0x1cbd> ((global (nil .
"/usr/local/share/xemacs/xemacs-packages/etc/time/l-3.0.xpm"))) nil)
# bind (is-valid nval how-to-add tag-set locale value specifier)
set-specifier(#<image-specifier global=<unspecified> fallback=((nil . ...))
0x1cbd> "/usr/local/share/xemacs/xemacs-packages/etc/time/l-3.0.xpm" nil nil
nil)
# bind (how-to-add tag-set locale value property glyph)
set-glyph-property(#<glyph (buffer) #<image-specifier global=<unspecified>
fallback=(...) 0x1cbd>0x1cbc> image
"/usr/local/share/xemacs/xemacs-packages/etc/time/l-3.0.xpm" nil nil nil)
# bind (how-to-add tag-set locale spec glyph)
set-glyph-image(#<glyph (buffer) #<image-specifier global=<unspecified>
fallback=(...) 0x1cbd>0x1cbc>
"/usr/local/share/xemacs/xemacs-packages/etc/time/l-3.0.xpm")
# bind (glyph type spec-list)
make-glyph("/usr/local/share/xemacs/xemacs-packages/etc/time/l-3.0.xpm")
# bind (xpm-color-symbols pad-color force)
display-time-generate-load-glyphs(force)
display-time-insinuate()
display-time()
# 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/didier/.xemacs/init.el" t t t undecided)
# bind (path handler filename nosuffix nomessage noerror file)
load("/home/didier/.xemacs/init.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()
# (unwind-protect ...)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
I'm still stuck to beta 5.
--
Didier Verna, didier(a)lrde.epita.fr,
http://www.lrde.epita.fr/~didier
EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 53 14 59 47
94276 Le Kremlin-BicĂȘtre, France Fax.+33 (1) 53 14 59 22 didier(a)xemacs.org