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

Crash while attaching modified forward grip #58638

Closed Ilurker closed 2 years ago

Ilurker commented 2 years ago

Describe the bug

When attaching a modified forward grip to the RM232, while the grip is wielded, a crash to desktop can be consistently triggered by selecting the option "store in inventory" went prompted to do so. The crash is not evident when attaching the grip while it is not being held.

This action is being undertaken with the following inventory items with available pockets:

No unusual circumstances, such as overfull pockets or modified storage items, exists.

Steps to reproduce

1) Hold the modified forward grip 2) Use the activate function to attach it to a pistol (perhaps other weapons as well) 3) The game will then attempt the wield the weapon being modified and query what to do with the wielded modified forward grip. When prompted, select the option to store the forward grip in the inventory. Do not use more specific options such as choosing to store the grip in a specific bag, holster, or pocket.

Expected behavior

The game should successfully store the item and proceed with the modification.

Screenshots

No response

Versions and configuration

Additional context

No response

hexagonrecursion commented 2 years ago

/confirmed Segmentation fault (core dumped)

unfortunately there was no config/debug.log or config/crash.log

Ilurker commented 2 years ago

Solved via #58915