# Game crash from using advanced inventory management

**URL:** https://discourse.cataclysmdda.org/t/game-crash-from-using-advanced-inventory-management/25835
**Category:** The Garage
**Created:** [January 30, 2021, 8:52pm UTC](https://discourse.cataclysmdda.org/t/game-crash-from-using-advanced-inventory-management/25835 "2021-01-30T20:52:48Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![animzor](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/animzor/32/10776_2.png) [@animzor](https://discourse.cataclysmdda.org/u/animzor)
#### Post date: [January 30, 2021, 8:52pm UTC](https://discourse.cataclysmdda.org/t/game-crash-from-using-advanced-inventory-management/25835/1 "2021-01-30T20:52:48Z")

</div>

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:

 ![Screenshot 2021-01-30 at 21.46.24](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/1/13444203d60f28d770c9aaf8c0ed532b441185fb.png)

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
```

---

<div class="post-metadata">

### Author: ![GiggleGrassGatherer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/gigglegrassgatherer/32/7743_2.png) [@GiggleGrassGatherer](https://discourse.cataclysmdda.org/u/GiggleGrassGatherer)
#### Post date: [January 31, 2021, 4:06am UTC](https://discourse.cataclysmdda.org/t/game-crash-from-using-advanced-inventory-management/25835/2 "2021-01-31T04:06:37Z")

</div>

Make a bug report [here](https://github.com/CleverRaven/Cataclysm-DDA/issues).

---

<div class="post-metadata">

### Author: ![brettdong](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@brettdong](https://discourse.cataclysmdda.org/u/brettdong)
#### Post date: [January 31, 2021, 2:15pm UTC](https://discourse.cataclysmdda.org/t/game-crash-from-using-advanced-inventory-management/25835/3 "2021-01-31T14:15:09Z")

</div>

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

---

<div class="post-metadata">

### Author: ![animzor](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/animzor/32/10776_2.png) [@animzor](https://discourse.cataclysmdda.org/u/animzor)
#### Post date: [January 31, 2021, 7:09pm UTC](https://discourse.cataclysmdda.org/t/game-crash-from-using-advanced-inventory-management/25835/4 "2021-01-31T19:09:06Z")

</div>

Here you go:

> **[Rives.zip](https://drive.google.com/file/d/1P2XUhDuubv2d8V8csO2yMF5LYqnlKn6l/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

### Author: ![Paul\_Blay](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/paul_blay/32/6803_2.png) [@Paul\_Blay](https://discourse.cataclysmdda.org/u/Paul_Blay)
#### Post date: [January 31, 2021, 8:48pm UTC](https://discourse.cataclysmdda.org/t/game-crash-from-using-advanced-inventory-management/25835/5 "2021-01-31T20:48:14Z")

</div>

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]  
]

---

<div class="post-metadata">

### Author: ![animzor](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/animzor/32/10776_2.png) [@animzor](https://discourse.cataclysmdda.org/u/animzor)
#### Post date: [February 1, 2021, 6:23pm UTC](https://discourse.cataclysmdda.org/t/game-crash-from-using-advanced-inventory-management/25835/6 "2021-02-01T18:23:28Z")

</div>

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 😃

---

<div class="post-metadata">

### Author: ![Paul\_Blay](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/paul_blay/32/6803_2.png) [@Paul\_Blay](https://discourse.cataclysmdda.org/u/Paul_Blay)
#### Post date: [February 1, 2021, 6:41pm UTC](https://discourse.cataclysmdda.org/t/game-crash-from-using-advanced-inventory-management/25835/7 "2021-02-01T18:41:19Z")

</div>

Could be MacOS only crashes?

---

<div class="post-metadata">

### Author: ![animzor](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/animzor/32/10776_2.png) [@animzor](https://discourse.cataclysmdda.org/u/animzor)
#### Post date: [February 1, 2021, 7:44pm UTC](https://discourse.cataclysmdda.org/t/game-crash-from-using-advanced-inventory-management/25835/8 "2021-02-01T19:44:33Z")

</div>

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 😮 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 😃

---

<div class="post-metadata">

### Author: ![Paul\_Blay](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/paul_blay/32/6803_2.png) [@Paul\_Blay](https://discourse.cataclysmdda.org/u/Paul_Blay)
#### Post date: [February 1, 2021, 9:19pm UTC](https://discourse.cataclysmdda.org/t/game-crash-from-using-advanced-inventory-management/25835/9 "2021-02-01T21:19:25Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![zantanzuken](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zantanzuken/32/10325_2.png) [@zantanzuken](https://discourse.cataclysmdda.org/u/zantanzuken)
#### Post date: [February 3, 2021, 7:58am UTC](https://discourse.cataclysmdda.org/t/game-crash-from-using-advanced-inventory-management/25835/10 "2021-02-03T07:58:21Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![brettdong](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@brettdong](https://discourse.cataclysmdda.org/u/brettdong)
#### Post date: [February 3, 2021, 8:44pm UTC](https://discourse.cataclysmdda.org/t/game-crash-from-using-advanced-inventory-management/25835/11 "2021-02-03T20:44:17Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![personjerry](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/personjerry/32/11263_2.png) [@personjerry](https://discourse.cataclysmdda.org/u/personjerry)
#### Post date: [June 21, 2021, 9:04pm UTC](https://discourse.cataclysmdda.org/t/game-crash-from-using-advanced-inventory-management/25835/12 "2021-06-21T21:04:13Z")

</div>

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

---

<div class="post-metadata">

### Author: ![animzor](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/animzor/32/10776_2.png) [@animzor](https://discourse.cataclysmdda.org/u/animzor)
#### Post date: [June 22, 2021, 5:42am UTC](https://discourse.cataclysmdda.org/t/game-crash-from-using-advanced-inventory-management/25835/13 "2021-06-22T05:42:52Z")

</div>

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.
