Game crash at random times (release 210 x64)

Ok so this is the 2nd of the two bugs I’m running into. I have read several other posts about crashes but I am not too sure if all of them are related.

The game crashes entirely, and Windows will show a message stating that Stonehearth has crashed and needs to close with no relevant error data (other than if and when a solution is found windows will update me). This is on the latest and greatest build (release 210 x64), so I am not surprised by the crash, other than it happens often enough that I need to save twice a day just in case, which can be annoying to have to reload. Sometimes loading a save it will let me play for 3 days(in-game) before the next crash, other times when loading a save it’s within 5 minutes of playing it crashes.

I cannot pinpoint what exactly is going on, but the crashes become more and more consistent with more activity in-game, usually after day 10, and after acquiring 15 hearthlings or more. My best guess is a memory leak that windows detects and force-closes the game.

I have not gone back to the stable build yet, but I will and test to see if the game crashes on the stable alpha builds.

I have this happen so often, I’ve made my own save screen to use when i have to rebuild my save game files haha.

4 Likes

I am getting a similar problem, with this being the last thing that happens in the logger. I was actually in the middle of saving when this last one happened. The goblins had already spawned, but their village was fully accessable from mine, and previously ive only gotten this error if they couldnt path to my village.

2015-Mar-15 10:01:59.404262 | client | 4 | horde.general | Invalid node handle in h3dSetNodeParamF
2015-Mar-15 10:01:59.547270 | client | 4 | horde.general | Invalid resource handle in h3dAddVoxelModelNode
2015-Mar-15 10:01:59.547270 | client | 4 | horde.general | Invalid node handle in h3dAddVoxelMeshNode
2015-Mar-15 10:01:59.547270 | client | 4 | horde.general | Invalid node handle in h3dSetNodeParamI
2015-Mar-15 10:01:59.547270 | client | 4 | horde.general | Invalid node handle in h3dSetNodeParamF
2015-Mar-15 10:01:59.547270 | client | 4 | horde.general | Invalid node handle in h3dSetNodeParamF
2015-Mar-15 10:01:59.547270 | client | 4 | horde.general | Invalid node handle in h3dSetNodeTransform
2015-Mar-15 10:01:59.549270 | client | 4 | horde.general | Invalid node handle in h3dGetNodeTransformFast
2015-Mar-15 10:01:59.549270 | client | 4 | horde.general | Invalid node handle in h3dSetNodeTransform
2015-Mar-15 10:02:07.741739 | server | 2 | jid:37741 find spawn point outside civ perimeter | exceeded max_steps(17300)! returning
2015-Mar-15 10:02:26.011784 | server | 1 | lua.code | generating traceback…
2015-Mar-15 10:02:26.012784 | server | 0 | lua.code | – Script Error (lua) Begin -------------------------------
2015-Mar-15 10:02:26.012784 | server | 0 | lua.code | No matching overload found, candidates:
2015-Mar-15 10:02:26.012784 | server | 0 | lua.code | luabind::object load_json(lua_State*,std::string const&)
2015-Mar-15 10:02:26.012784 | server | 0 | lua.code | stack traceback:
2015-Mar-15 10:02:26.013784 | server | 0 | lua.code | [C]: at 0x00a31a00
2015-Mar-15 10:02:26.013784 | server | 0 | lua.code | [C]: in function ‘load_json’
2015-Mar-15 10:02:26.013784 | server | 0 | lua.code | radiant/modules/resources.luac:8: in function ‘load_json’
2015-Mar-15 10:02:26.014784 | server | 0 | lua.code | …master/controllers/encounters/create_camp_encounter.luac:22: in function ‘_create_camp’
2015-Mar-15 10:02:26.014784 | server | 0 | lua.code | …master/controllers/encounters/create_camp_encounter.luac:45: in function ‘_finalize_camp_location’
2015-Mar-15 10:02:26.015784 | server | 0 | lua.code | …master/controllers/encounters/create_camp_encounter.luac:38: in function ‘success_cb’
2015-Mar-15 10:02:26.015784 | server | 0 | lua.code | …ver/spawn_region_finder/spawn_region_finder_service.luac:56: in function <…ver/spawn_region_finder/spawn_region_finder_service.luac:56>
2015-Mar-15 10:02:26.015784 | server | 0 | lua.code | – Lua Error End -------------------------------

2 Likes

I also get this often, I’m curious if the game itself sends the “crash report” when that happens without any action from us? if so then I’m sure they have their hands full, if not is there something we can do help figure out why it does this?

