Source and destination overlap in strcat(0xfedac06c, 0xfedac134)
==2835== at 0x4C9F700: strcat (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2835== by 0x8477E7E:
(in /root/df_linux/git/Dwarf-Fortress--libgraphics-/dwarfort.exe)
==2835== by 0x6568531F:
==2835==
==2835== Source and destination overlap in strcat(0xfedac1fc, 0xfedac2c4)
==2835== at 0x4C9F700: strcat (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2835== by 0x8477E96:
(in /root/df_linux/git/Dwarf-Fortress--libgraphics-/dwarfort.exe)
==2835== by 0x6568531F:
==2835==
==2835== Invalid write of size 1
==2835== at 0x4C9F67B: strcat (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2835== by 0x8477E7E:
(in /root/df_linux/git/Dwarf-Fortress--libgraphics-/dwarfort.exe)
==2835== by 0x6568531F:
==2835== Address 0xfedad000 is not stack'd, malloc'd or (recently) free'd
==2835==
==2835==
==2835== HEAP SUMMARY:
==2835== in use at exit: 71,010,340 bytes in 910,826 blocks
==2835== total heap usage: 1,423,093 allocs, 512,267 frees, 141,978,336 bytes allocated
==2835==
==2835== LEAK SUMMARY:
==2835== definitely lost: 29,164 bytes in 464 blocks
==2835== indirectly lost: 312,324 bytes in 1,831 blocks
==2835== possibly lost: 19,338,417 bytes in 361,524 blocks
==2835== still reachable: 51,330,435 bytes in 547,007 blocks
==2835== suppressed: 0 bytes in 0 blocks
==2835== Rerun with --leak-check=full to see details of leaked memory
==2835==
==2835== For counts of detected and suppressed errors, rerun with: -v
==2835== Use --track-origins=yes to see where uninitialised values come from
==2835== ERROR SUMMARY: 4003 errors from 13 contexts (suppressed: 295 from 14)
./df: line 12: 2835 Segmentation fault valgrind ./dwarfort.exe $*