Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168172 - games-roguelike/zangband-2.7.4c segfaults on startup with USE="gtk"
Summary: games-roguelike/zangband-2.7.4c segfaults on startup with USE="gtk"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-23 18:43 UTC by Andrej Kacian (RETIRED)
Modified: 2008-02-02 21:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej Kacian (RETIRED) gentoo-dev 2007-02-23 18:43:20 UTC
ticho@thelair ~ $ gdb zangband
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/games/bin/zangband 
Failed to read a valid object file image from memory.

Gdk-CRITICAL **: file gdkfont.c: line 452 (gdk_char_width): assertion `font != NULL' failed.

Program received signal SIGSEGV, Segmentation fault.
0x08116868 in load_font ()
(gdb) bt full
#0  0x08116868 in load_font ()
No symbol table info available.
#1  0x081197c7 in init_gtk ()
No symbol table info available.
#2  0x0811a96b in main ()
No symbol table info available.


[ebuild   R   ] games-roguelike/zangband-2.7.4c  USE="gtk -tk" 0 kB 


Portage 2.1.2-r6 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 Intel(R) Celeron(R) CPU 2.60GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Unknown
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/gentoo/distfiles"
FEATURES="autoconfig ccache collision-protect confcache cvs digest distcc distlocks metadata-transfer parallel-fetch sandbox sfperms sign strict"
GENTOO_MIRRORS="http://mirror.gentoo.sk/pub http://ftp.easynet.nl/mirror/gentoo"
LC_ALL="sk_SK.UTF-8"
LINGUAS="en sk"
MAKEOPTS="-j6"
PKGDIR="/usr/gentoo/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/gentoo/portage"
PORTDIR_OVERLAY="/usr/gentoo/overlay"
SYNC="rsync://gentoo.ynet.sk/gentoo-portage"
USE="X aac aalib alsa apm bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cli cracklib crypt curl divx4linux dri dvd dvdr dvdread eds emboss encode faad ffmpeg fifo flac foomaticdb gdbm gif gmp gpm gstreamer gtk gtk2 icecast iconv imlib isdnlog jpeg libg++ libwww logrotate mad mbox midi mikmod mmx moznocompose moznoirc moznomail moznoxft mp3 mpeg ncurses nls nntp nptl nptlonly nvidia ogg oggvorbis opengl openssl oss pam pcre perl png pppd pulseaudio python qt3 qt4 quicktime readline real reflection rtc samba sample sdl session spl sse sse2 ssl syslog tcpd tiff truetype truetype-fonts type1 type1-fonts unicode vim-with-x vorbis win32codecs x86 xml xml2 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sk" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


After emerging with USE="-gtk" the game works, although in text mode (obviously).
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2008-02-02 21:40:55 UTC
gtk+-1 isn't really supported anymore anyhow so I removed the gtk support from the ebuild.