Bug#362687: gtetrinet crashes the first time it is launched

Graham graham.knap at gmail.com
Sat Apr 15 00:39:39 UTC 2006


Package: gtetrinet
Version: 0.7.9-1

gtetrinet crashes the first time it is launched.

Subsequent starts are successful.

I've seen this on 4 systems so I'm sure this bug does exist. But I
haven't been able to reproduce it, after it has happened once, because
I'm not sure what change is being made to the system during the first
run, which allows subsequent runs to work.

I tried running "strace -eopen gtetrinet" to see if a file is being
created. Here is the output.

graham at aurora:~$ strace -eopen gtetrinet
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/usr/lib/libgnomeui-2.so.0", O_RDONLY) = 3
open("/usr/lib/libSM.so.6", O_RDONLY)   = 3
open("/usr/lib/libICE.so.6", O_RDONLY)  = 3
open("/usr/lib/libbonoboui-2.so.0", O_RDONLY) = 3
open("/usr/lib/libxml2.so.2", O_RDONLY) = 3
open("/lib/tls/i686/cmov/libpthread.so.0", O_RDONLY) = 3
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
open("/usr/lib/libgnomecanvas-2.so.0", O_RDONLY) = 3
open("/usr/lib/libgnome-2.so.0", O_RDONLY) = 3
open("/lib/libpopt.so.0", O_RDONLY)     = 3
open("/usr/lib/libart_lgpl_2.so.2", O_RDONLY) = 3
open("/usr/lib/libpangoft2-1.0.so.0", O_RDONLY) = 3
open("/usr/lib/libgtk-x11-2.0.so.0", O_RDONLY) = 3
open("/usr/lib/libgdk-x11-2.0.so.0", O_RDONLY) = 3
open("/usr/lib/libatk-1.0.so.0", O_RDONLY) = 3
open("/usr/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY) = 3
open("/usr/lib/libpangoxft-1.0.so.0", O_RDONLY) = 3
open("/usr/lib/libpangox-1.0.so.0", O_RDONLY) = 3
open("/usr/lib/libpango-1.0.so.0", O_RDONLY) = 3
open("/usr/lib/libgobject-2.0.so.0", O_RDONLY) = 3
open("/usr/lib/libgnomevfs-2.so.0", O_RDONLY) = 3
open("/usr/lib/libbonobo-2.so.0", O_RDONLY) = 3
open("/usr/lib/libgconf-2.so.4", O_RDONLY) = 3
open("/usr/lib/libbonobo-activation.so.4", O_RDONLY) = 3
open("/usr/lib/libORBit-2.so.0", O_RDONLY) = 3
open("/lib/tls/i686/cmov/libm.so.6", O_RDONLY) = 3
open("/usr/lib/libgmodule-2.0.so.0", O_RDONLY) = 3
open("/lib/tls/i686/cmov/libdl.so.2", O_RDONLY) = 3
open("/usr/lib/libgthread-2.0.so.0", O_RDONLY) = 3
open("/usr/lib/libglib-2.0.so.0", O_RDONLY) = 3
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
open("/usr/lib/libesd.so.0", O_RDONLY)  = 3
open("/usr/lib/libXrandr.so.2", O_RDONLY) = 3
open("/usr/lib/libXi.so.6", O_RDONLY)   = 3
open("/usr/lib/libXinerama.so.1", O_RDONLY) = 3
open("/usr/lib/libXext.so.6", O_RDONLY) = 3
open("/usr/lib/libpangocairo-1.0.so.0", O_RDONLY) = 3
open("/usr/lib/libfontconfig.so.1", O_RDONLY) = 3
open("/usr/lib/libXcursor.so.1", O_RDONLY) = 3
open("/usr/lib/libcairo.so.2", O_RDONLY) = 3
open("/usr/lib/libXrender.so.1", O_RDONLY) = 3
open("/usr/lib/libX11.so.6", O_RDONLY)  = 3
open("/usr/lib/libgnome-keyring.so.0", O_RDONLY) = 3
open("/usr/lib/libjpeg.so.62", O_RDONLY) = 3
open("/usr/lib/libaudiofile.so.0", O_RDONLY) = 3
open("/usr/lib/libfreetype.so.6", O_RDONLY) = 3
open("/usr/lib/libXft.so.2", O_RDONLY)  = 3
open("/usr/lib/libgnutls.so.12", O_RDONLY) = 3
open("/usr/lib/libavahi-glib.so.1", O_RDONLY) = 3
open("/usr/lib/libavahi-common.so.3", O_RDONLY) = 3
open("/usr/lib/libavahi-client.so.3", O_RDONLY) = 3
open("/lib/tls/i686/cmov/libresolv.so.2", O_RDONLY) = 3
open("/lib/tls/i686/cmov/libutil.so.1", O_RDONLY) = 3
open("/usr/lib/libORBitCosNaming-2.so.0", O_RDONLY) = 3
open("/usr/lib/libXau.so.6", O_RDONLY)  = 3
open("/usr/lib/libexpat.so.1", O_RDONLY) = 3
open("/usr/lib/libXfixes.so.3", O_RDONLY) = 3
open("/usr/lib/libpng12.so.0", O_RDONLY) = 3
open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3
open("/usr/lib/libtasn1.so.2", O_RDONLY) = 3
open("/usr/lib/libgcrypt.so.11", O_RDONLY) = 3
open("/usr/lib/libgpg-error.so.0", O_RDONLY) = 3
open("/usr/lib/libdbus-1.so.2", O_RDONLY) = 3
open("/lib/tls/i686/cmov/libnsl.so.1", O_RDONLY) = 3
open("/usr/lib/charset.alias", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY|O_LARGEFILE) = 3
open("/etc/nsswitch.conf", O_RDONLY)    = 3
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/tls/i686/cmov/libnss_compat.so.2", O_RDONLY) = 3
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/tls/i686/cmov/libnss_nis.so.2", O_RDONLY) = 3
open("/lib/tls/i686/cmov/libnss_files.so.2", O_RDONLY) = 3
open("/etc/passwd", O_RDONLY)           = 3
open("/usr/share/X11/locale/locale.alias", O_RDONLY) = 3
open("/usr/share/X11/locale/locale.dir", O_RDONLY) = 3
open("/usr/lib/X11/locale/locale.alias", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/X11/locale/locale.dir", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/share/X11/locale/C/XI18N_OBJS", O_RDONLY) = 3
open("/usr/lib/X11/locale/C/XI18N_OBJS", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/X11/locale/common/xlcDef.so.2", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/lib/X11/locale/common/xlcDef.so.2", O_RDONLY) = 3
open("/usr/share/X11/locale/locale.alias", O_RDONLY) = 3
open("/usr/share/X11/locale/locale.dir", O_RDONLY) = 3
open("/usr/share/X11/locale/C/XLC_LOCALE", O_RDONLY) = 3
open("/home/graham/.Xauthority", O_RDONLY) = 4
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/gconv/gconv-modules", O_RDONLY) = 4
open("/usr/lib/gconv/ISO8859-1.so", O_RDONLY) = 4
open("/etc/orbitrc", O_RDONLY)          = 6
open("/home/graham/.orbitrc", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/tmp", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 10
open("/tmp", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 10
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 10
open("/etc/gnome-vfs-2.0/modules",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 10
open("/etc/gnome-vfs-2.0/modules/ssl-modules.conf", O_RDONLY|O_LARGEFILE) = 10
open("/etc/gnome-vfs-2.0/modules/default-modules.conf",
O_RDONLY|O_LARGEFILE) = 10
open("/home/graham/.ICEauthority", O_RDONLY) = 11
open("/home/graham/.ICEauthority", O_RDONLY) = 11
--- SIGCHLD (Child exited) @ 0 (0) ---
open("/tmp/gconfd-graham/lock/ior", O_RDONLY) = 13
open("/usr/share/gtetrinet/themes/default/theme.cfg", O_RDONLY) = 14
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

(at this point the Gnome crash handler dialog appears, and I click Exit)

--- SIGCHLD (Child exited) @ 0 (0) ---


If I run it again, the most noticeable difference I see is that the
first SIGCHLD line shown above does not occur, and also the SIGSEGV
does not occur either.

Beyond that, it looks like "strace -eopen" didn't help much, because
everything listed above appears to be O_RDONLY. So I'm not sure how
this first run could have changed anything, unless it triggered
another process to modify a file somewhere...

But at least this provides a small amount of context information for
debugging; we know the crash occurs sometime after opening
"theme.cfg", but before this:

open("/usr/share/gtetrinet/themes/default/blocks.png",
O_RDONLY|O_LARGEFILE) = 14

Let me know if there's anything else you need from me. Thanks.

-- graham





More information about the Pkg-gnome-maintainers mailing list