View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0015694 | AI War 1 / Classic | Crash/Exception | Aug 21, 2014 7:15 pm | Aug 29, 2014 10:17 pm | |
Reporter | spot888 | Assigned To | keith.lamothe | ||
Status | resolved | Resolution | fixed | ||
Product Version | 8.001 | ||||
Summary | 0015694: Random crash when autosaving. | ||||
Description | Experiencing infrequent random crashes (once every few sessions) when autosaving, which I have set to every 5 minutes. Thankfully the save seems to be intact so I can just reload from it and continue so it's minor, just annoying. I included the autosave just in case it's useful. Never had issues with deliberate saving. | ||||
Tags | No tags attached. | ||||
Internal Weight | New | ||||
has duplicate | 0015703 | resolved | keith.lamothe | Repeated crashes in multiplayer |
|
|
|
Thanks for reporting this, sorry about the inconvenience. The stack trace in that particular log seems to indicate that it was in steamworks code at the time. Can you try running the game without the steam overlay (just run AIWar.exe from within its directory inside steam) and play for a while and see if that stops the crashes? If not, posting a crash log from the non-steam crash would help. Obviously we don't want it to crash either way, but if we can tell it's steam-specific that will greatly help identify the root cause. Which is currently pretty mysterious to me :) Btw, the logs seem to be giving odd info on a few things, so let me ask: 1) how much ram do you have? 2) how much ram is free after you've been playing for a while? 3) how much ram is the game using at that point? 4) how big is your pagefile (or do you just not have one)? |
|
Thanks for responding, I tried non-Steam for a session and had no issues with the autosave, but of course it didn't happen every time with Steam either. So I'll continue to try it without Steam over the next few days and see if anything happens. Heh yeah I see now that the log shows 0MB for all the memory stuff. I doubt memory is an issue though, I have 8GB system RAM which according to my usage monitor started at about 5700MB and was down to around 4900MB by the end of the session (about an hour). Task Manager reported at most ~900MB used by the process, roughly inline with that. Pagefile is 9GB. I should also mention that my C drive is a SSD. |
|
Yea, Chris and I both use SSDs for our C (boot) drives too. I don't think I could ever go back. Just built a new machine and used 2 256GB ssd's with no platter drive at all. All that to say that AIW works fine with SSD's in general. That said, have you been getting any intermittent failures with other programs? On my old computer the ssd was largely fine but would occasionally glitch out, causing a random crash here or there. Strangely enough things were basically fine (as opposed to the all-bets-are-off crash-fest I'd expect from iffy hardware). Anyway, if it's _just_ AIW that's probably not the thing. |
|
Valve just did release an update to the Steam client today. If there are any improvements, please do let us know. The code that is failing is pretty innocuous in terms of what ours (and Steamworks.NET does). It basically looks to see if any callbacks have triggered during the period that it has been since the last check was made, and if so then it runs them. I'm not seeing any other reports about this on the steam developers board, which is odd. The one thing that does happen during a savegame is that it tries to submit your high scores to Steam, if you have that enabled. That would be a checkbox on the game tab of settings -- if you have it checked to enable the leaderboards submissions and you're getting this sort of crash, disabling that should work. Keith, you may want to in general remove the call to LogGameResult on DoSaveGame just to be on the absolute safe side. That's the only thing that I can think of that is related to steamworks and saving the game, so that's probably what it is. |
|
We just pushed out a small 8.004 beta update that disables the thing we think is causing the problem, can you give that a try (running it from steam, so with the steam overlay) ? Thanks :) |
|
Ok, basically the solution is to uncheck "Submit High Scores To Steam" on the "Game" tab in the settings window. The leaderboard call works for some folks, but for others it crashes so hard our code can't even catch the exception. |
|
Sorry guys, I haven't had as much time to play as I thought I would. Only got one session in without Steam, but that wasn't enough to draw a conclcusion. Glad you still found a possible solution. I did have that Submit Scores setting enabled so I'll try turning it off for future games. Thanks! |
Date Modified | Username | Field | Change |
---|---|---|---|
Aug 21, 2014 7:15 pm | spot888 | New Issue | |
Aug 21, 2014 7:15 pm | spot888 | File Added: 2014-08-21_152224.rar | |
Aug 21, 2014 8:10 pm | keith.lamothe | Note Added: 0039029 | |
Aug 21, 2014 8:10 pm | keith.lamothe | Assigned To | => keith.lamothe |
Aug 21, 2014 8:10 pm | keith.lamothe | Status | new => feedback |
Aug 22, 2014 6:24 pm | spot888 | Note Added: 0039044 | |
Aug 22, 2014 6:24 pm | spot888 | Status | feedback => assigned |
Aug 22, 2014 8:29 pm | keith.lamothe | Note Added: 0039048 | |
Aug 29, 2014 1:55 pm | Chris_McElligottPark | Relationship added | has duplicate 0015703 |
Aug 29, 2014 2:05 pm | Chris_McElligottPark | Note Added: 0039140 | |
Aug 29, 2014 2:37 pm | keith.lamothe | Note Added: 0039142 | |
Aug 29, 2014 2:37 pm | keith.lamothe | Status | assigned => feedback |
Aug 29, 2014 3:07 pm | keith.lamothe | Internal Weight | => New |
Aug 29, 2014 3:07 pm | keith.lamothe | Note Added: 0039144 | |
Aug 29, 2014 3:07 pm | keith.lamothe | Status | feedback => resolved |
Aug 29, 2014 3:07 pm | keith.lamothe | Resolution | open => fixed |
Aug 29, 2014 10:17 pm | spot888 | Note Added: 0039147 |