CleverRaven / Cataclysm-DDA

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

Several segfaults when trying to spawn armor #78300

Open PGR-14 opened 1 day ago

PGR-14 commented 1 day ago

Describe the bug

Tried spawning an item, said "Undefined sub id" or something like that

Attach save file

N/A

Steps to reproduce

Try to spawn a piece of armor, two of them that have this is the Ballistic Collar & Bridget's skull helm.

Expected behavior

No segfault

Screenshots

No response

Versions and configuration

Additional context

crash.log debug.log

marilynias commented 1 day ago

I wouldnt recommend blindly enabling all the mods. in this case "Work in Progress Limb Stuff [limb_wip]" is very early in development and WILL break things. See #70703

It is reproducable though, so still good info for the modmaker.

  1. load into world with limbs mod or load attached save
  2. debug -> spawn item -> filter "ballistic collar"
  3. game crashes as soon as its trying to fetch item info (when the cursor is on it)

crash.log debug.log Pittsville-trimmed.tar.gz

Game report - OS: Linux - OS Version: Distributor ID: Ubuntu; Description: Ubuntu 22.04.5 LTS; Release: 22.04; Codename: jammy; - Game Version: cdda-experimental-2024-12-03-0525 eba9c9f [64-bit] - Graphics Version: Tiles - Game Language: English [en] - Mods loaded: [ Dark Days Ahead [dda], Disable NPC Needs [no_npc_food], Portal Storms Ignore NPCs [personal_portal_storms], Slowdown Fungal Growth [no_fungal_growth], Work in Progress Limb Stuff [limb_wip] ] <\details>