CleverRaven / Cataclysm-DDA

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

Segmentation fault when examining an item #56437

Closed Faalagorn closed 2 years ago

Faalagorn commented 2 years ago

Describe the bug

It seems that when I try to wear an item and try to examine the M4A1, the game crashes with segmentation fault.

Steps to reproduce

  1. Load attached save file.
  2. Press W to wear item.
  3. Press e to examine item.
  4. Game crashes for me consistently.

Expected behavior

Game should not crash.

Screenshots

screenshot_2022-03-28-203123

Versions and configuration

Additional context

debug.log crash.log crash.zip

Faalagorn commented 2 years ago

Apparently it seems to crash consistently on that gun, no matter if I use inventory, advanced inventory or whatever. The same happens on English and no tiles.

Faalagorn commented 2 years ago

Just realized it's probably a case of #56405 :)

Faalagorn commented 2 years ago

Just compiled with #56405 and confirmed it fixed the issue!