[Pkg-freeciv-devel] Bug#447915: freeciv-client-gtk: Segfaults in lib.so.6 strlen() from g_strdup()

Jude Anthony debbug.10.judebert at spamgourmet.com
Sat Oct 27 13:44:02 UTC 2007


Package: freeciv-client-gtk
Version: 2.0.9-3
Followup-For: Bug #447915

For me, this started after a weekly dist-upgrade for security reasons.
I tried to open a saved game, and as soon as I try to open a city
dialog, I get a segfault.  Worked fine before the upgrade.  Wish I could
remember what packages were included.

Tried with various locales, multiple video drivers; no difference.
Downgrading to the freeciv-client-gtk package from stable (Etch?) fixes
the problem.  (Installed the xaw3d client to avoid updating server,
common, and data packages.)

Possibly related to #323078 as it also shows a sefault on strlen() in
libc6.  If so, I believe the charset.alias comes from glib; I've got
libglib2.0-0 and libglib1.2-dev installed.  Creating an empty /usr/lib/charset.alias has no effect.

Core dump backtrace follows:

Core was generated by `civclient-gtk'.
Program terminated with signal 11, Segmentation fault.
#0  0xb75d14eb in strlen () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0  0xb75d14eb in strlen () from /lib/i686/cmov/libc.so.6
#1  0xb7874ace in g_strdup () from /usr/lib/libglib-2.0.so.0
#2  0xb78fee6a in ?? () from /usr/lib/libgobject-2.0.so.0
#3  0x008da7fe in ?? ()
#4  0x00000040 in ?? ()
#5  0xbfad8b28 in ?? ()
#6  0xb78ff0c6 in ?? () from /usr/lib/libgobject-2.0.so.0
#7  0xb7909738 in ?? () from /usr/lib/libgobject-2.0.so.0
#8  0xbfad8c8c in ?? ()
#9  0xbfad8c48 in ?? ()
#10 0xb78dda10 in g_object_set_valist () from
/usr/lib/libgobject-2.0.so.0
Backtrace stopped: frame did not save the PC


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.20+20070716+purgatory (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages freeciv-client-gtk depends on:
ii  freeciv-data            2.0.9-3          Civilization turn based strategy g
ii  freeciv-server          2.0.9-3          Civilization turn based strategy g
ii  libatk1.0-0             1.20.0-1         The ATK accessibility toolkit
ii  libaudiofile0           0.2.6-7          Open-source version of SGI's audio
ii  libc6                   2.6.1-6          GNU C Library: Shared libraries
ii  libcairo2               1.4.10-1         The Cairo 2D vector graphics libra
ii  libesd-alsa0 [libesd0]  0.2.36-3         Enlightened Sound Daemon (ALSA) - 
ii  libfontconfig1          2.4.2-1.4        generic font configuration library
ii  libglib2.0-0            2.14.2-1         The GLib library of C routines
ii  libgtk2.0-0             2.12.1-1         The GTK+ graphical user interface 
ii  libpango1.0-0           1.18.3-1         Layout and rendering of internatio
ii  libsdl-mixer1.2         1.2.8-1          mixer library for Simple DirectMed
ii  libsdl1.2debian         1.2.12-1         Simple DirectMedia Layer
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  libxcomposite1          1:0.3.2-1+b1     X11 Composite extension library
ii  libxcursor1             1:1.1.9-1        X cursor management library
ii  libxdamage1             1:1.1.1-3        X11 damaged region extension libra
ii  libxext6                1:1.0.3-2        X11 miscellaneous extension librar
ii  libxfixes3              1:4.0.3-2        X11 miscellaneous 'fixes' extensio
ii  libxi6                  2:1.1.3-1        X11 Input extension library
ii  libxinerama1            1:1.0.2-1        X11 Xinerama extension library
ii  libxrandr2              2:1.2.2-1        X11 RandR extension library
ii  libxrender1             1:0.9.4-1        X Rendering Extension client libra
ii  zlib1g                  1:1.2.3.3.dfsg-6 compression library - runtime

freeciv-client-gtk recommends no packages.

-- no debconf information





More information about the Pkg-freeciv-devel mailing list