Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0011603Dwarf FortressMiscellaneous Crashespublic2020-08-08 18:072020-08-14 18:38
hellrazor 
 
normalcrashalways
newopen 
Debian10
0.47.04 
 
0011603: Segfault in Fortress Mode
The game segfaults in both Linux and in a Windows VM, both with and without dfhack. strace doesn't say anything useful, but valgrind returns this:

Segmentation fault
==4816== Invalid free() / delete / delete[] / realloc()
==4816== at 0x48369AB: free (vg_replace_malloc.c:530)
==4816== by 0x5026AB9: free_key_mem (dlerror.c:223)
==4816== by 0x5026AB9: __dlerror_main_freeres (dlerror.c:239)
==4816== by 0x4CC5B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==4816== by 0x482B19E: _vgnU_freeres (vg_preloaded.c:77)
==4816== by 0x11A886: ??? (in /bin/dash)
==4816== by 0x10C69B: ??? (in /bin/dash)
==4816== by 0x4B8109A: (below main) (libc-start.c:308)
==4816== Address 0x5067b80 is in a rw- anonymous segment

So it's either a bad free() or a bad realloc()
Play https://dffd.bay12games.com/file.php?id=15165 [^] for a few seconds
No tags attached.
Issue History
2020-08-08 18:07hellrazorNew Issue
2020-08-14 18:38ehrenNote Added: 0040688

Notes
(0040688)
ehren   
2020-08-14 18:38   
I have the same bug... should I upload the save that causes it? I'm new here

Arch linux 5.7.12