From: SourceForge.net <no...@so...> - 2008-07-21 15:32:25
|
Bugs item #2017531, was opened at 2008-07-13 23:39 Message generated for change (Comment added) made by thesilentone You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=544942&aid=2017531&group_id=75752 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Marek (maaack) Assigned to: Nobody/Anonymous (nobody) Summary: Seg Fault in Ubuntu 8.04 on New Game Initial Comment: I tried installing rev2607_i386 on my laptop from the link provided by this forum post http://www.freeorion.org/forum/viewtopic.php?f=9&t=1792 After running setup.sh and installing the game, I tried starting a new game and the game would crash. This was the output from the terminal and I'm attaching freeorion.log $ ./freeorion Following into my basedir CWD: (my home folder)/freeorion/application HumanClientApp::HandleMessage(HOST_SP_GAME) HumanClientApp::HandleMessage(GAME_START) HumanClientApp::HandleSaveGameDataRequest(SAVE_GAME) Received save game data from player Happy_Player ... 0 orders received Received save game data from player AI_3 ... 0 orders received Received save game data from player AI_4 ... 0 orders received Received save game data from player AI_2 ... 0 orders received Received save game data from player AI_1 ... 0 orders received Segmentation fault The last snippet from freeoriond.log is: 2008-07-13 14:24:42,170 DEBUG Server : ServerFSM::HandleNonLobbyDisconnection : Host player disconnected; server terminating. 2008-07-13 14:24:42,170 FATAL Server : Initiating Exit (code 1 - error termination) Hope this is of some help. ---------------------------------------------------------------------- Comment By: TheSilentOne (thesilentone) Date: 2008-07-21 17:32 Message: Logged In: YES user_id=1445378 Originator: NO They move their ships as before. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-07-21 12:29 Message: Logged In: NO The link should be active again. Please test if the AI players are correctly doing anything. They should be moving their ships. A good test scenario is 15 planets and 4 AI players. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-07-21 02:09 Message: Logged In: NO Works for me now, too. ---------------------------------------------------------------------- Comment By: Marek (maaack) Date: 2008-07-17 00:00 Message: Logged In: YES user_id=2038897 Originator: YES > You can download a current version from my webspace (it will be available > in some minutes): > http://psitronic.de/div/FO/freeorion_rev2642_i386_static.tar.gz Link appears dead... ---------------------------------------------------------------------- Comment By: TheSilentOne (thesilentone) Date: 2008-07-16 17:05 Message: Logged In: YES user_id=1445378 Originator: NO fixed. nice job! ---------------------------------------------------------------------- Comment By: Markus Sinner (kroddn) Date: 2008-07-16 15:12 Message: Logged In: YES user_id=853243 Originator: NO Next time, please zip or gzip those file - 6MB on rapidshare lasted very long to download ;-) As I said I could reproduce the problem on my Ubuntu 8.04 too. The problem is, that the code wants to load libgvplugin_dot_layout.so, and that indeed DOES exist on every ubuntu 8.04. I linked to graphviz 2.18, but on ubuntu only 2.16 is installed - and thats the problem. The modules are not compatible. Your trace sais: 6587 open("/usr/lib/graphviz/libgvplugin_dot_layout.so.5", O_RDONLY) = 17 and some lines later 6587 --- SIGSEGV (Segmentation fault) @ 0 (0) --- I think this is exactly the problem I mentioned above. I now (again) made some changes to my version of graphviz and forced it to compile without loadable module support. I linked in those dot layout, and hope in future it will work. You can download a current version from my webspace (it will be available in some minutes): http://psitronic.de/div/FO/freeorion_rev2642_i386_static.tar.gz I could be that other problems arise - as I used gcc 4.3, boost 1.35 and some hacks to better support python2.5 Please test :-) ---------------------------------------------------------------------- Comment By: TheSilentOne (thesilentone) Date: 2008-07-15 22:17 Message: Logged In: YES user_id=1445378 Originator: NO RE: > Please do the following: > cd $HOME/freeorion/application > strace -o /tmp/trace -f ./freeorion I did this, the output is here: http://rapidshare.com/files/129968460/trace.html (6mb) ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-07-15 18:28 Message: Logged In: NO Damn. On my Ubuntu 8.04, it is not working too. I'll find out what the problem is. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-07-15 18:25 Message: Logged In: NO rev2607_i386 was not compiled using boost 1.35 - so that is not the point. Please do the following: cd $HOME/freeorion/application strace -o /tmp/trace -f ./freeorion Then, after the crash, send or upload the file /tmp/trace. Maybe I can see what causes that crash. In the past, there indeed was a problem when graphviz was not installed. The binary tried to load a module called libgvplugin_dot_layout.so, which was not existing on systems not having gv installed, of course. I thought I had fixed this problem, but maybe it has returned? ---------------------------------------------------------------------- Comment By: TheSilentOne (thesilentone) Date: 2008-07-15 18:12 Message: Logged In: YES user_id=1445378 Originator: NO I have exactly the same problem. This error has started to occur for me approximately since the project uses boost 1.35. (Before that, there were no errors of any kind.) Could there be a connection? Freeorion.log also stops at tech tree doing graph layout. ( OpenGL renderer string: ATI MOBILITY RADEON X600 OpenGL version string: 2.1.7412 Release ) ---------------------------------------------------------------------- Comment By: Marek (maaack) Date: 2008-07-14 08:50 Message: Logged In: YES user_id=2038897 Originator: YES I indeed do have a 64-bit system, but that is not what I am trying to run the game on currently. It crashed much sooner on the 64-bit system, though I'm fairly used to that by now. If you have any further suggestions on what I could try, please let me know. ---------------------------------------------------------------------- Comment By: Geoff Topping (geoffthemedio) Date: 2008-07-14 08:09 Message: Logged In: YES user_id=913462 Originator: NO Looking at freeorion.log, the crash seems to happen in TechTreeWnd::LayoutPanel::Layout() after Logger().debugStream() << "Tech Tree Layout Doing Graph Layout"; but before Logger().debugStream() << "Tech Tree Layout Creating Panels"; The only call of significance in that time looks to be a call to graphviz: <gvLayout(gvc, graph, "dot"); So your issue might not actually be OpenGL-related, assuming the log file can be trusted. Do you have a 64-bit system? There might be an issue, as kroddn discussed here: http://www.freeorion.org/forum/viewtopic.php?p=32159#p32159 ---------------------------------------------------------------------- Comment By: Marek (maaack) Date: 2008-07-14 06:35 Message: Logged In: YES user_id=2038897 Originator: YES I turned off all options in the UI tab (galaxy map gas rendering, optimized system rendering, auto-select first fleet, multi-fleet windows, quick close windows) as well as tried a combination of the options off and I still got a seg fault. I checked the Video tab but the few options there didn't seem to affect the outcome either. ---------------------------------------------------------------------- Comment By: Markus Sinner (kroddn) Date: 2008-07-14 03:04 Message: Logged In: YES user_id=853243 Originator: NO 1.4 does not allow some functions. Deactivate "Galaxy map rendering" and another option which name I don't know at the moment in the UI tab of game options. Please report if it works then. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-07-14 01:40 Message: Logged In: NO Touch. Output was: direct rendering: Yes server glx vendor string: NVIDIA Corporation server glx version string: 1.4 There's my problem... though an exception message would have been nice stating that as the reason for crashing. ---------------------------------------------------------------------- Comment By: Geoff Topping (geoffthemedio) Date: 2008-07-14 00:43 Message: Logged In: YES user_id=913462 Originator: NO Please post the output of glxinfo. Note that FreeOrion requires OpenGL 1.5. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=544942&aid=2017531&group_id=75752 |