Public bug reported:
This is on a fresh install of Jaunty. I noticed when loading a file in
Xemacs it complained about:
Gtk-WARNING **: Failed to load module libcanberra-gtk-module.so:
libcanberra-gtk-module.so: cannot open shared object file: No such file
or directory
So I checked in /etc/ld.so.conf.d and there was no reference to any of the gtk
directories so I created a file
/etc/ld.so.conf.d/glib.conf:
# glib default configuration
/usr/lib/gtk-2.0
/usr/lib/gtk-2.0/modules
Next I ran ldconfig and 'ldconfig -v' to verify it now saw the gtk-2.0 modules:
/usr/lib/gtk-2.0:
/usr/lib/gtk-2.0/modules:
libferret.so - libferret.so
libgail.so - libgail.so
libdwellmouselistener.so - libdwellmouselistener.so
libatk-bridge.so - libatk-bridge.so
libkeymouselistener.so - libkeymouselistener.so
libcanberra-gtk-module.so - libcanberra-gtk-module.so
libgail-gnome.so - libgail-gnome.so
And I then went and ran xemacs again and now it dumps core:
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
Your version of XEmacs was distributed with a PROBLEMS file that may describe
your crash, and with luck a workaround. Please check it first, but do report
the crash anyway. Please report this bug by invoking M-x report-emacs-bug,
or by selecting `Send Bug Report' from the Help menu. If necessary, send
ordinary email to `xemacs-b...@xemacs.org'. *MAKE SURE* to include the XEmacs
configuration from M-x describe-installation, or equivalently the file
Installation in the top of the build tree.
*Please* try *hard* to obtain a C stack backtrace; without it, we are unlikely
to be able to analyze the problem. Locate the core file produced as a result
of this crash (often called `core' or `core.process-id', and located in
the directory in which you started XEmacs or your home directory), and type
gdb /usr/bin/xemacs core
then type `where' at the debugger prompt. No GDB on your system? You may
have DBX, or XDB, or SDB. (Ask your system administrator if you need help.)
If no core file was produced, enable them (often with `ulimit -c unlimited'
in case of future recurrance of the crash.
Lisp backtrace follows:
# (unwind-protect ...)
make-device(gtk nil)
make-gtk-device()
init-gtk-win()
# bind (debugger debug-on-error command-line-args-left)
command-line()
# (condition-case ... . ((t (byte-code �� ... 1
# bind (error-data)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
[5]- Segmentation fault xemacs foo
Here is a stack trace:
$ gdb `which xemacs` core
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type show copying
and show warranty for details.
This GDB was configured as i486-linux-gnu...
(no debugging symbols found)
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/libtiff.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libtiff.so.4
Reading symbols from /usr/lib/libpng12.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libjpeg.so.62...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libcompface.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libcompface.so.1
Reading symbols from /usr/lib/libXpm.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXpm.so.4
Reading symbols from /usr/lib/libgtk-1.2.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgtk-1.2.so.0
Reading symbols from /usr/lib/libgdk-1.2.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgdk-1.2.so.0
Reading symbols from /usr/lib/libgmodule-1.2.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgmodule-1.2.so.0
Reading symbols from /usr/lib/libglib-1.2.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libglib-1.2.so.0
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...Reading symbols from
/usr/lib/debug/lib/tls/i686/cmov/libdl-2.9.so...done.
done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /usr/lib/libXi.so.6...done.
Loaded symbols for /usr/lib/libXi.so.6
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libX11.so.6...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /lib/tls/i686/cmov/libm.so.6...Reading symbols from
/usr/lib/debug/lib/tls/i686/cmov/libm-2.9.so...done.
done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /usr/lib/libdb-4.7.so...done.
Loaded symbols for /usr/lib/libdb-4.7.so
Reading