Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194102 - games-arcade/holotz-castle segfaults on amd64
Summary: games-arcade/holotz-castle segfaults on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-28 16:08 UTC by Matija "hook" Šuklje
Modified: 2010-10-29 18:36 UTC (History)
1 user (show)

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


Attachments
strace (holotz_castle_strace,55.44 KB, text/plain)
2007-09-28 22:09 UTC, Matija "hook" Šuklje
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matija "hook" Šuklje 2007-09-28 16:08:24 UTC
Both 1.3.8 and 1.3.10 versions of Holotz Castle segfaul immediatly.

Steps of reproduction:
1) emerge holotz-castle (either amd64 or amd64), which seems to install just fine
2) holotz-castle
3) segfault

Expected results:
* running of the game

What you get:
* immediate segfault

my emerge --info:
Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r2 x86_64 AMD Turion(tm) 64 Mobile Technology ML-30
Timestamp of tree: Fri, 28 Sep 2007 13:50:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
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-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -pipe -O2"
CHOST="x86_64-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/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -msse3 -pipe -O2"
DISTDIR="/mnt/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirrors.ludost.net/gentoo/ ftp://mirrors.ludost.net/gentoo/ http://distfiles.gentoo.bg/ http://ftp.gentoo.bg/ http://mirror.bih.net.ba/gentoo/ ftp://mirror.bih.net.ba/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://files.gentoo.org http://files.gentoo.org http://gentoo.inf.elte.hu/ ftp://gentoo.inf.elte.hu/ ftp://ftp.nyx.hu/gentoo ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.ch "
LC_ALL="sl_SI.utf8"
LINGUAS="sl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aalib acl acpi addbookmarks aim alias allegro alsa amd64 amr ao asf background bash-completion berkdb bidi bitmap-fonts blender-game bzip2 cairo calendar cardbus ccache cddb cdparanoia cdr cjk colordiff connectionstatus contactnotes cracklib crypt css cups cvs d dar64 dbus dhcp dio divx dri dv dvb dvd dvdr dvdread effects emul-linux-x86 encode exif fam fat ffmpeg firefox flac foomaticdb fortran gadu gcj gdbm gif gimp gimpprint glibc-omitfp glitz gphoto2 gpm gps gs gtk2 gzip hal highlight history iconv icq icu ieee1394 imlib ipod ipv6 irda jabber javascript jikes jingle jpeg kde kexi kipi lcms libcaca live mad matroska midi mikmod mime mmap mng mp3 mpeg msn mudflap musepack music musicbrainz ncurses nls noamazon nowin nowlistening nptl nptlonly nsplugin ode offensive ogg on-the-fly-crypt openal opengl openmp openntpd openssh oscar p2kmoto pam pcmcia pcre pdf perl png print python qt3 qt3support qt4 quicktime readline reiserfs remix rtc scanner sdl sdlaudio slang sounds speex spell sqlite sqlite3 srt sse sse2 ssl statistics stencil-buffer stream subp subtitles subversion svg tcpd texteffect theora threads tidy tiff timidity tordns translator truetype truetype-fonts type1-fonts ucs2 unicode usb userlocales v4l vcd videos visualization voice vorbis webpresence wifi xine xml xorg xrandr xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sl" USERLAND="GNU" VIDEO_CARDS="radeon fglrx vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2007-09-28 17:30:51 UTC
try running it under strace and see what fails.  Best guess is you're missing a use flag.
Comment 2 Matija "hook" Šuklje 2007-09-28 22:09:32 UTC
Created attachment 132136 [details]
strace

Full strace output I get from holotz-castle.
Comment 3 Matija "hook" Šuklje 2007-09-28 23:12:36 UTC
Hm, it seems the culprit is in the options/preferences.

So far I noticed it segfaults:
* when I choose "fullscreen" under Window
* when I choose "32" under BPP
Comment 4 Matija "hook" Šuklje 2007-09-29 16:51:00 UTC
holotz-castle doesn't use USE flags.

I suppose this could be an upstream bug. It does seem odd to me that it depends on both opengl and sdl at the same time (and not opengl as USE). But then again, that might be as it has to be.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2009-10-13 20:49:03 UTC
Is this still a problem with holotz-castle-1.3.14?
Comment 6 Christophe LEFEBVRE 2010-10-29 18:31:03 UTC
holotz-castle 1.3.8 and 1.3.10 has been replaced by 1.3.14.
1.3.14 runs properly under amd64 for me.

Then, I suggest to close this bug.
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2010-10-29 18:36:20 UTC
great, thanks for checking.