Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115120 - Game "Flightgear" crashes at startup
Summary: Game "Flightgear" crashes at startup
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-10 11:36 UTC by Patrick Lorazo
Modified: 2007-11-09 21:23 UTC (History)
5 users (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 Patrick Lorazo 2005-12-10 11:36:02 UTC
After updating "Flightgear" to version 0.9.9, the program crashes at startup
(i.e., after typing "fgfs") with the following details:

opening file: /usr/share/games/FlightGear/Navaids/carrier_nav.dat
/usr/share/games/FlightGear/Navaids/TACAN_freq.dat
X Error of failed request:  GLXUnsupportedPrivateRequest
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  16 (X_GLXVendorPrivate)
  Serial number of failed request:  888
  Current serial number in output stream:  890

It is worth pointing out that other applications using OpenGL work fine.

Reproducible: Always
Steps to Reproduce:
1.emerge flightgear
2.fgfs
3.

Actual Results:  
The program opens a window and begins loading several components; however, it
then (after a few seconds) crashes with the information listed above.

Expected Results:  
A window with the default airplane should appear.

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.14-gentoo-r4 i686)
=================================================================
System uname: 2.6.14-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-mcpu=pentium4 -O2 -pipe"
CHOST="i386-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/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_CA"
LINGUAS="fr pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d aac aalib acpi alsa apm arts audiofile avi
bash-completion berkdb bidi bitmap-fonts browserplugin bzip2 cdda cdio
cdparanoia cdr crypt cups curl dts dvd eds emboss encode esd exif expat f77 fam
ffmpeg flac font-server foomaticdb fortran freetype gd gdbm gif gimp gimpprint
glut gnome gnutls gphoto2 gpm gstreamer gtk gtk2 httpd idn imagemagick imlib
ipv6 jabber java jpeg kde lcms ldap libg++ libwww live logitech-mouse mad
matroska mikmod mmx mng motif mozilla mozsvg mp3 mpeg mysql ncurses nls nsplugin
ogg oggvorbis openal opengl oss pam pam_console pcre pdflib perl png povray
python qt quicktime readline real scanner sdl spell sse sse2 ssl stream svga
symlink tcpd tetex theora tiff tlen truetype truetype-fonts type1-fonts udev
unicode usb vcd vidix vlm vorbis win32codecs wmf wxwindows xanim xine xml2 xmms
xosd xpm xprint xv xvid xvmc zlib video_cards_radeon linguas_fr linguas_pl
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Mark Watkins 2005-12-10 19:16:35 UTC
Fresh stage1 gentoo install, then installed flightgear 0.9.9

Same problem as the other guy..
 
Removed and reinstalled flightgear and it's dependencies (replaced glut with
freeglut, and rebuilt openal plib simgear & flightgear), afterwards I got the
intro screen for about a second "setting up scenegraph and user interface", then
exits with nothing but a Segmentation fault.

Occasionaly, i get the intro screen and this instead of a segfault.
FATAL: PUI: No Live Interface! Forgot to call puInit ?

tried downgrading to 0.9.8 and contiued having the problem. upgraded again, then
emerge -e world. Same segfault problem continued.

Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-gentoo-r4 i686)
=================================================================
System uname: 2.6.14-gentoo-r4 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -mmmx -msse"
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/alias /var/qmail/control
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe -mmmx -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo
http://ftp.planetmirror.com/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 apm arts audiofile avi bash-completion
berkdb bitmap-fonts bzip2 cddb cdparanoia cdr crypt css cups curl dbus directfb
divx dts dvb dvd dvdr dvdread emboss encode exif expat fbcon ffmpeg fftw firefox
flac foomaticdb fortran freeglut ftp gd gdbm gif glut gmp gphoto2 gpm gstreamer
gtk gtk2 hal idn ieee1394 imagemagick imap imlib ipv6 jack java javascript
joystick jpeg kde lcms libg++ libwww lm_sensors mad maildir matroska mikmod mmx
mmxext mng motif mp3 mpeg mpeg2 msn mysql nas ncurses nls nsplugin ogg oggvorbis
openal opengl oss pam pcre pdflib perl perlsuid png portaudio python qmail qt
quicktime readline samba sdl session sharedmem slp speex spell sse ssl tcltk
tcpd theora tiff truetype truetype-fonts type1-fonts udev usb userlocales v4l
vcd vorbis win32codecs wxwindows xine xml2 xmms xosd xv xvid zlib
video_cards_nvidia video_cards_radeon video_cards_sis video_cards_trident
video_cards_savage video_cards_via userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


(In reply to comment #0)
> After updating "Flightgear" to version 0.9.9, the program crashes at startup
> (i.e., after typing "fgfs") with the following details: ......
Comment 2 Mark Watkins 2005-12-10 19:29:34 UTC
Ahem...

Forgot to mention I had a -mfpmath=sse in my CFLAGS before.. I just rebuilt
flightgear dependencies again without it (I was in the middle of the recompile
while I submitted - naughty me for not being patient, sorry)

Things now work as they are supposed to.. 

The original problem I was having (similar to the other guy) potentially caused
by not having freeglut libraries maybe? the segfault issue was my own stoopidness.

I'm off to fly around with my nice new joystick... :)
Comment 3 Patrick Lorazo 2005-12-11 17:43:18 UTC
The proposed solution (replace "glut" by "freeglut" and re-emerge "openal",
"plib", "simgear", and "flightgear") has not worked for me...
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2005-12-12 10:37:11 UTC
what version of X are you running, Lorazo?

Also, are you running ati-drivers or nvidia-glx/kernel or just plain X drivers?
Comment 5 Patrick Lorazo 2005-12-12 16:09:36 UTC
I use version 6.8.2-r6 of X as well as the ATI drivers (I have a Radeon 9200 SE
video card) provided in the kernel itself. I also reinstalled version 0.9.8 of
"Flightgear" this morning and it works fine; just to make sure the problem is
really related to the latest version of "Flightgear"...

I do not know if this is of any help, but it seems other people have recently
experienced similar problems; please see

http://www.mail-archive.com/flightgear-devel@flightgear.org/msg36189.html
Comment 6 Patrick Lorazo 2005-12-26 14:47:06 UTC
Look also at

http://www.opensubscriber.com/message/flightgear-devel@flightgear.org/2439056.html

and related messages.
Comment 7 Turgut Hakki Ozdemir 2006-01-13 15:59:10 UTC
I was have same problem. I tried recompiling things but it does not fixed.. when i changed bit depth from 24 to 16 and it worked. :) 32 bit display may also work.
Comment 8 Patrick Lorazo 2006-01-14 07:57:16 UTC
I also switched depth to 16 and it now works...
Comment 9 Paulo J. Matos 2006-12-16 13:37:44 UTC
I'm curious regarding the 'real' status of this bug among users. Has nobody solved this? Are there known workarounds (patches)? 

Regarding official bug solving, is any dev looking at this? This bug is over a year old.
Comment 10 Joshua Baergen (RETIRED) gentoo-dev 2006-12-16 13:42:11 UTC
(In reply to comment #9)
> I'm curious regarding the 'real' status of this bug among users. Has nobody
> solved this? Are there known workarounds (patches)? 
> 

It might be fixed in 0.9.10.  Have you tried?

> Regarding official bug solving, is any dev looking at this? This bug is over a
> year old.
> 

It appears to be an upstream problem, so you'd have to look around the mailing lists there.
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2007-11-09 21:23:23 UTC
http://www.flightgear.org/Downloads/source.shtml says to use the older version of freeglut.  Seems like a known issue so I'll mark this UPSTREAM.

Hopefully, it'll be fixed up in the next release.