Data Execution Prevention with Remove Building


#1

Summary: Not sure if this is properly implemented yet, but SH freezes when I remove buildings… Currently trying to carve into a cliff

Steps to Reproduce:

  1. Draw floor on stone mountain level
  2. Let it be mined
  3. Remove building when the entire area has been mined

Expected results:
Area is mined, any blocks that have been placed are removed. Game does not crash!

Actual results:
Sometimes this works, other times the game freezes. Exits when I press Esc, I notice a Data Execution Prevention logo on my system tray. Clicking on it gives me the following info:

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.

Notes:

  • I get frustrated so I haven’t done much to pinpoint exactly what causes this. I think it has to do with blocks being placed and then removed, as it doesn’t seem to happen unless somebody brings wood to build the floor.
  • I know I can allow SH to run without DEP blocking it by making an exception. I’ll try that out later this week and update - I’m thinking it’ll work fine if I do. Just bringing this up to let you know that it DOES get blocked.

Version: b156

O/S: Vista


#2

Update:

So I tried disabling DEP for Stonehearth.exe, it isn’t letting me do so. By cancelling construction before any floor tiles were placed, I was able to tediously pound out this little gem. Unfortunately, my save corrupted:

So pretty… too bad :frowning:

Notes:
The problem IS linked to the removal of the final block of a building (or of the last tile of floor, at least)
Hope this helps.

With regards to corrupted saves, are they of any use to you, Team Radiant? Is there anywhere we can upload them?

Edit: Also, can anybody else confirm this bug?


Game Freezes while in-game loading