KeenSoftwareHouse / SpaceEngineers

2.93k stars 896 forks source link

This ship always crashes the game after adding a few blocks - System.AccessViolationException: Attempted to read or write protected memory. #557

Closed aaronfranke closed 5 years ago

aaronfranke commented 7 years ago

Reddit thread: https://www.reddit.com/r/spaceengineers/comments/4yz0nv/space_engineers_cant_use_more_than_35_gb_of_ram/

KSH Forum thread: http://forum.keenswh.com/threads/this-ship-always-crashes-the-game-after-adding-a-few-blocks-system-accessviolationexception-attem.7386859/

World download: https://steamcommunity.com/sharedfiles/filedetails/?id=751915580

I'm running Windows 8.1 64-bit, and the Stable branch of Space Engineers. I have 16 GB RAM, an i5-6600k, and a GTX 770, but my hardware shouldn't matter since it happens for someone else too.

I've been trying to build this ship recently and I've run into a dead end: My game keeps crashing if I try to build any more! /u/byteme8bit on Reddit can confirm this, he's also tried the world and he also crashes, and he's also tried pasting the ship into a new world.

It obviously doesn't help that this ship is gigantic, with 1288 gyroscopes and almost 200k blocks in total, but even if the game lags, it should not crash. I have plenty of spare RAM and I still get a good sim speed and framerate so the only reason I see for why the game would crash is that this is a bug that needs fixing.

The error I get in the log is: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. . It's not a problem with my RAM though, I ran 5 passes of Memtest86+ with no errors, and someone else's computer crashes with this ship too.

Steps to reproduce the crash: Download and open world, build a few dozen or so blocks, and then the game crashes.

aaronfranke commented 5 years ago

I'm closing this issue because I no longer play SE and certainly don't play on that world anymore...