#351 crash because of std::out_of_range exception

closed-fixed
nobody
None
8
2008-04-14
2008-03-27
Jon Daniel
No

I compiled current SVN trunk on amd64 using gcc-4.1.2.
After sometime of playing singleplayer it sporadicly crashed with the following error log:
IL call "ilLoadImage("/usr/local/share/freeorion/default/data/art")" failed with IL error "file read error" (code 1298)
IL call "ilLoadImage("/usr/local/share/freeorion/default/data/art")" failed with IL error "file read error" (code 1298)
IL call "ilLoadImage("/usr/local/share/freeorion/default/data/art")" failed with IL error "file read error" (code 1298)
1206617854 DEBUG : Adding ship designs
1206617854 DEBUG : Adding Orbitals
1206617854 DEBUG : Selecting Row
1206617854 DEBUG : Done
1206617859 DEBUG : WaitingForTurnEnd.TurnOrders : Received orders from player 0
1206617859 DEBUG : WaitingForTurnEnd.TurnOrders : All orders received. Processing turn....
HumanClientApp::HandleMessage(TURN_PROGRESS)
HumanClientApp::HandleMessage(TURN_PROGRESS)
HumanClientApp::HandleMessage(TURN_PROGRESS)
HumanClientApp::HandleMessage(TURN_PROGRESS)
HumanClientApp::HandleMessage(TURN_PROGRESS)
HumanClientApp::HandleMessage(TURN_PROGRESS)
HumanClientApp::HandleMessage(TURN_PROGRESS)
HumanClientApp::HandleMessage(TURN_PROGRESS)
HumanClientApp::HandleMessage(TURN_PROGRESS)
terminate called after throwing an instance of 'std::out_of_range'
what(): SystemGraphIndex cannot be found due to invalid system ID
1206617860 ERROR : ClientNetworking::NetworkingThread() : Networking thread will be terminated due to disconnect exception "End of file"

Discussion

  • Jon Daniel

    Jon Daniel - 2008-03-27
    • summary: crash de to std::out_of_range exception --> crash because of std::out_of_range exception
     
  • Jon Daniel

    Jon Daniel - 2008-03-27

    Logged In: YES
    user_id=2045430
    Originator: YES

    Added a save game which allows you reproduce the error just load and press end turn.

     
  • Jon Daniel

    Jon Daniel - 2008-03-27

    Logged In: YES
    user_id=2045430
    Originator: YES

    Added a save game which allows you reproduce the error just load and press end turn.
    File Added: save2.sav.gz

     
  • Jon Daniel

    Jon Daniel - 2008-03-27

    save game just before crash

     
  • Flatline

    Flatline - 2008-03-27

    Logged In: YES
    user_id=1999275
    Originator: NO

    Bug confirmed, happens also in Ubuntu 7.10 with an intel centrino duo.

     
  • Zach Laine

    Zach Laine - 2008-03-31

    Logged In: YES
    user_id=729903
    Originator: NO

    I've made a change in Subversion that I think will fix this problem. However, I'm not entirely sure it has, because the data in the savefile you attached were already in a broken state. I would really need to play the game from the start to the point of the save in order to test it. I leave that to you (I've at least verified that if I fix the bad data in the save file, it doesn't get reintroduced). I've marked this bug as fixed, but I've marked is as pending instead of closed. If you can reproduce the problem again after a rebuild with the latest code, I'll reinvestigate.

     
  • Zach Laine

    Zach Laine - 2008-03-31
    • status: open --> pending
     
  • Zach Laine

    Zach Laine - 2008-03-31
    • priority: 5 --> 8
    • status: pending --> pending-fixed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks