[1.0.2408] Repeated crashes, somewhat reproducible

Started by cloudbear, December 29, 2019, 04:46:30 PM

Previous topic - Next topic

cloudbear

Summary

When playing the game, I will often get repeated crashes to the desktop, with the message dialogue box informing me that the game crashed and to go to the crashdump location and send it to the developer.

The error log indicates an Access Violation reading from memory. No issues during memory tests, benchmarks, or other games.

I can reproduce some of the circumstances but some of the crashes don't have easily observable (and thus linkable) circumstances. One such circumstance is opening a trade window or a bill window, the crash coming several seconds later.


System and Version
Rimworld: 1.0.2408 (64-bit) Compiled Oct 1 2019 via Steam
OS: Windows 10 Enterprise 1909
CPU & GFX: i5 3570K, GeForce GTX 970


Circumstances
I've experienced reproducible crashes during the following circumstances:

  • trading with a visitor - often
  • editing bills - rare

When the crash happens while trading with a visitor, it can be several seconds after opening the window, sometimes over a minute later, while I'm mulling over the trade.  For this reason I'm not sure that summoning the trade window is related, but my save currently has a trader in the colony and I can trigger the issue reliably by trading with the visitor and spending some time in the trade window.

I've also experienced crashes that appear to be arbitrary, but it seems more likely that I'm just not aware of the circumstance triggering the crash.

The crashes occur both in my current game and in a new game.


What happened
Crash to desktop with the following dialog box:

Oops!
The game crashed.
The crash folder named "2019-12-29_205930" next to game executable.
It would be great if you'd send it to the developer of the game!


The error.log file indicates an Access Violation:

Unity Player [version: Unity 5.6.5f1_2cac56bf7bb6]

RimWorldWin64.exe caused an Access Violation (0xc0000005)
  in module RimWorldWin64.exe at 0033:527c4566.

Error occurred at 2019-12-29_211144.
C:\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64.exe, run by Adam.
63% memory in use.
16328 MB physical memory [5971 MB free].
25821 MB paging file [4302 MB free].
134217728 MB user address space [134212333 MB free].
Read from location ffffffff caused an access violation.


The location is most often 0xffffffff but sometimes changes and has been:

  • 0x00000008
  • 0x065e5098
  • 0x00000027
  • 0x00000010
  • 0x00000001
  • 0x00001218
  • 0x000006e0
  • 0xaaa6d4d8


Reproduction
I can reproduce the error in trade and bill windows by opening such windows.  Trade windows reproduce the error reliably, but delayed for several seconds or even over a minute.  Bill windows reproduce the error less reliably, but within a few seconds of opening the window.

I cannot deliberately reproduce the apparently arbitrary crashes, except to say that I'm extremely unlikely to get more than 20 minutes gameplay in before the crash occurs.


Attempted resolutions
So far I have tried:

  • Verifying the game's files in Steam
  • Reinstalling the game via Steam and deleting the AppData/LocalLow contents
  • Upgrading Windows from 1903 to 1909
  • Updating graphics card drivers
  • Beseeching the Machine Spirit


Savegame file
Here: https://ln2.sync.com/dl/a0c3930f0/cztu8f49-53d99a63-d2fa82e3-9uf3qbdi


Crash dumps
Most recent one: https://ln2.sync.com/dl/a53e6d300/zg34p3vv-vzjvucmn-9whip8b7-9d5k7jqc
All: https://ln2.sync.com/dl/abdcd4e00/8kn3fkvk-9s5n36tc-2m9c5zjc-kk4vkd2d



Consolidation of information in replies




Quote from: cloudbear on December 29, 2019, 05:47:58 PM
Quote from: Canute on December 29, 2019, 05:28:16 PM
Hi,
at last i can tell you it has nothing to do with your mashine or your Rimworld installation.
I get the same error's with your safegame.
And since you don't use any mods, this is very unusual.

I think a Dev need to take a look into your safegame and why these error's happen. Because these error's lead to the crash soon or later.

I suggest to start a new colony at first.

Thanks for having a look.  I get the same problem with a new colony.

Regarding mods, I began this colony to check out RJW, but it turned out to really not be my cup of tea, so I removed it.  I had the problem both while RJW was active and after it was removed, and new colonies started since removing the mod have the same problem.




Quote from: cloudbear on December 30, 2019, 05:52:07 AM
Quote from: Canute on December 30, 2019, 02:56:06 AM
Just try out one last thing.
Delete the complete rimworld installation folder in your case it should be
C:\Program Files (x86)\Steam\steamapps\common\RimWorld
I don't trust the steam verify process.
Then let steam repair/reinstall Rimworld.

Okay, done that.  I'll see how I get on later.
Quote from: cloudbear on December 30, 2019, 04:37:34 PM
No improvement from having deleted the RimWorld folder and let Steam rebuild it. Crashed less than a minute after load, in general play.

cloudbear

Two more crashes, attached to the post (turns out Sync only allows three linked files):

