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

Crash loading save file #80112

Open
Jordan-Sun opened this issue Mar 10, 2025 · 1 comment
Open

Crash loading save file #80112

Jordan-Sun opened this issue Mar 10, 2025 · 1 comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility

Comments

@Jordan-Sun
Copy link

Describe the bug

Reproducible error while loading save file.

 DEBUG    : contents index greater than contents size

 FUNCTION : deserialize
 FILE     : D:\a\Cataclysm-DDA\Cataclysm-DDA\src\item_location.cpp
 LINE     : 854
 VERSION  : c26c229

Attach save file

Untrimmed save file because save file could not be loaded:
Midwest.zip

Steps to reproduce

Load the save file, the crash will always happen at the same step.

Expected behavior

I expected it not to crash.

Screenshots

No response

Versions and configuration

  • OS: Windows 10
  • Game version: c26c229
  • Graphics version: Tiles
  • Ingame language: English
  • Mods loaded: None

Additional context

Full debug log:
debug.log

@Jordan-Sun Jordan-Sun added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Mar 10, 2025
@Jordan-Sun
Copy link
Author

Main issue:

(continued from above) ERROR : D:\a\Cataclysm-DDA\Cataclysm-DDA\src\flexbuffer_json.cpp:341 [error_skipped_members] (json-error)
Json error: data/json/monsters/fish.json:1,018:17: <color_white><color_cyan>Invalid or misplaced field name "copy-from" in JSON data</color>

    "name": { "str_sp": "oversized crayfish" },

    "description": "A mutant crayfish the size of a dog, with a brown carapace, claws, and long antennae.",

<color_light_red>    "copy-from": "mon_giant_crayfish",
</color>
               <color_cyan>▲▲▲</color>
    "proportional": { "hp": 0.5, "speed": 1.1, "morale": 0.67, "melee_dice_sides": 0.67 },
    "volume": "30 L",
</color>

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