CleverRaven / Cataclysm-DDA

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

Crash upon attempting to unload 3L jar full of other loaded containers. Experimental build 2023-02-08-0648. #63490

Open Grotato opened 1 year ago

Grotato commented 1 year ago

Describe the bug

My game consistently crashes whenever I attempt to unload a 3L jar filled with three plastic bottles, two medium cans, and a belt, all of which also have items within them.

Attach save file

save.zip

Steps to reproduce

  1. Load the save.

  2. Press "U" and attempt to unload the 3L jar in the inventory.

  3. Game crashes.

Expected behavior

I expected the game to not crash when I try to to unload the jar.

Screenshots

No response

Versions and configuration

Experimental build 2023-02-08-0648

Additional context

No response

andrei8l commented 1 year ago

/confirmed item::best_pocket() loop

katemonster33 commented 1 year ago

64687 is a possible fix for this issue, but I get errors upon loading your save. If I skip the errors, I can unload the container without issue, whether my fix is applied or not.

martosss commented 1 year ago

This issue is a bit old, but I think my case is similar. I got a crash on 0.G, the latest stable release, on windows.

Here's my situation and the crash:

P.S. Oh, just for science I tried repeating the same thing... here's what happens... I get a prompt "do you want to drop your full big box of stuff A on the ground?

Maybe that's irrelevant, but... I also happen to stand on a window, so stuff has to get spilled on an adjacent tile ... maybe that's the last straw that trips the game?

Moral of the story - think outside the box!