Menu

#194 Game Suddenly Closes in Windows

v0.3
closed-fixed
nobody
None
7
2006-02-06
2005-12-24
Anonymous
No

Actually it's in v0.31; I've had problems with this
bug since v0.2 when I first found this project, and
it's gotten better, but the game still closes down
suddenly for no reason in Windows XP. It's driving me
nuttier now, I think, because I get further in the
game. I have yet to meet an AI, lol.

Thanks guys,
The Commentator

Discussion

  • Geoff Topping

    Geoff Topping - 2005-12-24

    Logged In: YES
    user_id=913462

    Is there an error message when this happens, either in-game
    or from Windows?

    Does the game just crash completely and disappear, or does
    the game you're currently playing end and you're booted back
    to the title/splash screen?

    Can you reproduce the crashes by reloading autosaves from
    recent turns? (make sure autosave is on in the options).

    Does the crash happen consistently after a certain number of
    turns, or perhaps after doing something in particular in the
    game (always after exploring a new system, researching /
    building something, getting enough RP or PP to start
    something new on their respective queues, colonizing,
    splitting a fleet / merging a fleet, building a new ship /
    fleet)?

    Does the crash happening suddenly during your turn, or while
    the server is processing a turn? If during your turn, is it
    spontaneous, or always after you click on something or open
    a particular screen?

     
  • The_Commentator

    The_Commentator - 2005-12-24

    Logged In: YES
    user_id=1412074

    Lol, I guess I should've been more specific.

    Okay:

    1. The game completely disappears--first the game itself,
    then the background DOS window.

    2. Do you mean "does it crash around the same turn after
    you load an autosave", then no. I've managed to get up to
    Turn 45 when the last crash occured and I have been
    relying on saves and autosaves to put me nearly back to
    where I started. Usually after which I can continue on for
    a time. Could it be time based? It MIGHT BE! It seems to
    be somewhat variable, but I'd say every 20 minutes or so.
    It happened a lot more frequently in v. 0.2 [shorter
    interval?].

    3. The crash does not result from any action [so far] that
    I've done. I haven't built any Mark ships yet, I'm
    sticking to colony and scout till I discover another
    empire.

    4. Usually happens right after it changes over to the next
    turn...it seems to be done, I'm just about to make my next
    fleet movement or check on a building status (haven't had
    time to click anything yet) and all of a sudden the game
    window disappears--leaving me with a condition known only
    as "Sudden Deprival of Strategy Game Syndrome" or SDSGS. :D

    --The_Commentator

     
  • Zach Laine

    Zach Laine - 2005-12-31
    • priority: 5 --> 1
     
  • Zach Laine

    Zach Laine - 2005-12-31

    Logged In: YES
    user_id=729903

    I really don't know what to say about this one. Without
    something more to go on, I don't see a way to fix this.
    Right now, all I basically have is "sometimes there are
    problems when I don't do anything."

     
  • liberal

    liberal - 2006-01-01

    Logged In: YES
    user_id=1417026

    the game hangs during "downloading state data".
    the reason you haven't met an AI might be that they're
    currently not doing anything at all. i've found two
    opponents so far which haven't even sent out their first
    scout. connection? or maybe ai isn't implemented yet? =p

    i'll be in touch.

    loading the autosaves makes it possible to continue
    gameplay, it doesn't seem to hang at a specific turn. the
    game closes with an "abnormal program termination" if i
    remember correctly.

     
  • Nobody/Anonymous

    Logged In: NO

    Yeah me too. And i set it to autosave every two turns and it
    doesn't happen! i think maybe its the AI who crash it,
    because i havent met one either!

     
  • Dennis Brakhane

    Dennis Brakhane - 2006-01-10

    Logged In: YES
    user_id=26932

    > i think maybe its the AI who crash it,
    > because i havent met one either!

    I think we can rule this one out, as there is no AI yet.

    @liberaladam: If the game hangs at "downloading state data",
    it must be after "AI" has already skipped its move.

     
  • Geoff Topping

    Geoff Topping - 2006-01-10

    Logged In: YES
    user_id=913462

    > And i set it to autosave every two turns and it
    > doesn't happen!

    You mean the autosaves aren't made?

    Are you sure you enabled autosaves? I believe this is a
    separate UI widget from setting the save frequency.

     
  • Nobody/Anonymous

    Logged In: NO

    I downloaded the game and installed it recently, and the
    same thing happens to me. The game plays for a while, then
    at some (seemingly) arbitrary turn, the game will close
    right after the new turn is generated. There is a dialog
    box that says "Abnormal Program Termination". I'm using
    Windows 2000, not Windows XP, but I don't think that makes
    much of a difference.

     
  • Dennis Brakhane

    Dennis Brakhane - 2006-01-11

    Logged In: YES
    user_id=26932

    Without a savegame that will result in this behaviour, there
    is not much we can do, I'm afraid.

    So, if anyone has a savegame and/or instructions what to do
    to get FO to crash, please report it

     
  • Geoff Topping

    Geoff Topping - 2006-01-12

    Logged In: YES
    user_id=913462

    It seems reasonable to assume at this point that this isn't
    a bug that can be replicated from a save game, so a request
    for one misses the point.

    What should happen, IMO, is that the next release ships with
    client AND server DEBUG logging enabled, so that if people
    get random crashes like this, there's some record of what
    was going on when a crash happens, so people have something
    to report for random crash bugs such as this.

    AFAIK, enabling server logging will require editing the
    server code to actually inhereit the config file logging
    level, or hard-coding the level DEBUG.

     
  • Zach Laine

    Zach Laine - 2006-01-13
    • priority: 1 --> 7
     
  • Zach Laine

    Zach Laine - 2006-01-13

    Logged In: YES
    user_id=729903

    Can someone who is experiencing this problem please do the
    following?

    Right after the game crashes, before you clear away the
    "Abnormal Program Termination" dialog, please hit
    Ctrl-Alt-Del, and look in the Processes tab of the Windows
    Task Manager for programs called freeorion, freeoriond, and
    freeorionca. These are the main app, the server, and the
    AIs, respectively. Let me know how many of each you see, if
    any.

     
  • Nobody/Anonymous

    Logged In: NO

    Done. Looking at the Task Manager, I saw one freeorion.exe
    running, one freeoriond.exe running, and four (4)
    freeorionca.exe's running. Also, I captured the error
    message this time. Here's the full text:

    "Microsoft Visual C++ Runtime Library [window title]

    Runtime Error!

    Program: C\Program Files\FreeOrion\freeorion.exe

    This application has requested the Runtime to terminate it
    in an unusual way. Please contact the application's
    support team for more information."

    Hope that helps.

     
  • Dennis Brakhane

    Dennis Brakhane - 2006-01-14

    Logged In: YES
    user_id=26932

    To me "Runtime Error" looks like a exception was thrown. My
    first guess would be boost.filesystem (it's very picky about
    filenames)

    Just my 2 cents.

     
  • Nobody/Anonymous

    Logged In: NO

    i also found out that when the game crashes, if you DON'T
    press "ok" in the runtime-error box, but simply tab back
    into the game, you can continue to play without getting
    bothered any more.

    not that i thought that one would help =p

     
  • Nobody/Anonymous

    Logged In: NO

    "This application has requested the Runtime to terminate it
    in an unusual way. Please contact the application's
    support team for more information."

    When I get that message it goes away after a half second or
    so.

    Anyways. After much testing I've identified several things
    that seem to make the game crash(at random) more often.

    3: Large universe

    2: Owning lots of Planets

    1: Putting lots of stuff in the queues(both research and
    production queues)

    Oddly spawning a universe with a large number of planets
    doesn't seem to have had any major effect on things.
    However a 500 star universe crashed much more often than a
    100 star universe. Having lots of planets certainly seems
    to have at least contributed as well. But the Main cause
    seems to be putting pages of stuff in the queues. I found
    that I can go 70+ turns with no crashes if I don't put much
    stuff in the queues, but as soon as I load up the queues
    the game starts to crash every few turns. The weird thing
    is that there seems to be no real pattern to the crashes...

    ----Marhawkman

     
  • Zach Laine

    Zach Laine - 2006-02-06
    • status: open --> closed-fixed
     
  • Zach Laine

    Zach Laine - 2006-02-06

    Logged In: YES
    user_id=729903

    This should be fixed in RC2.

     

Log in to post a comment.

MongoDB Logo MongoDB