I also posted this in reddit, but didn’t get a response, figured I’d try here too.
Hey everyone. I just updated to 9217 recently, and now I’m getting a fatal crash when trying to search inventory in one of my cargo holds in my vehicle. It happens when I open advanced inventory management screen. The version I was on last week had some warnings about invalid ammunition and I could just ignore them, but now it’s a fatal crash.
Doing a bit more debugging I found it only happens when I use the advanced inventory “/“. It gives me a lot of errors whenever I’m in my vehicle. It seems to only do it in my vehicle, and sometimes I get a slightly different error depending on which cargo spaces are next to me. Maybe something that is loaded, like a repair kit, etc.? Normal "g"et command seems to work fine on all the adjacent squares.
Here’s the debug.log:
18:06:10.404 : Starting log.
18:06:10.404 INFO : Cataclysm DDA version 0.D-4929-gdd1dfac
18:06:10.483 INFO : Number of render drivers on your system: 4
18:06:10.483 INFO : Render driver: 0/direct3d
18:06:10.483 INFO : Render driver: 1/direct3d11
18:06:10.483 INFO : Render driver: 2/opengl
18:06:10.483 INFO : Render driver: 3/software
18:06:10.488 INFO : Language is set to: ‘en’
18:06:11.182 INFO : SDL version used during compile is 2.0.5
18:06:11.182 INFO : SDL version used during linking and in runtime is 2.0.5
18:06:11.306 INFO : Active renderer: 0/direct3d
18:06:11.670 INFO : USE_COLOR_MODULATED_TEXTURES is set to 0
18:06:11.992 WARNING : opendir [./mods/] failed with “No such file or directory”.
18:06:18.176 WARNING : opendir [./save/Bargersville/mods] failed with “No such file or directory”.
…
deleting due to website thinking I’m mentioning other users
…
(RtlUserThreadStart+0x21@0x7ff9aa721461[ntdll.dll+0x71461]),
Backtrace emission took 0 seconds.
src/ammo.cpp:48 [const T& string_id::obj() const [with T = ammunition_type]] Tried to get invalid ammunition:
18:06:44.936 ERROR : src/ammo.cpp:48 [const T& string_id::obj() const [with T = ammunition_type]] Tried to get invalid ammunition:
18:06:45.921 ERROR : src/ammo.cpp:48 [const T& string_id::obj() const [with T = ammunition_type]] Tried to get invalid ammunition:
18:06:46.297 ERROR : src/ammo.cpp:48 [const T& string_id::obj() const [with T = ammunition_type]] Tried to get invalid ammunition:
18:06:46.584 ERROR : src/ammo.cpp:48 [const T& string_id::obj() const [with T = ammunition_type]] Tried to get invalid ammunition:
18:06:46.896 ERROR : src/ammo.cpp:48 [const T& string_id::obj() const [with T = ammunition_type]] Tried to get invalid ammunition:
18:06:47.208 ERROR : src/ammo.cpp:48 [const T& string_id::obj() const [with T = ammunition_type]] Tried to get invalid ammunition:
18:06:47.488 ERROR : src/ammo.cpp:48 [const T& string_id::obj() const [with T = ammunition_type]] Tried to get invalid ammunition:
18:06:47.752 ERROR : src/ammo.cpp:48 [const T& string_id::obj() const [with T = ammunition_type]] Tried to get invalid ammunition:
18:06:48.024 ERROR : src/ammo.cpp:48 [const T& string_id::obj() const [with T = ammunition_type]] Tried to get invalid ammunition:
18:06:48.288 ERROR : src/ammo.cpp:48 [const T& string_id::obj() const [with T = ammunition_type]] Tried to get invalid ammunition:
18:06:48.550 ERROR : src/ammo.cpp:48 [const T& string_id::obj() const [with T = ammunition_type]] Tried to get invalid ammunition: