Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208327 - games-rpg/openglad doesn't start, segfaults on amd64
Summary: games-rpg/openglad doesn't start, 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: 2008-01-31 18:08 UTC by Billy DeVincentis
Modified: 2011-07-23 20:31 UTC (History)
1 user (show)

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 Billy DeVincentis 2008-01-31 18:08:23 UTC
billydv@Windows2 ~ $ openglad
Segmentation fault
billydv@Windows2 ~ $ 


Reproducible: Always




Windows2 billydv # emerge --info
Portage 2.1.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Thu, 31 Jan 2008 06:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --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/miscellaneous /usr/local/portage/font-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowtext S3TC X a52 aac aalib accessibility acl acpi aiglx alsa amarok amd64 apm arts artworkextra asf audiofile automount avahi avi bash-completion berkdb bitmap-fonts bittorrent branding bzip2 cairo calendar cann cdparanoia cdr cli cpudetection cracklib crypt cups curl dbus deprecated devil dga directfb discouraged distribution divx dlloader doc dri dts dv dvb dvd dvdr dvdread eds effects elisp emacs emboss emerald encode esd evo examples exif ext-man ext-rtf ext-tex extraicons fam fat fax fbcon fbcondecor fbsplash ffmpeg firefox flac flash foomaticdb fortran freetype fuse gb gcj gd gdbm gdphoto2 gedit gif gimp gimpprint glitz gmedia gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hddtemp hfs howl html iconv idn ieee1394 imagemagick imlib inkjar ipv6 isdnlog jack java jfs joystick jpeg kde kdehiddenvisibility kerberos lcms ldap libao libcaca libg++ lirc lm_sensors logrotate mad mail mdnsresponder-compat midi mikmod mime mjpeg mmx mmxext mng mono mozbranding mozcalendar mozilla mp3 mpeg mplayer mudflap mysql nas nautilus ncurses networking new-login newspr nforce2 nls nptl nptlonly nsplugin ntfs nvidia odbc offensive ogg opengl openmp oss pam parport pcre pdf pdflib perl pmu png postgres ppds pppd python qt3 qt3support qt4 quicktime rar rdesktop readline realmedia reflection regex reiser4 reiserfs samba scanner sdl seamonkey servletapi session skins slp smp sndfile snmp sound sounds speex spell spl spreadsheet sqlite sse sse2 ssl startup-notification streams subversion svg swat symlink sysfs syslog tcltk tcpd tetex theora thesaurus threads thunderbird tidy tiff timidity tk truetype truetype-fonts type1 type1-fonts udev unicode usb utempter utils v4l vcd vdr voice vorbis vram weather wmf wmp wordperfect xattr xcb xcomposite xforms xfs xine xml xorg xpm xprint xscreensaver xv xvid zeroconf 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Windows2 billydv #
Comment 1 Tolga Dalman 2009-11-02 23:30:18 UTC
I can confirm this bug. Openglad should be masked on amd64.
Comment 2 DavidH 2009-11-04 14:30:10 UTC
Looks like it isn't just amd64.  I'm on x86 and get repeatable segfaults (have tried on several different systems - all x86).

Here's the dump:

