The following annoying report has been generated for quite some time, but so far it has just been annoying.
DEBUG : tried to put an item (charcoal) count (137880) in a container (fake_char_smoker) that cannot contain it: pocket unacceptable because tried to put too many charges of ammo in item
FUNCTION : put_in
FILE : C:\Cataclysm-DDA\src\item.cpp
LINE : 1803
VERSION : 0.G-11687-g348453333a
I believe it's caused by the smoking racks. I've seen inconsistencies in how much charcoal they would accept, so there may be an issue with the code determining how much space remains. Also note that the save is a couple of months old.
However now it causes the game to crash when somehow brought up by the debug item spawn menu, presumably because it being subjected to ImGui conversion.
Edit:
Further info:
If I examine the first smoker I get the error report, and when that is out of the way, the debug spawning menu can be brought up and used successfully.
Thus, the issue is really about the inability of the changed UI system to handle error reports on top of it, rather than this particular trigger, which is easy to work around (but still a pain to get if you haven't saved in a while).
Describe the bug
The following annoying report has been generated for quite some time, but so far it has just been annoying.
DEBUG : tried to put an item (charcoal) count (137880) in a container (fake_char_smoker) that cannot contain it: pocket unacceptable because tried to put too many charges of ammo in item
FUNCTION : put_in FILE : C:\Cataclysm-DDA\src\item.cpp LINE : 1803 VERSION : 0.G-11687-g348453333a
I believe it's caused by the smoking racks. I've seen inconsistencies in how much charcoal they would accept, so there may be an issue with the code determining how much space remains. Also note that the save is a couple of months old.
However now it causes the game to crash when somehow brought up by the debug item spawn menu, presumably because it being subjected to ImGui conversion.
Attach save file
Hawaiian Ocean View-trimmed.tar.gz
Steps to reproduce
Expected behavior
If an error report is overlayed on the debug item spawn menu the game shouldn't crash when the report is dismissed.
Screenshots
No response
Versions and configuration
Additional context
Edit: Further info: If I examine the first smoker I get the error report, and when that is out of the way, the debug spawning menu can be brought up and used successfully. Thus, the issue is really about the inability of the changed UI system to handle error reports on top of it, rather than this particular trigger, which is easy to work around (but still a pain to get if you haven't saved in a while).