Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146917 - Torcs 1.2.4 segfaults with openal
Summary: Torcs 1.2.4 segfaults with openal
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: 2006-09-09 01:36 UTC by hodak
Modified: 2006-10-27 12:15 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 hodak 2006-09-09 01:36:48 UTC
After few minutes of play torcs 1.2.4-r1 segfaults giving this message:

^[[C/usr/games/bin/torcs: line 52: 19326 Segmentation fault      $LIBDIR/torcs-bin -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $*

I tried running torcs with gdb (torcs -d), which I am not sure is useful, since I use fomit-frame-pointer and I get this info:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1299420256 (LWP 19512)]
0xb7a46de0 in alGetString () from /usr/lib/libopenal.so.0



emerge --info:

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-ck10 i686)
=================================================================
System uname: 2.6.16-ck10 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texm
f/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
 /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo ftp://mirr
ors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en_US sk"
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' --excl
ude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac aalib alsa apache2 apm artworkextra avi bash-completion be
rkdb bitmap-fonts bzip2 cdparanoia cdr cjk cli cpudetection crypt cups curl custom-cflag
s dbus divx4linux dlloader dri dts dv dvb edl eds emboss encode exif fbcon fbdev fftw fi
refox flac foomaticdb fortran fpx gd gdbm gif gimp glibc-omitfp gnome gphoto2 gpm graphv
iz gs gstreamer gtk gtk2 gtkhtml hal idn imlib ipv6 isdnlog java javascript jpeg jpeg2k 
lcms libcaca libg++ libwww live lzo lzw-tiff mad mikmod mmx mmxext mng motif mozsvg mp3 
mpeg msn nas ncurses network new-login nls nptl nptlonly nsplugin nvidia nvtv ogg openal
 opengl pam pcre pdf pdflib perl plotutils png pppd python quicktime readline real refle
ction rtc sdl seamonkey session spell spl sse ssl svg tcl tcltk tcpd tetex theora tiff t
k truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis win32codecs wmf x
ml xml2 xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse ke
rnel_linux linguas_en_US linguas_sk userland_GNU video_cards_nvidia video_cards_vesa vid
eo_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXT
RA_OPTS
Comment 1 hodak 2006-09-24 17:43:32 UTC
The crash seems to be caused by bug in openal, see Bug #145245. 
As a workaround, it is possible to change sound system to plib instead of openal and after torcs runs without crashes.
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2006-10-14 09:27:17 UTC
Please test it with openal-0.0.8-r1
Comment 3 Tristan Heaven (RETIRED) gentoo-dev 2006-10-27 12:15:36 UTC
Seems fine with openal-0.0.8-r1