CleverRaven / Cataclysm-DDA

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

Chopping down a tree sometimes causes segfault on Linux #75448

Open strategictraveler opened 1 month ago

strategictraveler commented 1 month ago

Describe the bug

Segfault when chopping down tree on Linux, does not happen on Windows.

Attach save file

North Lima-trimmed.tar.gz

Steps to reproduce

Only happens in the save file with my current equipment and character.

  1. Chop down tree

Expected behavior

No segfault when chopping trees.

Screenshots

No response

Versions and configuration

Additional context

logs.zip

inogenous commented 1 month ago

Possible duplicate of #66497

strategictraveler commented 1 month ago

I copied my save file to my Windows machine and chopped down a tree (getting the Timber achievement and breaking The Elven Path conduct), then copied it back to my Linux one and chopped down a tree again, now I don't get segfaults anymore.

Seems it only happens on the first tree I chop.

x-qq commented 1 month ago

Cannot reproduce on Linux with cdda-linux-tiles-x64-2024-08-03-0533.

Spawned a chainsaw, chopped some trees, no segfault. Spawned a wood axe, chopped some more trees, still no segfault.

Untitled