1 Like

As far as I know there is no crash report. I am scouring the windows logs. I haven’t thought about checking the logs for stonehearth, but I do suspect pathfinding issues. I have noticed that one or two of my hearthlings will be in the middle of pathfinding, then stop. Then the game crashes. Maybe the pathfinding can’t handle to many requests?

Just had It happen on my end also.
Info I could get from it, have no clue if this is of use -
Problem signature:
Problem Event Name: APPCRASH
Application Name: Stonehearth.exe
Application Version: 0.1.0.210
Application Timestamp: 55032512
Fault Module Name: Stonehearth.exe
Fault Module Version: 0.1.0.210
Fault Module Timestamp: 55032512
Exception Code: c0000005
Exception Offset: 0000000000e5d637
OS Version: 6.3.9600.2.0.0.256.48
Locale ID: 1033
Additional Information 1: b99f
Additional Information 2: b99f67de691d9f003004ba920121d107
Additional Information 3: 2f43
Additional Information 4: 2f43301ac2c359cf6ecd5ea993b7ec0b

Further system info -
Win8.1 pro 64bit 16gb Ram
Intel® Core™ i7-4930K CPU @ 3.40GHz
NVIDIA GeForce GTX 680 2048MB

Short Game Summary -

Just switch over to night in game, placing wooden picket fences. Have 12 population (which I just got my 12th that morning).

Only I did not get any log info.

1 Like

I get the same error. I’ve checked the log within the game folder and get somewhat similar errors that @LordGrimli gets, though not exactly the same. Last lines before a crash:

2015-Mar-15 01:33:07.326531 | client | 4 | horde.general | Invalid resource handle in h3dAddVoxelModelNode
2015-Mar-15 01:33:07.326531 | client | 4 | horde.general | Invalid node handle in h3dAddVoxelMeshNode
2015-Mar-15 01:33:07.326531 | client | 4 | horde.general | Invalid node handle in h3dSetNodeParamI
2015-Mar-15 01:33:07.327510 | client | 4 | horde.general | Invalid node handle in h3dSetNodeParamStr
2015-Mar-15 01:33:07.529870 | server | 1 | mod stonehearth.town_patrol | unable to release lease on object (679911 Stockpile No.1) by (681641 Erde the Extemporaneous)
2015-Mar-15 01:33:10.082384 | server | 1 | mod stonehearth.town_patrol | unable to release lease on object (680614 Stockpile No.2) by (681199 Govi Deathfist)
2015-Mar-15 01:33:13.576330 | server | 1 | mod stonehearth.town_patrol | unable to release lease on object (1307043 Farm plot) by (581359 Illowyn Lessel)
2015-Mar-15 01:33:15.494382 | server | 1 | mod stonehearth.town_patrol | unable to release lease on object (312256 Stockpile No.3) by (455428 Campton Nelvin)

System is:
Windows 8.1 pro 64bit 16GB RAM
Intel i7 3770 @3.40Ghz
Nvidia Geforce GTX 760 2048MB

If you have activated the option for sending data in the game settings, then the crash reporter automatically sends data to Radiant anytime there’s a crash. When you report here, sometimes they ask for your user id here, that’s in order to locate your specific crash report in their tool.

However, there are times when there’s no crash report sent, because the crash happened at an odd timing (for example, before the game even get to open).

Sometimes the crashes to desktop don’t even leave data in the windows event logs as you’ve noticed, so it’s difficult to track them. :pensive:

2 Likes

This is the only Stonehearth event in event manager, this one was at the time of my close to desktop, if things like this is needed be happy to send them in.

Log Name: Application
Source: Application Error
Date: 3/15/2015 9:29:31 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: Mabel-PC
Description:
Faulting application name: Stonehearth.exe, version: 0.1.0.210, time stamp: 0x55032512
Faulting module name: lua-5.1.5.jit.dll, version: 0.0.0.0, time stamp: 0x5501f213
Exception code: 0xc0000005
Fault offset: 0x0000000000032f65
Faulting process id: 0xabc
Faulting application start time: 0x01d05f2c365f86ea
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\x64\Stonehearth.exe
Faulting module path: C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\x64\lua-5.1.5.jit.dll
Report Id: 749033a3-cb30-11e4-b91e-7845c4fe56bc
Event Xml:



1000
2
100
0x80000000000000

14850
Application
xxxxx



