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

Segmentation fault on monster grab? #69930

Open CoroNaut opened 9 months ago

CoroNaut commented 9 months ago

Describe the bug

Segmentation fault. I'm not really experience enough in reading crash logs to know exactly what happened

Attach save file

Couldn't reproduce from the save file. Lenora-trimmed.tar.gz

Steps to reproduce

Not able to reproduce it

Expected behavior

Not seg fault

Screenshots

No response

Versions and configuration

Additional context

crash.log and debug.log included. The crash is near the bottom, there are other errors in there as well for other things. config.zip

CoroNaut commented 9 months ago

I got a second segfault for another "melee_actor::do_grab" crash.zip

Edit: aaaaaand another one: crash.zip

BaumgeistOne commented 9 months ago

I think I have the same problem, and it is possible to reproduce it via my safe file.

Just walk west until you see the plastic golem fighting the zombies, then wait a bit. Should get a segmentation fault. logs.zip Magicland.zip

akrieger commented 9 months ago

Hm. Couldn't repro in a windows build even spawning a 10x10 horde of grappler and grabber zombies around the plastic golems.

BaumgeistOne commented 9 months ago

That is curious, I got the crash three times in a row. I am using a linux build though, updated last week. Am going to update today, load the save and try again. :)

BaumgeistOne commented 9 months ago

Updated and tried again, no crash three of three times. :)

Problem fixed?

Zireael07 commented 9 months ago

Might be a buildsystem thing - I recall several issues that happened only on msvc, for instance

CoroNaut commented 9 months ago

This happens quite often crash.zip

BaumgeistOne commented 8 months ago

All of the few segfaults I had during the last weeks had crash logs which mentioned monster grabbing. The problem seems to be rare, but is still there.

BaumgeistOne commented 8 months ago

Got another one, three times in a row in a new world, directly after updating to the newest version.

crash.log

Superheroworld-trimmed.tar.gz

After loading the game, I just moved to windows in the east wall, and the crash happened. Did that three times, all three times the crash happened.

Hopefully this will help in tracking down this issue. :)