CleverRaven / Cataclysm-DDA

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

imgGUI error when hovering over skulls involved in milling recipes in item spawn menu #77004

Open AudBobb opened 1 week ago

AudBobb commented 1 week ago

Describe the bug

When in the item spawn menu, and hovering over skulls that have a milling recipe, the game crashes throwing the following error

image image image

I discovered this when putting together changes involving these skulls, and it's so incredibly specific, that I was certain I had just formatted something wrong somewhere, so I reverted my changes, and kept getting the bug, so I just created an entirely new install of the game, and tried again, and the game still crashed when following the same steps, so I'm 99% sure this isn't related to my changes, although I suppose it could be if the game somehow is seeing my original install? I don't know this seems so incredibly, unbelievably coincidentally specific to what I was working on I have a hard time believing I didn't cause it somehow, except that it still is reproducible on a totally fresh install.

Attach save file

I would include a save, but I don't have one, as the crash is 100% reproducible within 10 seconds of creating a new character, and the save would literally just be me selecting "play now default scenario" on the main menu, saving, and uploading that. If you really want, I can do that but it just seems moot

Steps to reproduce

  1. Install the game
  2. Create a new character
  3. Open debug menu, and spawn item
  4. Search for "skull"
  5. Move selector over 'tiny canine skull', 'rabbit skull', 'racoon skull', or any skull that has a milling recipe.
  6. Watch the game crash

Expected behavior

The game doesn't crash

Screenshots

No response

Versions and configuration

Latest experimental, 2024-10-13-0040

Additional context

crash.log debug.log

I would include a save, but I don't have one, as the crash is 100% reproducible within 10 seconds of creating a new character, and the save would literally just be me selecting "play now default scenario" on the main menu, saving, and uploading that.

AudBobb commented 1 week ago

In the first screenshot, the selector is on the llama skull, which does not cause this crash, the crash happens as the selector moves to one of the suspect skulls, but before the screen draws the new frame. Just wanna mention that so no one tries to reproduce by selecting the llama skull.