Stonehearth.exe
0.1.0.210
55032512
lua-5.1.5.jit.dll
0.0.0.0
5501f213
c0000005
0000000000032f65
abc
01d05f2c365f86ea
C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\x64\Stonehearth.exe
C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\x64\lua-5.1.5.jit.dll
749033a3-cb30-11e4-b91e-7845c4fe56bc

1 Like

I gave you a like! It’s the only reward we can give you for trying to sort all this out :slight_smile: Try to have a good day!

3 Likes

I also had a random crash after almost 80 minutes’ worth of play. For some reason, within that time, I didn’t think to save once :stuck_out_tongue:

Happens at the end of the attached video.

I have not played since; here are my log files.
gfx.log (3.0 KB)
stonehearth.log

I understand you can also do a crash dump report type thing… let me go try that now. EDIT: I only found some information pointing me back here, and this unique ID (hope that’s safe to share here): 4eef13aa-c4cc-11e4-8225-902b3455f36d. Hope that suffices.

Oh, also my dxdiag: DxDiag 2015-03-15.txt (66.7 KB)

1 Like

I just narrowed my crash times down to two specific events.


and

Thanks for the sleuthing @KfrogCT. Why do you believe those events are responsible for the crash?

Well the game kept crashing to windows when certain events were executed so I began to take note of the times. I had this happen on multiple saves. For me it was building a custom building, mining a 24x24 section and Goblin Chief appearing and then dying automatically. So far the game I am playing seems to be running smoothly without attempting the first two actions. Hope this can help lead things in the right direction.

1 Like

With the new up dates & running off of steam (which does not down load the game to your computer so you can’t play off line if your internet was out or other reasons). my game crashes on the 3rd day every time before the daily log has a chance to pop-up. i was able to get to day 4 when i did my first down load on Monday the 16, but not any more. i was also able to play longer with my full down load from humble Alpha 8 last week some time. the game play was crap on alpha 8 compared to what it is on the 210x64 its so smooth and crisp and clean its looking good and running smooth just sad that it dies at day 3. :sob: i cant play it tell another up date comes out or if they update humble; its just not worth never getting any were. :weary:

oh and my saves don’t work, even if i save before i started having issues, my saves are all glitchy and are unplay able.

either if you download the humble bundle version or the steam version, you can play offline. The game will only update automatically if you play via Steam, which doesn’t mean you can’t go to the folder where your Steam games are stored in your computer and double click the .exe. (I always play the Steam version offline).

Apart from that, (just to confirm) are you saying that in the last version the game is going really smooth but you have crashes at the third day? How many settlers did you have by then? (I assume that you are not playing with incompatible saves).

Um seven peeps that’s what you start with right, i very rarely get new villagers after the new update because I crash to soon. Nope it really wont even let me save, let alone open and play a save.

Its sad because every bug I saw before Fridays update is gone. It didn’t crash this fast until after the Monday update.
No error windows, no chopy screen movements, no brain dead hearthlings, no ground disappearing, village alarm not turning off,

I was using the shortcut steam put on my desktop, i should have know that one was linked to them, i will make another short cut for times i don’t want to be online. thanks didn’t think about it that way.

1 Like

You’re never playing “online”. Running the game with the steam icon just loads Steam in the background, then then loads the game locally, you’re never playing it “from Steam”. All Steam does is allows you to Alt-Tab to talk to friends in Steam, and allows cloud saves for games that support it (Stonehearth doesn’t), so running it using the Steam icon or not wont make any difference to you, unless it’s the Steam client itself that is crashing your PC, which is unlikely.

1 Like

i did fing the program and made a shortcut, it works off line. and will us my steam short cut for up dates and when no one wants to watch an movie on the internet.

ok so crashed again right on the 3rd day. just had daily log, silly goblin hat guy just came for his blackmail; but i ignored him so his post was still up. then crash.

on the plus side i did load this game from a save i made last night right after i started the settlement. so i was able to save but still couldnt make it past day 3

i think that the computer thinks the game might be a virus?

This is what my computer had to say.

What is Data Execution Prevention?

Data Execution Prevention (DEP) is a security feature that can help prevent damage to your computer from viruses and other security threats. Harmful programs can try to attack Windows by attempting to run (also known as execute) code from system memory locations reserved for Windows and other authorized programs. These types of attacks can harm your programs and files.

DEP can help protect your computer by monitoring your programs to make sure that they use system memory safely. If DEP notices a program on your computer using memory incorrectly, it closes the program and notifies you.

See also
Data Execution Prevention: frequently asked questions
Change Data Execution Prevention settings