FreeOrion

Forums for the FreeOrion project
It is currently Wed Jun 19, 2013 4:35 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Can't launch the game, segmentation fault (core dumped)
PostPosted: Tue Jun 05, 2012 4:21 pm 
Offline
Space Krill

Joined: Tue Jun 05, 2012 4:15 pm
Posts: 2
Hi,
I've found this game lurking around and i decided to try it.
I've installed using the setup.sh but now i'm unable to start it, this is the error:

Code:
$ freeorion-start
I am Symlink. Following into my targets basedir
CWD: /usr/local/games/freeorion/application
   libpython2.5.so.1.0 => not found
python2.5 missing. Using shipped version.
PYTHONHOME=python2.5
Segmentation fault (core dumped)


First, it's strange that he tries to use the provided 2.5 python, i've the latest python installed:
Code:
stefo@3141-slave:~$ python3.2 --version
Python 3.2.3
stefo@3141-slave:~$ python --version
Python 2.7.3


I've used the default path during the installation (providing superuser privileges to the setup.sh script), i'm running Ubuntu 12.04 64 bit. Can someone help me? I can't figure out what the problem is.

Edit: further information:
launching the game with sudo gives the same output in the console but a black window launches and crashes a couple of seconds after. Launching the game with the --gdb provides this:
Code:
$ freeorion-start --gdb
I am Symlink. Following into my targets basedir
CWD: /usr/local/games/freeorion/application
   libpython2.5.so.1.0 => not found
python2.5 missing. Using shipped version.
PYTHONHOME=python2.5
ERROR: ld.so: object 'python2.5/libutil.so.1' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'python2.5/libpython2.5.so' from LD_PRELOAD cannot be preloaded: ignored.
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# python2.5/site.pyc has bad mtime
import site # from python2.5/site.py
# can't create python2.5/site.pyc
# python2.5/os.pyc has bad mtime
import os # from python2.5/os.py
# can't create python2.5/os.pyc
import errno # builtin
import posix # builtin
# python2.5/posixpath.pyc has bad mtime
import posixpath # from python2.5/posixpath.py
# can't create python2.5/posixpath.pyc
# python2.5/stat.pyc has bad mtime
import stat # from python2.5/stat.py
# can't create python2.5/stat.pyc
# python2.5/UserDict.pyc has bad mtime
import UserDict # from python2.5/UserDict.py
# can't create python2.5/UserDict.pyc
# python2.5/copy_reg.pyc has bad mtime
import copy_reg # from python2.5/copy_reg.py
# can't create python2.5/copy_reg.pyc
# python2.5/types.pyc has bad mtime
import types # from python2.5/types.py
# can't create python2.5/types.pyc
import encodings # directory /usr/local/games/freeorion/application/python2.5/encodings
# /usr/local/games/freeorion/application/python2.5/encodings/__init__.pyc has bad mtime
import encodings # from /usr/local/games/freeorion/application/python2.5/encodings/__init__.py
# can't create /usr/local/games/freeorion/application/python2.5/encodings/__init__.pyc
# /usr/local/games/freeorion/application/python2.5/codecs.pyc has bad mtime
import codecs # from /usr/local/games/freeorion/application/python2.5/codecs.py
# can't create /usr/local/games/freeorion/application/python2.5/codecs.pyc
import _codecs # builtin
# /usr/local/games/freeorion/application/python2.5/encodings/aliases.pyc has bad mtime
import encodings.aliases # from /usr/local/games/freeorion/application/python2.5/encodings/aliases.py
# can't create /usr/local/games/freeorion/application/python2.5/encodings/aliases.pyc
# /usr/local/games/freeorion/application/python2.5/encodings/utf_8.pyc has bad mtime
import encodings.utf_8 # from /usr/local/games/freeorion/application/python2.5/encodings/utf_8.py
# can't create /usr/local/games/freeorion/application/python2.5/encodings/utf_8.pyc
Traceback (most recent call last):
  File "<string>", line 70, in <module>
  File "<string>", line 67, in GdbSetPythonDirectory
  File "/usr/share/gdb/python/gdb/__init__.py", line 16, in <module>
    import traceback
ImportError: No module named traceback
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/local/games/freeorion/application/freeorion...(no debugging symbols found)...done.
(gdb) quit


Top
 Profile  
 
 Post subject: Re: Can't launch the game, segmentation fault (core dumped)
PostPosted: Tue Jun 05, 2012 10:35 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 8055
Location: Vancouver, BC
What version are you trying to run, and where did you get it? If it's the old statically linked Linux build, it's a few years old now and not really supported. You'll likely need to build it yourself, or try to find a newer build.


Top
 Profile  
 
 Post subject: Re: Can't launch the game, segmentation fault (core dumped)
PostPosted: Wed Jun 06, 2012 10:14 am 
Offline
Space Krill

Joined: Tue Jun 05, 2012 4:15 pm
Posts: 2
You're right, i've taken the linked "latest" version, 3.15. I've downloaded via svn the latest sources, i'm trying to build it myself now, i'll keep you posted!
Thanks!


Top
 Profile  
 
 Post subject: Re: Can't launch the game, segmentation fault (core dumped)
PostPosted: Sun Aug 05, 2012 9:40 pm 
Offline
Space Krill

Joined: Sun Aug 05, 2012 9:36 pm
Posts: 1
Any Luck? I have the same issue. :?

Where are instructions for compile?

Thanks.


Top
 Profile  
 
 Post subject: Re: Can't launch the game, segmentation fault (core dumped)
PostPosted: Sun Aug 05, 2012 10:15 pm 
Offline
Design & Graphics Lead
User avatar

Joined: Sat Sep 23, 2006 7:09 pm
Posts: 3707
Location: USA — midwest
Xyzzy529 wrote:
Where are instructions for compile?

On our Wiki:
http://www.freeorion.org/index.php/Compile#Compilation

_________________
—• Read this First before posting Game Design Ideas!
—• Design Philosophy

—•— My Ideas, Organized —•— Get an Avatar —•— Acronyms —•—


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group