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

Bug 103465

Summary: gemhun-20031016 fails to run (glibc - invalid pointer)
Product: Gentoo Linux Reporter: Matteo Azzali (RETIRED) <mattepiu>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED WORKSFORME    
Severity: normal CC: flash3001
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matteo Azzali (RETIRED) gentoo-dev 2005-08-23 08:20:58 UTC
compiles fine but seems to not works with the newest(s) version(s) of glibc:

when running it open a screen, then:
*** glibc detected *** free(): invalid pointer: 0x080a50ec ***
and exit

complete report:
Welcome to Gem Hunters by TheBlackLion'2003 !!! =)
Compiled with glibc 2.3 ( gcc 3.3 )
Running with glibc 2.3.5 (stable)

Creating config directory /home/matte/.gemhun ...
Creating pax directory /home/matte/.gemhun/pax ...

Try -h as an option for command-line help...

Successfully initialized the audio device.
Panning for sound effects supported. :)

Available rendering device:
v2.0.7 32bbp Fullscreen=0 Linux OpenGL render: Vendor: 'ATI Technologies Inc.' 
Renderer: 'RADEON 9100 DDR Generic'  Version: '1.3.1003 (X4.3.0-8.14.13)'
Using OpenGL renderer.
Initialized video ( depth = 32bit ) and activated the following extensions:
- SDL_HWSURFACE
- SDL_OPENGL
- SDL_GL_DOUBLEBUFFER
- SDL_HWPALETTE

set framerate to normal speed...
*** glibc detected *** free(): invalid pointer: 0x080a50ec ***
Abortito

complete merge info (italian glibc):

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.5-r1,
2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.0_pre6
dev-lang/python:     2.3.5-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/
ftp://ftp.solnet.ch/mirror/Gentoo/ http://ftp.heanet.ie/pub/gentoo/
http://gentoo.chem.wisc.edu/gentoo/"
LANG="it_IT@euro"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext X aalib acl acpi acpi4linux alsa apm arts avi
berkdb bitmap-fonts cdr crypt cups curl divx4linux dvb dvd dvdr dvdread eds
emboss encode esd fam flac foomaticdb fortran gdbm gif gimp gnome gphoto2 gpm
gstreamer gtk gtk2 guile hal imagemagick imlib java joystick jpeg kde libg++
libwww lirc mad mikmod mmx mmx2 mmxext motif mp3 mpeg ncurses nls nptl nptlonly
offensive ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline scanner sdl spell sse ssl svga tcpd tiff truetype truetype-fonts
type1-fonts usb v4l v4l2 vorbis win32codecs wxgtk1 xine xml xml2 xmms xv xvid
xvmc zlib zvbi linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-23 08:25:33 UTC
Please, could you post some more informative summary next time? Thanks.
Comment 2 Alexandru Toma 2005-10-23 08:08:16 UTC
Same error here:

Welcome to Gem Hunters by TheBlackLion'2003 !!! =)
Compiled with glibc 2.3 ( gcc 3.3 ) 
Running with glibc 2.3.5 (stable)


Try -h as an option for command-line help...

Successfully initialized the audio device.
Panning for sound effects supported. :)

Available rendering device:
v2.0.7 32bbp Fullscreen=0 Linux OpenGL render: Vendor: 'NVIDIA Corporation' 
Renderer: 'GeForce 6600 GT/AGP/SSE/3DNOW!'  Version: '1.5.2 NVIDIA 66.29'
Using OpenGL renderer.
Initialized video ( depth = 32bit ) and activated the following extensions:
- SDL_HWSURFACE
- SDL_OPENGL
- SDL_GL_DOUBLEBUFFER
- SDL_HWPALETTE

set framerate to normal speed...
*** glibc detected *** free(): invalid pointer: 0x080a64d4 ***
Aborted


Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org http://gentoo.osuosl.org"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync2.ro.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib alsa apm avi bitmap-fonts cdr crypt cups curl
eds emboss encode fam flac foomaticdb fortran gd geoip gif gphoto2 gpm gstreamer
gtk2 guile imlib imlib2 jikes jpeg lcms libcaca libwww lzo mad matroska mikmod
mmx mmx2 mmxext mng motif mp3 mpeg mysql ncurses network nls no_wxgtk1 ogg
oggvorbis opengl pam png postgres python quicktime readline rtc ruby sdl slang
spell sse ssl tcpd tga theora tiff truetype truetype-fonts type1-fonts udev
vorbis xchatdccserver xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 3 Tupone Alfredo gentoo-dev 2006-03-06 12:32:54 UTC
The ebuild for the new version should have fixed IMHO, this bug.
Try it by using the testing version and report here if that is ok or not