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

json errors + spikes in memory usage by addr2line + json errors keep appearing even after pressing i to ignore them #70921

Closed
Quintovir opened this issue Jan 14, 2024 · 1 comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility stale Closed for lack of activity, but still valid.

Comments

@Quintovir
Copy link

Quintovir commented Jan 14, 2024

Describe the bug

After I load or start a game and the Dark Days Ahead game files are being loaded, it takes about 23 seconds (very slow load times compared to what I'm used to seeing) for the first json error to appear and they are originating from:
data/json/furniture_and_terrain/appliances.json
and
data/json/vehicleparts/

I can't remember if pressing i "to also ignore this particular message in the future." is supposed to persist after exiting to desktop and starting the game again or just for a single game session.
Currently I keep having to press i every time I start the game.

I noticed that during the Loading Files screen until I'm in the game world, my System Monitor shows that among the processes related to the keyword "cataclysm", addr2line briefly appears and uses between 2.5 to 4GB of memory, sh also appears but it uses small amounts of memory.
While in the game world cataclysm-tiles takes slightly less than 1.2GB of memory.
Momentary freezes in along with addr2line memory spikes also happen at times while playing and almost every time when I open the map.

Attach save file

Westernport-trimmed.tar.gz

Steps to reproduce

  1. Start CDDA
  2. Load an existing game or create a new game
  3. Reach the "Loading files" screen and Dark Days Ahead is being loaded
  4. addr2line memory spikes happen.
  5. Wait for about 23 seconds for the json-errors to show
  6. Play the game and experience occasional momentary freezes with addr2line memory spikes.
  7. Open the map and almost always experience momentary freezes with addr2line memory spikes.

Expected behavior

Ideally the json errors shouldn't happen, but if they do happen and I choose to ignore them by pressing i, they should not show up again after starting the game again.
The addr2line 2.5 to 4GB memory spikes during the "Loading files" screen and during the occasional momentary freezes while playing and opening the map should not happen.

Screenshots

No response

Versions and configuration

  • OS: Linux
    • OS Version: LSB Version: n/a; Distributor ID: ManjaroLinux; Description: Manjaro Linux; Release: 23.1.2; Codename: Vulcan;
  • Game Version: 0.G-6456-g40efd24db3 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [
    Dark Days Ahead [dda],
    Translate Complex Dialogue [translate_dialogue],
    Disable NPC Needs [no_npc_food],
    Slowdown Fungal Growth [no_fungal_growth],
    Portal Storms Ignore NPCs [personal_portal_storms],
    SpeedyDex [speedydex],
    Stats Through Kills [stats_through_kills],
    Stats Through Skills [StatsThroughSkills]
    ]

Additional context

No response

Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

@github-actions github-actions bot added the stale Closed for lack of activity, but still valid. label Feb 16, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 17, 2024
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 stale Closed for lack of activity, but still valid.
Projects
None yet
Development

No branches or pull requests

1 participant