Looking for scen1.fss
*** buffer overflow detected ***: openglad terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x48)[0xb7d19368]
/lib/libc.so.6[0xb7d17450]
/lib/libc.so.6[0xb7d168c7]
openglad[0x806b306]
openglad[0x80701c7]
openglad[0x805080f]
openglad[0x804ca91]
openglad[0x8067920]
openglad[0x804dbf3]
openglad[0x804dc7a]
openglad[0x8065e65]
openglad[0x804dbf3]
openglad[0x804dc7a]
openglad[0x8065c48]
openglad[0x804dbf3]
openglad[0x804dc7a]
openglad[0x8066338]
openglad[0x804dbf3]
openglad[0x804dc7a]
openglad[0x8066684]
openglad[0x804cf67]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb7c506fc]
openglad(pthread_cancel+0x4d)[0x804aad1]
======= Memory map: ========
08048000-08093000 r-xp 00000000 08:07 3274472    /usr/games/bin/openglad
08093000-08094000 r--p 0004a000 08:07 3274472    /usr/games/bin/openglad
08094000-08097000 rw-p 0004b000 08:07 3274472    /usr/games/bin/openglad
08097000-082d9000 rw-p 08097000 00:00 0          [heap]
b6cfb000-b6cfd000 rw-p b6cfb000 00:00 0 
b6cfd000-b6cfe000 ---p b6cfd000 00:00 0 
b6cfe000-b74fe000 rw-p b6cfe000 00:00 0 
b74fe000-b750e000 rw-s 00000000 00:08 19496979   /SYSV0056a4d6 (deleted)
b750e000-b751e000 rw-s 00000000 00:0d 1339       /dev/snd/pcmC0D0p
b751e000-b751f000 rw-s 81000000 00:0d 1339       /dev/snd/pcmC0D0p
b751f000-b7520000 r--s 80000000 00:0d 1339       /dev/snd/pcmC0D0p
b7520000-b7521000 rw-s 00000000 00:08 19464210   /SYSV0056a4d5 (deleted)
b7521000-b7522000 rw-p b7521000 00:00 0 
b7522000-b761c000 rw-s 00000000 00:08 42991642   /SYSV00000000 (deleted)
b761c000-b7717000 rw-p b761c000 00:00 0 
b7717000-b77c1000 r-xp 00000000 08:07 964956     /usr/lib/libasound.so.2.0.0
b77c1000-b77c4000 r--p 000aa000 08:07 964956     /usr/lib/libasound.so.2.0.0
b77c4000-b77c5000 rw-p 000ad000 08:07 964956     /usr/lib/libasound.so.2.0.0
b77c5000-b77ff000 rw-p b77ff000 00:00 0 
b7854000-b785d000 r-xp 00000000 08:07 16450200   /lib/libnss_files-2.9.so
b785d000-b785e000 r--p 00008000 08:07 16450200   /lib/libnss_files-2.9.so
b785e000-b785f000 rw-p 00009000 08:07 16450200   /lib/libnss_files-2.9.so
b785f000-b7872000 r-xp 00000000 08:07 16450199   /lib/libnsl-2.9.so
b7872000-b7873000 r--p 00012000 08:07 16450199   /lib/libnsl-2.9.so
b7873000-b7874000 rw-p 00013000 08:07 16450199   /lib/libnsl-2.9.so
b7874000-b7876000 rw-p b7874000 00:00 0 
b7876000-b787e000 r-xp 00000000 08:07 100134     /usr/lib/libXcursor.so.1.0.2
b787e000-b787f000 r--p 00007000 08:07 100134     /usr/lib/libXcursor.so.1.0.2
b787f000-b7880000 rw-p 00008000 08:07 100134     /usr/lib/libXcursor.so.1.0.2
b78a1000-b7aa1000 r--p 00000000 08:07 11053959   /usr/lib/locale/locale-archive
b7aa1000-b7aa7000 r-xp 00000000 08:07 1602610    /usr/lib/libXrandr.so.2.2.0
b7aa7000-b7aa8000 r--p 00005000 08:07 1602610    /usr/lib/libXrandr.so.2.2.0
b7aa8000-b7aa9000 rw-p 00006000 08:07 1602610    /usr/lib/libXrandr.so.2.2.0
b7aa9000-b7ab0000 r-xp 00000000 08:07 99239      /usr/lib/libXrender.so.1.3.0
b7ab0000-b7ab1000 r--p 00006000 08:07 99239      /usr/lib/libXrender.so.1.3.0
b7ab1000-b7ab2000 rw-p 00007000 08:07 99239      /usr/lib/libXrender.so.1.3.0
b7ab2000-b7abf000 r-xp 00000000 08:07 2420161    /usr/lib/libXext.so.6.4.0
b7abf000-b7ac0000 r--p 0000d000 08:07 2420161    /usr/lib/libXext.so.6.4.0
b7ac0000-b7ac1000 rw-p 0000e000 08:07 2420161    /usr/lib/libXext.so.6.4.0
b7ac1000-b7ac5000 r-xp 00000000 08:07 230721     /usr/lib/libXdmcp.so.6.0.0
b7ac5000-b7ac6000 r--p 00003000 08:07 230721     /usr/lib/libXdmcp.so.6.0.0
b7ac6000-b7ac7000 rw-p 00004000 08:07 230721     /usr/lib/libXdmcp.so.6.0.0
b7ac7000-b7ac9000 r-xp 00000000 08:07 117806     /usr/lib/libXau.so.6.0.0
b7ac9000-b7aca000 r--p 00001000 08:07 117806     /usr/lib/libXau.so.6.0.0
b7aca000-b7acb000 rw-p 00002000 08:07 117806     /usr/lib/libXau.so.6.0.0
b7acb000-b7ae3000 r-xp 00000000 08:07 2404057    /usr/lib/libxcb.so.1.1.0
b7ae3000-b7ae4000 r--p 00017000 08:07 2404057    /usr/lib/libxcb.so.1.1.0
b7ae4000-b7ae5000 rw-p 00018000 08:07 2404057    /usr/lib/libxcb.so.1.1.0
b7ae5000-b7bf7000 r-xp 00000000 08:07 4137078    /usr/lib/libX11.so.6.2.0
b7bf7000-b7bf8000 r--p 00112000 08:07 4137078    /usr/lib/libX11.so.6.2.0
b7bf8000-b7bfb000 rw-p 00113000 08:07 4137078    /usr/lib/libX11.so.6.2.0
b7bfb000-b7bfd000 rw-p b7bfb000 00:00 0 
b7bfd000-b7c33000 r-xp 00000000 08:07 753954     /usr/lib/libmikmod.so.2.0.4
b7c33000-b7c34000 r--p 00036000 08:07 753954     /usr/lib/libmikmod.so.2.0.4
b7c34000-b7c35000 rw-p 00037000 08:07 753954     /usr/lib/libmikmod.so.2.0.4
b7c35000-b7c36000 rw-p b7c35000 00:00 0 
b7c36000-b7c38000 r-xp 00000000 08:07 16450198   /lib/libdl-2.9.so
b7c38000-b7c39000 r--p 00001000 08:07 16450198   /lib/libdl-2.9.so
b7c39000-b7c3a000 rw-p 00002000 08:07 16450198   /lib/libdl-2.9.so
b7c3a000-b7d71000 r-xp 00000000 08:07 16450189   /lib/libc-2.9.so
b7d71000-b7d73000 r--p 00137000 08:07 16450189   /lib/libc-2.9.so
b7d73000-b7d74000 rw-p 00139000 08:07 16450189   /lib/libc-2.9.so
b7d74000-b7d77000 rw-p b7d74000 00:00 0 
b7d77000-b7d83000 r-xp 00000000 08:07 1491428    /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1
b7d83000-b7d84000 r--p 0000b000 08:07 1491428    /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1
b7d84000-b7d85000 rw-p 0000c000 08:07 1491428    /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1
b7d85000-b7d86000 rw-p b7d85000 00:00 0 
b7d86000-b7daa000 r-xp 00000000 08:07 16450226   /lib/libm-2.9.so
b7daa000-b7dab000 r--p 00023000 08:07 16450226   /lib/libm-2.9.so
b7dab000-b7dac000 rw-p 00024000 08:07 16450226   /lib/libm-2.9.so
b7dac000-b7e85000 r-xp 00000000 08:07 1491425    /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libstdc++.so.6.0.10
b7e85000-b7e89000 r--p 000d9000 08:07 1491425    /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libstdc++.so.6.0.10
b7e89000-b7e8a000 rw-p 000dd000 08:07 1491425    /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libstdc++.so.6.0.10
b7e8a000-b7e90000 rw-p b7e8a000 00:00 0 
b7e90000-b7e9e000 r-xp 00000000 08:07 163650     /usr/lib/libSDL_mixer-1.2.so.0.2.6
b7e9e000-b7e9f000 r--p 0000d000 08:07 163650     /usr/lib/libSDL_mixer-1.2.so.0.2.6
b7e9f000-b7ea0000 rw-p 0000e000 08:07 163650     /usr/lib/libSDL_mixer-1.2.so.0.2.6
b7ea0000-b7eb4000 r-xp 00000000 08:07 147930     /lib/libpthread-2.9.so
b7eb4000-b7eb5000 r--p 00013000 08:07 147930     /lib/libpthread-2.9.so
b7eb5000-b7eb6000 rw-p 00014000 08:07 147930     /lib/libpthread-2.9.so
b7eb6000-b7eb8000 rw-p b7eb6000 00:00 0 
b7eb8000-b7f0c000 r-xp 00000000 08:07 3275404    /usr/lib/libSDL-1.2.so.0.11.2
b7f0c000-b7f0d000 r--p 00054000 08:07 3275404    /usr/lib/libSDL-1.2.so.0.11.2
b7f0d000-b7f0e000 rw-p 00055000 08:07 3275404    /usr/lib/libSDL-1.2.so.0.11.2
b7f0e000-b7f17000 rw-p b7f0e000 00:00 0 
b7f17000-b7f1f000 r-xp 00000000 08:07 16450202   /lib/libnss_nis-2.9.so
b7f1f000-b7f20000 r--p 00008000 08:07 16450202   /lib/libnss_nis-2.9.so
b7f20000-b7f21000 rw-p 00009000 08:07 16450202   /lib/libnss_nis-2.9.so
b7f21000-b7f27000 r-xp 00000000 08:07 16450184   /lib/libnss_compat-2.9.so
b7f27000-b7f28000 r--p 00005000 08:07 16450184   /lib/libnss_compat-2.9.so
b7f28000-b7f29000 rw-p 00006000 08:07 16450184   /lib/libnss_compat-2.9.so
b7f29000-b7f30000 r-xp 00000000 08:07 16450190   /lib/librt-2.9.so
b7f30000-b7f31000 r--p 00006000 08:07 16450190   /lib/librt-2.9.so
b7f31000-b7f32000 rw-p 00007000 08:07 16450190   /lib/librt-2.9.so
b7f32000-b7f36000 r-xp 00000000 08:07 100002     /usr/lib/libXfixes.so.3.1.0
b7f36000-b7f37000 r--p 00003000 08:07 100002     /usr/lib/libXfixes.so.3.1.0
b7f37000-b7f38000 rw-p 00004000 08:07 100002     /usr/lib/libXfixes.so.3.1.0
b7f38000-b7f39000 rw-p b7f38000 00:00 0 
b7f39000-b7f3a000 r-xp b7f39000 00:00 0          [vdso]
b7f3a000-b7f56000 r-xp 00000000 08:07 16450194   /lib/ld-2.9.so
b7f56000-b7f57000 r--p 0001b000 08:07 16450194   /lib/ld-2.9.so
b7f57000-b7f58000 rw-p 0001c000 08:07 16450194   /lib/ld-2.9.so
bfb94000-bfba9000 rw-p bffeb000 00:00 0          [stack]
Aborted
Comment 3 Tupone Alfredo gentoo-dev 2011-07-23 20:31:59 UTC
This should be fixed now. Thanks for report