Game crash from using advanced inventory management

Hey, my game just crashed after trying to look at a particular tile in the advanced inventory management. I tried to see if it was a particular tile or item that caused the crash but it seemed to happen with different tiles and items. The stack trace says something about character traits so I tried creating a character with the same traits but could not recreate the crash. I then loaded the faulty character again and tried dropping all my items and walking far away to some random item and got the game to crash again. It only happens with advanced inventory management and doesn’t require me to have any particular item and it doesn’t require me to look at any particular item, however, it doesn’t happen when I look at empty tiles.

Here is a screenshot of my character:

Here is the log:

The program has crashed.
See the log file for a stack trace.
VERSION: 0.E-9024-g785f240-dirty
TYPE: Signal
MESSAGE: SIGSEGV: Segmentation fault
STACK TRACE:

0   cataclysm-tiles                     0x000000010bb0722a _Z21debug_write_backtraceRNSt3__113basic_ostreamIcNS_11char_traitsIcEEEE + 57
1   cataclysm-tiles                     0x000000010bae1ef8 _Z9log_crashPKcS0_ + 704
2   cataclysm-tiles                     0x000000010bae1b48 _Z14signal_handleri + 66
3   libsystem_platform.dylib            0x00007fff6647642d _sigtramp + 29
4   ???                                 0xaaaaaaaaaaaaaaaa 0x0 + 12297829382473034410
5   cataclysm-tiles                     0x000000010b859d81 _ZN23advanced_inventory_paneaSEOS_ + 243
6   cataclysm-tiles                     0x000000010b84951d _ZN18advanced_inventory10swap_panesEv + 319
7   cataclysm-tiles                     0x000000010b83c4a0 _ZN18advanced_inventory7displayEv + 678
8   cataclysm-tiles                     0x000000010b83c1c3 _Z19create_advanced_invv + 35
9   cataclysm-tiles                     0x000000010bd2a100 _ZN4game13handle_actionEv + 41298
10  cataclysm-tiles                     0x000000010bc632a1 _ZN4game7do_turnEv + 1849
11  cataclysm-tiles                     0x000000010c0529eb main + 4865
12  cataclysm-tiles                     0x000000010b79e1e4 start + 52
13  ???                                 0x0000000000000001 0x0 + 1

Attempting to repeat stack trace using debug symbols…
backtrace: Could not extract binary name from line
backtrace: Could not extract binary name from line
backtrace: Could not extract binary name from line
backtrace: Could not extract binary name from line
backtrace: Could not extract binary name from line
backtrace: Could not extract binary name from line
backtrace: Could not extract binary name from line
backtrace: Could not extract binary name from line
backtrace: Could not extract binary name from line
backtrace: Could not extract binary name from line
backtrace: Could not extract binary name from line
backtrace: Could not extract binary name from line
backtrace: Could not extract binary name from line
backtrace: Could not extract binary name from line

Make a bug report here.

Would appreciate it if you could provide the save that crashes.

Here you go:

I loaded the save and spent a minute or two wandering around hitting / and selecting random directions. Didn’t get it to crash. How often do crashes happen?

  • OS: Windows x64 8.1
  • Game Version: 0.E-9155-g1319073-dirty [64-bit]
  • Graphics Version: Tiles
  • Game Language: English [en]
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Bionic Professions [package_bionic_professions]
    ]

That’s odd. It only crashes when I use advanced inventory and it always crashes after i look around 10-15 times. Needless to say, I’ve stopped using advanced inventory for this character :smiley:

Could be MacOS only crashes?

I just found the problem I think. I noticed that no items were showing up in advanced inventory no matter where I looked, then I realised I had searched for a duffel bag, so I had the filter set to “duffel”. When I removed the filter it stopped crashing for some reason. I tried adding the filter and got a crash again. Then I tried some other filters and only some of them cause crashes :open_mouth: No idea what’s going on. Please try it out if you get the chance.

Tried it on another character and it crashed as well :smiley:

No crashes with the “duffel” filter for me. shrug

If you could get a consistent set of exact steps from loading the save to getting a crash that might help.

just a thought: whats your computer specs? it doesnt matter TOO much but it might give us some better idea of whats goin on, OS, graphics card, ram, etc.

I tried putting duffel and some other strings in the search filter but did not crash on my computer. Have you found a sequence of operations that can steadily cause a crash on your computer?

I got the same error, on Mac. Not the same save file. But I’m on M1, and I’m wondering if OP was on M1 as well. @animzor

I don’t have an M1 but I have 2 different MacBook pro (2017 and 2020) and I can trigger this crash on both of them. I’ve been thinking about debugging this myself but haven’t had the time.