2019-12-29_221240.zip - Crash while talking to a trader.
2019-12-29_221610.zip - Crash while scrolling up and down the Wildlife list.

I think a common theme is establishing itself: the crashes seem occur when a list is being scrolled.

Canute

Hi,
at last i can tell you it has nothing to do with your mashine or your Rimworld installation.
I get the same error's with your safegame.
And since you don't use any mods, this is very unusual.

I think a Dev need to take a look into your safegame and why these error's happen. Because these error's lead to the crash soon or later.

I suggest to start a new colony at first.

cloudbear

Quote from: Canute on December 29, 2019, 05:28:16 PM
Hi,
at last i can tell you it has nothing to do with your mashine or your Rimworld installation.
I get the same error's with your safegame.
And since you don't use any mods, this is very unusual.

I think a Dev need to take a look into your safegame and why these error's happen. Because these error's lead to the crash soon or later.

I suggest to start a new colony at first.

Thanks for having a look.  I get the same problem with a new colony.

Regarding mods, I began this colony to check out RJW, but it turned out to really not be my cup of tea, so I removed it.  I had the problem both while RJW was active and after it was removed, and new colonies started since removing the mod have the same problem.

cloudbear

Attached:
2019-12-29_222720.zip - Crash while simply panning around my base.

I have edge-scrolling disabled and I pan by clicking and dragging with the middle mouse button.

cloudbear

Attached:
2019-12-29_231412.zip - Crash while running in background.

I loaded the game and left it running in the background for around 30~40 minutes.  Came back and I couldn't get it to crash at all.  Tabbed out again and left it running and it crashed about 10 minutes later for a total of 50 minutes after having been started.

cloudbear

Attached:
2019-12-30_002942.zip - Loaded, clicked a helper entry in the top-right, immediate crash.

cloudbear

Attached:
2019-12-30_003620.zip - Crash while clicking to confirm new research choice.

I had left this one in the background for a little less than an hour, paused, to see if it would crash even while nothing was going on. I played with the UI to see if I could generate a crash, but nothing happened.  I started playing and was able to play for almost an hour without any of the previous suspects crashing the game (no trader to test with though).  Then my research completed and I selected Medicine Production and the game crashed when I clicked to confirm the new research choice.

Canute

Just try out one last thing.
Delete the complete rimworld installation folder in your case it should be
C:\Program Files (x86)\Steam\steamapps\common\RimWorld
I don't trust the steam verify process.
Then let steam repair/reinstall Rimworld.

You can enable the developer mode at the options. So you should have access to the log window ingame (Icon top left).
When some red lines appear (errors) something is wrong.

cloudbear

#9
Quote from: Canute on December 30, 2019, 02:56:06 AM
Just try out one last thing.
Delete the complete rimworld installation folder in your case it should be
C:\Program Files (x86)\Steam\steamapps\common\RimWorld
I don't trust the steam verify process.
Then let steam repair/reinstall Rimworld.

Okay, done that.  I'll see how I get on later.

QuoteYou can enable the developer mode at the options. So you should have access to the log window ingame (Icon top left).
When some red lines appear (errors) something is wrong.

Had a quick check and got the following errors, which appear to be about pawn job selection/prioritisation.





cloudbear

#10
Oh damn let me trim those down a sec =/

cloudbear

Those error messages in red don't appear when I load the colony I made to test whether I get crashes in a fresh colony, so they might be related to me having removed that mod and unrelated to the crashes.

Canute

Quote from: cloudbear on December 30, 2019, 06:01:57 AM
Those error messages in red don't appear when I load the colony I made to test whether I get crashes in a fresh colony, so they might be related to me having removed that mod and unrelated to the crashes.
Should an important information you just post now ?
Removing mod's from a safegame are a bad idea.
Only a few mod's can be removed safty. That explain all the relation error's you got all the time.

And you didn't needed to post these error's as screenshots, they are all documented at the output_log.txt you posted allready (inside the crash zip's).

cloudbear

#13
Quote from: Canute on December 30, 2019, 06:21:37 AM
Quote from: cloudbear on December 30, 2019, 06:01:57 AM
Those error messages in red don't appear when I load the colony I made to test whether I get crashes in a fresh colony, so they might be related to me having removed that mod and unrelated to the crashes.
Should an important information you just post now ?
Removing mod's from a safegame are a bad idea.
Only a few mod's can be removed safty. That explain all the relation error's you got all the time.

I mentioned it much earlier, in reply to your first post.  I have also said that the same crashes occur in fresh colonies, which don't have the relation errors, so the relation errors are not causing the crashes.

Quote from: Canute on December 30, 2019, 06:21:37 AMAnd you didn't needed to post these error's as screenshots, they are all documented at the output_log.txt you posted allready (inside the crash zip's).

Great.

cloudbear

No improvement from having deleted the RimWorld folder and let Steam rebuild it. Crashed less than a minute after load, in general play.

Attached:
2019-12-30_213248.zip - Crash in general, not sure what I did immediately before it crashed.