Crash when comparing items while abusing search filter #35809
Labels
<Crash / Freeze>
Fatal bug that results in hangs or crashes.
Inventory / AIM / Zones
Inventory, Advanced Inventory Management or Zones
Items / Item Actions / Item Qualities
Items and how they work and interact
(S3 - Duplicate)
Bug that is duplicate of another one
Describe the bug
This is a duplicate of #34046, but I couldn't figure out how to upload a save file in the comments. I'm hoping this provides some help for those trying to figure out the problem.
It seems that the crash happens when I compare items A and B, then unmark A, and try comparing items B and C. In what is likely related, if you try to compare items through searching, you will not compare what you are looking for. For example, search up one item, mark it, then search another item and mark that one. When you mark the second, it will compare the second item against something that appeared in the search list for the second item, rather than whatever you had selected first.
Steps To Reproduce
Steps to reproduce the behavior:
iiiii
to ignore the 5 json errors.I
to comparehood
and mark the hoodie (0
)la
and mark the headlamp (u
)esc
and searchhood
again, unmarking the hoodie (0
)la
again and mark the headlamp (u
)ja
and mark the bottle jack (1
)Expected behavior
The search window should at least not segfault, even if it is displaying the wrong items when double-searching for comparisons (though I suspect those issues are intertwined).
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
SpeedyDex [speedydex],
Classes and Scenarios Mod [more_classes_scenarios],
Stats Through Kills [stats_through_kills],
Stats Through Skills [StatsThroughSkills],
Prevent Zombie Revivication [no_reviving_zombies],
Simplified Nutrition [novitamins],
CGPersonal [cgpersonal],
Vehicle Additions Pack [blazemod],
Tanks and Other Vehicles [Tanks],
Folding Parts pack [deoxymod],
Roadheader and other mining vehicles [Heavy miners],
Disable Religious Texts [no_religious_Texts],
No Flaming Weapons [no_flaming_weapons],
No Antique Firearms [no_olg_guns],
DeadLeaves' Fictional Guns [FIC_Weapons],
Garden Pots [growable-pots],
Makeshift Items Mod [makeshift],
Medieval and Historic Classes and Shields [Medieval_Stuff],
More Survival Tools [More_Survival_Tools],
Hydroponics [hydroponics],
Mutant NPCs [mutant_npcs],
Mythical Martial Arts [MMA],
Mining Mod [Mining_Mod],
No Rail Stations [No_Rail_Stations],
[DP_MOD] Alternative Floor Tiles [DP_Old_Floor],
sees-player icon, -attitude [sees_player_less_attitude],
DinoMod [DinoMod],
No Ants [No_Anthills]
]
Additional context
item compare segfault.zip
The text was updated successfully, but these errors were encountered: