Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 63874

Summary: pingus-0.6.0-r1 crashes at startup on amd64
Product: Gentoo Linux Reporter: Peter `MathFox' Roozemaal <mathfox>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: VERIFIED NEEDINFO    
Severity: normal CC: amd64
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter `MathFox' Roozemaal 2004-09-13 04:40:54 UTC
When starting pingus on my Athlon64 (Gentoo) machine, with the X11 display redirected to an older Linux machine pingus generates X11 errors and an segmentation fault:

$ pingus
PingusError: Couldn't open: /home/peter/.pingus/config
Welcome to Pingus 0.6.0 (unofficial build)!
===========================================
clanVorbis support:           ok
clanMikMod support:           ok
getext support:               ok
gettext language:        english
sound support:           enabled
music support:           enabled
resolution set to:       800x600
fullscreen:              disabled
 
ClanLib Info(1): X11 Implementation: Fallback to normal XImages. This will be horribly slow! from Sources/Display/Display/X11/display_xwindow.cpp:342
I/O warning : failed to load external entity "/home/peter/.pingus/savegames/variables.xml"
XIO:  fatal IO error 14 (Bad address) on X server "atleet:0.0"
      after 29 requests (23 known processed) with 6 events remaining.
 
,------------------------------------------------------------------------
| segfault_handler: catched a SIGSEGV.
|
| Woops, Pingus just crashed, congratulations you've found a bug.
| Please write a little bug report to <grumbel@gmx.de>, include informations
| where exacly the SIGSEGV occured and how to reproduce it.
| Also try include a backtrace, you can get it like this:
|
| $ gdb pingus core
| (gdb) bt
| ...
|
| If that doesn't work, try this:
|
| $ gdb pingus
| (gdb) r
| [play until it crashes again]
| ...
|
'------------------------------------------------------------------------
 
exit(EXIT_FAILURE);
Segmentation fault

Backtrace (if anyone can make sense of it):

[New Thread 32769 (LWP 17455)]
[New Thread 16386 (LWP 17456)]
XIO:  fatal IO error 14 (Bad address) on X server "atleet:0.0"
      after 29 requests (23 known processed) with 5 events remaining.
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 17452)]
0x0000002a956b16e9 in CL_Signal_v1<CL_Key const&>::~CL_Signal_v1() ()
   from /usr/lib/libclanGUI.so.2
(gdb) bt
#0  0x0000002a956b16e9 in CL_Signal_v1<CL_Key const&>::~CL_Signal_v1() ()
   from /usr/lib/libclanGUI.so.2
#1  0x0000002a95fae270 in CL_Mouse::right_pressed() ()
   from /usr/lib/libclanDisplay.so.2
#2  0x0000002a96dc86d7 in __cxa_finalize () from /lib/libc.so.6
#3  0x0000002a95f7d1b7 in ?? () from /usr/lib/libclanDisplay.so.2
#4  0x0000007fbfffed90 in ?? ()
#5  0x0000002a95fd11c1 in _fini () from /usr/lib/libclanDisplay.so.2
#6  0x0000002a9753f4a0 in ?? ()
#7  0x0000002a95560395 in _dl_rtld_di_serinfo ()
   from /lib64/ld-linux-x86-64.so.2
Previous frame inner to this frame (corrupt stack?)
Comment 1 Christoph Brill (egore) (RESIGNED) 2004-09-13 05:13:59 UTC
Maybe you should ask Ingo Ruhnke (grumbel) if he has an idea about that, because:
1.) He wrote the game
2.) The error message tells you to do so
3.) Ingo knows what he's doing

Just my opinion, though.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-09-13 15:47:39 UTC
Reopen with the output from emerge --info please.
Comment 3 Peter `MathFox' Roozemaal 2004-09-14 03:46:19 UTC
The emerge --info output as requested:

Portage 2.0.50-r11 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040619-r1, 2.6.7-gentoo-r13)
=================================================================
System uname: 2.6.7-gentoo-r13 x86_64 4
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.nedlinux.nl/"MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb bitmap-fonts cdr crypt dvd dvdr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mikmod motif mozilla mpeg mysql ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl tcltk tcpd tetex truetype xml2 xmms xprint xv zlib"
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-09-16 04:38:43 UTC
Does it crash when running locally?
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-24 16:30:49 UTC
REOPEN with more information
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2004-12-27 21:00:24 UTC
no reply for over a month.  closing.