Bug#479287: Segmentation fault on startup with bad XML file

Julien Danjou acid at debian.org
Sun May 4 07:22:14 UTC 2008


Package: wormux
Version: 0.8beta4-2
Severity: important

Hi,

Here wormux segfaulted on its own.

(gdb) run
Starting program: /usr/games/wormux 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
o Reading default config file
o Reading personal config file
o Bind text domain to: /usr/share/locale
o Codeset: UTF-8
o Text domain: wormux
[New Thread 0x2b31a4b78040 (LWP 5014)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2b31a4b78040 (LWP 5014)]
0x00002b319e715da2 in xmlpp::Node::get_children () from
/usr/lib/libxml++-2.6.so.2
(gdb) bt
#0  0x00002b319e715da2 in xmlpp::Node::get_children () from
/usr/lib/libxml++-2.6.so.2
#1  0x00002b319e715e99 in xmlpp::Node::get_children () from
/usr/lib/libxml++-2.6.so.2
#2  0x00000000004f7049 in ?? ()
#3  0x000000000042edc8 in ?? ()
#4  0x0000000000430773 in ?? ()
#5  0x0000000000430c45 in ?? ()
#6  0x00000000004318b5 in ?? ()
#7  0x00000000004723a1 in ?? ()
#8  0x00002b31a01e91c4 in __libc_start_main () from /lib/libc.so.6
#9  0x00000000004081b9 in ?? ()
#10 0x00007fff0d7528f8 in ?? ()
#11 0x0000000000000000 in ?? ()

Well, after thinking a bit... *smoke on the head*, I knew I already
tried this game long times ago.

I saw that I had a .wormux/config.xml file from 2004 in my home, removed
it, and the game started. :-)

The XML file is joined to reproduce.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wormux depends on:
ii  libc6                 2.7-10             GNU C Library: Shared libraries
ii  libcurl3-gnutls       7.18.1-1           Multi-protocol file transfer libra
ii  libgcc1               1:4.3.0-4          GCC support library
ii  libglib2.0-0          2.16.3-2           The GLib library of C routines
ii  libglibmm-2.4-1c2a    2.16.2-1           C++ wrapper for the GLib toolkit (
ii  libkrb53              1.6.dfsg.3~beta1-4 MIT Kerberos runtime libraries
ii  libpng12-0            1.2.27-1           PNG library - runtime
ii  libsdl-gfx1.2-4       2.0.13-4           drawing and graphical effects exte
ii  libsdl-image1.2       1.2.6-3            image loading library for Simple D
ii  libsdl-mixer1.2       1.2.8-3            mixer library for Simple DirectMed
ii  libsdl-net1.2         1.2.7-2            network library for Simple DirectM
ii  libsdl-ttf2.0-0       2.0.9-1            ttf library for Simple DirectMedia
ii  libsdl1.2debian       1.2.13-2           Simple DirectMedia Layer
ii  libsigc++-2.0-0c2a    2.0.18-2           type-safe Signal Framework for C++
ii  libstdc++6            4.3.0-4            The GNU Standard C++ Library v3
ii  libx11-6              2:1.0.3-7          X11 client-side library
ii  libxml++2.6-2         2.22.0-1           A C++ interface to the GNOME XML l
ii  libxml2               2.6.32.dfsg-2      GNOME XML library
ii  wormux-data           0.8beta4-2         data files for the game wormux

wormux recommends no packages.

-- no debconf information

-- 
Julien Danjou
// ᐰ <julien at danjou.info>   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// Anna Molly! Anna Molly! Anna Molly!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.xml
Type: application/xml
Size: 402 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20080504/c4a25a3a/attachment-0001.xml 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20080504/c4a25a3a/attachment-0001.pgp 


More information about the Pkg-games-devel mailing list