Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault with charcoal kiln and spawn item debug menu #79840

Open
HughKatzenbach opened this issue Feb 25, 2025 · 0 comments
Open

Segfault with charcoal kiln and spawn item debug menu #79840

HughKatzenbach opened this issue Feb 25, 2025 · 0 comments
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility

Comments

@HughKatzenbach
Copy link
Contributor

HughKatzenbach commented Feb 25, 2025

Describe the bug

When a charcoal kiln has >20,000 units of charcoal in it, opening the debug spawn item menu will first generate an error regarding the charcoal kiln, and then segfault once the error is dismissed.

Attach save file

Fork Union - SEGFAULT-trimmed.tar.gz

Steps to reproduce

  1. Place >20,000 charcoal in a charcoal kiln (finishing a full load or moving it manually both will work)
  2. Open debug item spawning interface: Debug -> spawning -> spawn an item
  3. Continue the game after the error message, segfault immediately occurs.

Expected behavior

Item spawning menu should appear after error is dismissed, and functional normally.

Screenshots

No response

Versions and configuration

  • OS: Windows
    • OS Version: 10.0.19045.5487 (22H2)
  • Game Version: cdda-experimental-2025-02-24-1642 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • 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],
    No Hope [no_hope],
    Alternative Map Key [alt_map_key],
    Bombastic Perks [bombastic_perks],
    Martial Mastery [perk_melee_system],
    sees-player icon, HitButton_iso [sees_player_hitbutton],
    sees-player, run, crouch, bleed icons, retrodays [sees_player_retro],
    SpeedyDex [speedydex],
    Stats Through Kills [stats_through_kills],
    Stats Through Skills [StatsThroughSkills]
    ]

Additional context

crash.log
debug.log

The error from the charcoal kiln is a separate issue, but is a reliable way to generate the segfault.

The item spawning menu will partially appear before the error occurs. Generating item descriptions might be what triggers causes the charcoal kiln error, and it's at that point that the item spawning menu is interrupted, fails to finish initializing, and puts the program in a state that then causes a segfault? Just a wild guess, don't have much familiarity with the code base.

@HughKatzenbach HughKatzenbach added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility
Projects
None yet
Development

No branches or pull requests

1 participant