FreeOrion v0.3.13 segfaults

Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report on GitHub. For problems building from source, post in Compile.

Moderator: Oberlus

Post Reply
Message
Author
Hena
Space Krill
Posts: 5
Joined: Wed Oct 07, 2009 5:39 pm

FreeOrion v0.3.13 segfaults

#1 Post by Hena »

HI,

I loved the original Master of Orion and after noticing this though fossfor.us decided to want to have a go. Unfortunately it doesn't run here.

OS: Kubuntu 9.04
Version: statistically linked, FreeOrion-0.3.13-Linux-i386.tar.gz
Python: 2.6.2

The problem does this everytime. Here's the excerpt from command line

Code: Select all

$ ./freeorion --strace
Following into my basedir                    
CWD: /home/hena/freeorion/application        
        libpython2.5.so.1.0 => not found     
python2.5 missing. Using shipped version.    
PYTHONHOME=python2.5                         
Tracing to /tmp/freeorion.trace              
get fences failed: -1                        
param: 6, val: 0                             
trace: ptrace(PTRACE_SYSCALL, ...): No such process
I don't see config.xml in the ~/.freeorion directory.
Attachments
freeorion.log
(447 Bytes) Downloaded 76 times
ogre.log
(10.08 KiB) Downloaded 71 times
glxinfo-2009-11-07.zip
(1.76 KiB) Downloaded 64 times

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13603
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: FreeOrion v0.3.13 segfaults

#2 Post by Geoff the Medio »

Does it crash immediately at startup, or only after trying to start a game?
ogre.log wrote:GL_VERSION = 1.4
That might be the cause of your problems. FreeOrion officially requires OpenGL 2.0, can usually work on OpenGL 1.5, and occasionally will work with OpenGL 1.4.

If you can get to the options screen from the main menu, galaxy map tab, and turn off galaxy gas, optimized system rendering, background starfields and fog of war scanlines.

Then try starting a new game.

If you can't get to the Options menu, you probably don't have an adequate graphics card to run FreeOrion. In that case, all I can suggest is making sure your video drivers are fully up to date.

Hena
Space Krill
Posts: 5
Joined: Wed Oct 07, 2009 5:39 pm

Re: FreeOrion v0.3.13 segfaults

#3 Post by Hena »

I get a black window which will then vanish at segfault.

Edit: About grahics card. lspci -vvv gives out following.

Code: Select all

00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
        Subsystem: Hewlett-Packard Company Device 3010
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at e0400000 (32-bit, non-prefetchable) [size=512K]
        Region 1: I/O ports at 10c0 [size=8]
        Region 2: Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Region 3: Memory at e0480000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: <access denied>
        Kernel modules: intelfb

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13603
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: FreeOrion v0.3.13 segfaults

#4 Post by Geoff the Medio »

Then all I can (re)suggest is trying to update your video drivers.

Hena
Space Krill
Posts: 5
Joined: Wed Oct 07, 2009 5:39 pm

Re: FreeOrion v0.3.13 segfaults

#5 Post by Hena »

I came to conclusion that at the moment, I won't try to get it up and running on the machine. Upgrading drivers would lead to too much a problem. That said I got my other comp from being fixed back. This one should be able to run this. The OS, version and Python are all same. glxinfo reports that my opengl string is 'OpenGL version string: 2.1 Mesa 7.4'

However no dice either, but different problem ... :)
$ ./freeorion
Following into my basedir
CWD: /home/hena/games/freeorion/application
libpython2.5.so.1.0 => not found
python2.5 missing. Using shipped version.
PYTHONHOME=python2.5
unknown chip id 0x9581, can't guess.
freeorion: OgreGLSupport.cpp:57: virtual void Ogre::GLSupport::initialiseExtensions(): Assertion `pcVer && "Problems getting GL version string using glGetString"' failed.
Aborted
There is no freeorion.log available.
Attachments
ogre.log
(4.28 KiB) Downloaded 69 times

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13603
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: FreeOrion v0.3.13 segfaults

#6 Post by Geoff the Medio »

Hena wrote:OgreGLSupport.cpp:57: virtual void Ogre::GLSupport::initialiseExtensions(): Assertion `pcVer && "Problems getting GL version string using glGetString"' failed.
I can't address the problem directly, but, a bit of googling turns up a lot of hits for this: http://www.google.ca/#hl=en&q=OgreGLSup ... 0b3e3653dd
So this might be a problem with something in FreeOrion, but it's not specific to FreeOrion. If you could have a look at some of the other similar error reports and see if anything fixes the problem, that would be helpful.

Hopefully someone else more familiar with linux and these issues can post here as well, though...

User avatar
OndrejR
Space Dragon
Posts: 339
Joined: Thu Oct 02, 2008 11:00 pm
Location: Slovakia

Re: FreeOrion v0.3.13 segfaults

#7 Post by OndrejR »

I don't have intel graphic card, but with binary nvidia on Linux I had same problem. Problem was in damaged driver(opengl screensaver is OK?) which needs reinstall.

Hena
Space Krill
Posts: 5
Joined: Wed Oct 07, 2009 5:39 pm

Re: FreeOrion v0.3.13 segfaults

#8 Post by Hena »

I have an ATI card the second machine

Code: Select all

01:00.0 VGA compatible controller: ATI Technologies Inc M76 [Radeon Mobility HD 2600 Series]
        Subsystem: Hewlett-Packard Company Device 30c5
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Region 1: I/O ports at 4000 [size=256]
        Region 2: Memory at e4300000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at e4320000 [disabled] [size=128K]
        Capabilities: <access denied>
However it seems that I didn't have fglrx driver in use. I'll switch that on a bit later as I have to go now and it'll take a while to get it downloaded. It seems that OGRE needs a hardware support and that I don't have without the driver.

From glxinfo:

Code: Select all

OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 1.4 (2.1 Mesa 7.4)

Hena
Space Krill
Posts: 5
Joined: Wed Oct 07, 2009 5:39 pm

Re: FreeOrion v0.3.13 segfaults

#9 Post by Hena »

The progress is happening. I installed the fglrx driver and now the opengl is hardware rendered. From glxinfo

Code: Select all

OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 2600
OpenGL version string: 2.1.8575
OpenGL shading language version string: 1.20
However it is still not running.

Code: Select all

$ ./freeorion 
Following into my basedir                       
CWD: /home/hena/games/freeorion/application     
        libpython2.5.so.1.0 => not found        
python2.5 missing. Using shipped version.       
PYTHONHOME=python2.5                            
AL lib: alcConfig.c:244: Reading ~/.openalrc; this file is deprecated
        Please rename it to ~/.alsoftrc                              
AL lib: alcConfig.c:146: config parse error: option without a value: "(define"
Segmentation fault
Note that after removing the .openalrc file it doesn't do the AL lib lines, but just segfaults. I don't see any menus but I do see a black window for a while. Btw, how I do get it to dump core?
Attachments
ogre.log
(14.42 KiB) Downloaded 86 times
freeorion.log
(447 Bytes) Downloaded 78 times

Post Reply