CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.53k stars 4.16k forks source link

Segmentaiton fault crash when "r"eloading #40856

Closed Erozaxx closed 4 years ago

Erozaxx commented 4 years ago

Describe the bug

When I hit "r" button for reloading in my current save, the game crashes with the segmentation fault error. When I drop all my items and have only "Headlamp" in my inventory (and no batteries), the "r" action throws error, but do not crashes. At the moment I take anything to my hands, (e.g. sewing needle) and I hit "r" it crashes.

Steps To Reproduce

  1. Load my save
  2. Hit "r" to reload
  3. Game throws error and after ignoring it offer headlamp to reload
  4. Pickup anything reloadable (e.g. Sewing needle)
  5. Hit "r" for reload
  6. Game crashes instantly

Expected behavior

No crash, offer items for reload action

Screenshots

cddacrrash1

Versions and configuration

Additional context

I tried to hold Composite bow, Butan lighter, Sewing needle. All produced same crash.

Save and Logs

Indian Springs Village (Rural).zip logs.zip

Erozaxx commented 4 years ago

I was on build: Build #10693 - May 25, 2020 at 11:37:24 AM +0200 When I have now updated to new build (wanted to start another char without crash), I've loaded the save and all works without any issue. Even the "ignorable" error is away.

Closing issue, will reopen it if occurs again in newer version.