I ran worldgen again under valgrind, and all the warnings that came up during woldgen are gone (looks like no false positives due to -O2), but while saving the generated world it gave some warnings about uninitialized bytes:
==1569== Syscall param writev(vector[...]) points to uninitialised byte(s)
==1569== at 0x60B1B5D: ??? (in /usr/lib64/libc-2.23.so)
==1569== by 0x57C2D54: std::__basic_file<char>::xsputn_2(char const*, long, char const*, long) (in /usr/lib64/libstdc++.so.6.0.22)
==1569== by 0x57FF881: std::basic_filebuf<char, std::char_traits<char> >::xsputn(char const*, long) (in /usr/lib64/libstdc++.so.6.0.22)
==1569== by 0x5823C42: std::ostream::write(char const*, long) (in /usr/lib64/libstdc++.so.6.0.22)
==1569== by 0x51AAF72: file_compressorst::flush_in_buffer() (in /home/matt/temp/df_linux/libs/libgraphics.so)
==1569== by 0x51AB01E: file_compressorst::write_file(void*, long) (in /home/matt/temp/df_linux/libs/libgraphics.so)
==1569== by 0xE9F344: ??? (in /home/matt/temp/df_linux/libs/Dwarf_Fortress)
==1569== by 0x876303: ??? (in /home/matt/temp/df_linux/libs/Dwarf_Fortress)
==1569== by 0xF662F5: ??? (in /home/matt/temp/df_linux/libs/Dwarf_Fortress)
==1569== by 0x10391F9: ??? (in /home/matt/temp/df_linux/libs/Dwarf_Fortress)
==1569== by 0x9F6635: ??? (in /home/matt/temp/df_linux/libs/Dwarf_Fortress)
==1569== by 0x513A321: interfacest::loop() (in /home/matt/temp/df_linux/libs/libgraphics.so)
==1569== Address 0x17265f0 is in the BSS segment of /home/matt/temp/df_linux/libs/Dwarf_Fortress
==1569==
==1569== Syscall param write(buf) points to uninitialised byte(s)
==1569== at 0x60ABFED: ??? (in /usr/lib64/libc-2.23.so)
==1569== by 0x57C2A95: ??? (in /usr/lib64/libstdc++.so.6.0.22)
==1569== by 0x5800F76: std::basic_filebuf<char, std::char_traits<char> >::_M_convert_to_external(char*, long) (in /usr/lib64/libstdc++.so.6.0.22)
==1569== by 0x58013B6: std::basic_filebuf<char, std::char_traits<char> >::overflow(int) (in /usr/lib64/libstdc++.so.6.0.22)
==1569== by 0x58011DA: std::basic_filebuf<char, std::char_traits<char> >::_M_terminate_output() (in /usr/lib64/libstdc++.so.6.0.22)
==1569== by 0x580453C: std::basic_filebuf<char, std::char_traits<char> >::close() (in /usr/lib64/libstdc++.so.6.0.22)
==1569== by 0x51AB47B: file_compressorst::close_file() (in /home/matt/temp/df_linux/libs/libgraphics.so)
==1569== by 0xF66317: ??? (in /home/matt/temp/df_linux/libs/Dwarf_Fortress)
==1569== by 0x10391F9: ??? (in /home/matt/temp/df_linux/libs/Dwarf_Fortress)
==1569== by 0x9F6635: ??? (in /home/matt/temp/df_linux/libs/Dwarf_Fortress)
==1569== by 0x513A321: interfacest::loop() (in /home/matt/temp/df_linux/libs/libgraphics.so)
==1569== by 0x96624D: mainloop() (in /home/matt/temp/df_linux/libs/Dwarf_Fortress)
==1569== Address 0x426dfdc5 is 629 bytes inside a block of size 8,192 alloc'd
==1569== at 0x4C2C8F9: operator new[](unsigned long) (vg_replace_malloc.c:423)
==1569== by 0x5800E27: std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (in /usr/lib64/libstdc++.so.6.0.22)
==1569== by 0x58050C1: std::basic_filebuf<char, std::char_traits<char> >::open(char const*, std::_Ios_Openmode) (in /usr/lib64/libstdc++.so.6.0.22)
==1569== by 0x51AB523: file_compressorst::open_file(std::string const&, char) (in /home/matt/temp/df_linux/libs/libgraphics.so)
==1569== by 0xF6609B: ??? (in /home/matt/temp/df_linux/libs/Dwarf_Fortress)
==1569== by 0x10391F9: ??? (in /home/matt/temp/df_linux/libs/Dwarf_Fortress)
==1569== by 0x9F6635: ??? (in /home/matt/temp/df_linux/libs/Dwarf_Fortress)
==1569== by 0x513A321: interfacest::loop() (in /home/matt/temp/df_linux/libs/libgraphics.so)
==1569== by 0x96624D: mainloop() (in /home/matt/temp/df_linux/libs/Dwarf_Fortress)
==1569== by 0x511DF24: enablerst::async_loop() (in /home/matt/temp/df_linux/libs/libgraphics.so)
==1569== by 0x511E23F: call_loop(void*) (in /home/matt/temp/df_linux/libs/libgraphics.so)
==1569== by 0x4E48937: ??? (in /usr/lib64/libSDL-1.2.so.0.11.4)
==1569==
Good job, 64 bits looked surprisingly fast to release. All the pointers are pretty happy.
DWARF FORTRESS SIXTY FOOOOOOOOOOOOOOOOOOOOOOOOR
(https://static5.businessinsider.com/image/4ef756fcecad04b00500000d/watch-kid-goes-completely-bonkers-after-unwrapping-nintendo-64-game-system.jpg)
(sorry)
Got two crashes from a savegame I started around 43.02ish. This is the 43.05 x64 version.
Version=1
EventType=APPCRASH
EventTime=131125540646520127
ReportType=2
Consent=1
ReportIdentifier=44dd68dd-45ef-11e6-8305-00248c414a93
IntegratorReportIdentifier=44dd68dc-45ef-11e6-8305-00248c414a93
NsAppName=Dwarf Fortress.exe
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=Dwarf Fortress.exe
Sig[1].Name=Application Version
Sig[1].Value=0.0.0.0
Sig[2].Name=Application Timestamp
Sig[2].Value=577b5e93
Sig[3].Name=Fault Module Name
Sig[3].Value=Dwarf Fortress.exe
Sig[4].Name=Fault Module Version
Sig[4].Value=0.0.0.0
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=577b5e93
Sig[6].Name=Exception Code
Sig[6].Value=c0000005
Sig[7].Name=Exception Offset
Sig[7].Value=0000000000a2b54b
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.3.9600.2.0.0.256.48
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1031
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=60fd
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=60fda17448c7da6629a85907bf3b7c3c
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=4689
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=468995355f12f77c89b2d93e4ad01862
UI[2]=E:\Dwarf Fortress\Dwarf Fortress.exe
UI[3]=Dwarf Fortress.exe has stopped working
UI[4]=Windows can check online for a solution to the problem.
UI[5]=Check online for a solution and close the program
UI[6]=Check online for a solution later and close the program
UI[7]=Close the program
LoadedModule[0]=E:\Dwarf Fortress\Dwarf Fortress.exe
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\system32\KERNEL32.DLL
LoadedModule[3]=C:\Windows\system32\KERNELBASE.dll
LoadedModule[4]=E:\Dwarf Fortress\fmod64.dll
LoadedModule[5]=E:\Dwarf Fortress\SDL.dll
LoadedModule[6]=E:\Dwarf Fortress\SDL_image.dll
LoadedModule[7]=C:\Windows\SYSTEM32\WINMM.dll
LoadedModule[8]=E:\Dwarf Fortress\SDL_ttf.dll
LoadedModule[9]=C:\Windows\system32\USER32.dll
LoadedModule[10]=E:\Dwarf Fortress\MSVCP140.dll
LoadedModule[11]=C:\Windows\SYSTEM32\OPENGL32.dll
LoadedModule[12]=C:\Windows\SYSTEM32\GLU32.dll
LoadedModule[13]=E:\Dwarf Fortress\VCRUNTIME140.dll
LoadedModule[14]=E:\Dwarf Fortress\api-ms-win-crt-runtime-l1-1-0.dll
LoadedModule[15]=E:\Dwarf Fortress\api-ms-win-crt-stdio-l1-1-0.dll
LoadedModule[16]=E:\Dwarf Fortress\api-ms-win-crt-filesystem-l1-1-0.dll
LoadedModule[17]=E:\Dwarf Fortress\api-ms-win-crt-convert-l1-1-0.dll
LoadedModule[18]=E:\Dwarf Fortress\api-ms-win-crt-utility-l1-1-0.dll
LoadedModule[19]=E:\Dwarf Fortress\api-ms-win-crt-heap-l1-1-0.dll
LoadedModule[20]=E:\Dwarf Fortress\api-ms-win-crt-string-l1-1-0.dll
LoadedModule[21]=E:\Dwarf Fortress\api-ms-win-crt-math-l1-1-0.dll
LoadedModule[22]=E:\Dwarf Fortress\api-ms-win-crt-locale-l1-1-0.dll
LoadedModule[23]=C:\Windows\system32\ADVAPI32.dll
LoadedModule[24]=C:\Windows\system32\ole32.dll
LoadedModule[25]=C:\Windows\SYSTEM32\MSACM32.dll
LoadedModule[26]=C:\Windows\SYSTEM32\WSOCK32.dll
LoadedModule[27]=C:\Windows\system32\MSVCRT.dll
LoadedModule[28]=C:\Windows\system32\GDI32.dll
LoadedModule[29]=C:\Windows\SYSTEM32\WINMMBASE.dll
LoadedModule[30]=E:\Dwarf Fortress\libfreetype-6.dll
LoadedModule[31]=E:\Dwarf Fortress\api-ms-win-crt-multibyte-l1-1-0.dll
LoadedModule[32]=E:\Dwarf Fortress\api-ms-win-crt-time-l1-1-0.dll
LoadedModule[33]=E:\Dwarf Fortress\api-ms-win-crt-environment-l1-1-0.dll
LoadedModule[34]=C:\Windows\SYSTEM32\DDRAW.dll
LoadedModule[35]=C:\Windows\SYSTEM32\sechost.dll
LoadedModule[36]=C:\Windows\system32\RPCRT4.dll
LoadedModule[37]=C:\Windows\SYSTEM32\combase.dll
LoadedModule[38]=C:\Windows\system32\WS2_32.dll
LoadedModule[39]=C:\Windows\SYSTEM32\cfgmgr32.dll
LoadedModule[40]=C:\Windows\SYSTEM32\DEVOBJ.dll
LoadedModule[41]=E:\Dwarf Fortress\zlib1.dll
LoadedModule[42]=C:\Windows\SYSTEM32\DCIMAN32.dll
LoadedModule[43]=E:\Dwarf Fortress\ucrtbase.DLL
LoadedModule[44]=C:\Windows\system32\SspiCli.dll
LoadedModule[45]=C:\Windows\system32\NSI.dll
LoadedModule[46]=C:\Windows\SYSTEM32\CRYPTBASE.DLL
LoadedModule[47]=C:\Windows\SYSTEM32\bcryptPrimitives.dll
LoadedModule[48]=C:\Windows\system32\IMM32.DLL
LoadedModule[49]=C:\Windows\system32\MSCTF.dll
LoadedModule[50]=C:\Windows\SYSTEM32\kernel.appcore.dll
LoadedModule[51]=E:\Dwarf Fortress\libpng15-15.dll
LoadedModule[52]=C:\Windows\system32\uxtheme.dll
LoadedModule[53]=C:\Windows\system32\dwmapi.dll
LoadedModule[54]=C:\Windows\SYSTEM32\atig6pxx.dll
LoadedModule[55]=C:\Windows\SYSTEM32\atio6axx.dll
LoadedModule[56]=C:\Windows\SYSTEM32\VERSION.dll
LoadedModule[57]=C:\Windows\system32\SETUPAPI.dll
LoadedModule[58]=C:\Windows\SYSTEM32\atiadlxx.dll
LoadedModule[59]=C:\Windows\system32\SHELL32.dll
LoadedModule[60]=C:\Windows\SYSTEM32\PROPSYS.dll
LoadedModule[61]=C:\Windows\SYSTEM32\USERENV.dll
LoadedModule[62]=C:\Windows\SYSTEM32\WTSAPI32.dll
LoadedModule[63]=C:\Windows\system32\PSAPI.DLL
LoadedModule[64]=C:\Windows\SYSTEM32\IPHLPAPI.DLL
LoadedModule[65]=C:\Windows\system32\SHLWAPI.dll
LoadedModule[66]=C:\Windows\system32\OLEAUT32.dll
LoadedModule[67]=C:\Windows\SYSTEM32\profapi.dll
LoadedModule[68]=C:\Windows\SYSTEM32\WINNSI.DLL
LoadedModule[69]=C:\Windows\system32\WINTRUST.dll
LoadedModule[70]=C:\Windows\system32\CRYPT32.dll
LoadedModule[71]=C:\Windows\system32\MSASN1.dll
LoadedModule[72]=C:\Windows\SYSTEM32\SHCORE.dll
LoadedModule[73]=C:\Windows\SYSTEM32\atig6txx.dll
FriendlyEventName=Stopped working
ConsentKey=APPCRASH
AppName=Dwarf Fortress.exe
AppPath=E:\Dwarf Fortress\Dwarf Fortress.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=76F70A1545FC0A88230D1A4CE6C57240
Version=1
EventType=APPCRASH
EventTime=131127486128070809
ReportType=2
Consent=1
ReportIdentifier=3c99dd24-47b4-11e6-8307-00248c414a93
IntegratorReportIdentifier=3c99dd23-47b4-11e6-8307-00248c414a93
NsAppName=Dwarf Fortress.exe
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=Dwarf Fortress.exe
Sig[1].Name=Application Version
Sig[1].Value=0.0.0.0
Sig[2].Name=Application Timestamp
Sig[2].Value=577b5e93
Sig[3].Name=Fault Module Name
Sig[3].Value=Dwarf Fortress.exe
Sig[4].Name=Fault Module Version
Sig[4].Value=0.0.0.0
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=577b5e93
Sig[6].Name=Exception Code
Sig[6].Value=c0000005
Sig[7].Name=Exception Offset
Sig[7].Value=0000000000a2b54b
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.3.9600.2.0.0.256.48
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1031
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=60fd
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=60fda17448c7da6629a85907bf3b7c3c
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=4689
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=468995355f12f77c89b2d93e4ad01862
UI[2]=E:\Dwarf Fortress\Dwarf Fortress.exe
UI[3]=Dwarf Fortress.exe has stopped working
UI[4]=Windows can check online for a solution to the problem.
UI[5]=Check online for a solution and close the program
UI[6]=Check online for a solution later and close the program
UI[7]=Close the program
LoadedModule[0]=E:\Dwarf Fortress\Dwarf Fortress.exe
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\system32\KERNEL32.DLL
LoadedModule[3]=C:\Windows\system32\KERNELBASE.dll
LoadedModule[4]=E:\Dwarf Fortress\fmod64.dll
LoadedModule[5]=E:\Dwarf Fortress\SDL.dll
LoadedModule[6]=E:\Dwarf Fortress\SDL_image.dll
LoadedModule[7]=C:\Windows\SYSTEM32\WINMM.dll
LoadedModule[8]=E:\Dwarf Fortress\SDL_ttf.dll
LoadedModule[9]=C:\Windows\system32\USER32.dll
LoadedModule[10]=E:\Dwarf Fortress\MSVCP140.dll
LoadedModule[11]=C:\Windows\SYSTEM32\OPENGL32.dll
LoadedModule[12]=C:\Windows\SYSTEM32\GLU32.dll
LoadedModule[13]=E:\Dwarf Fortress\VCRUNTIME140.dll
LoadedModule[14]=E:\Dwarf Fortress\api-ms-win-crt-runtime-l1-1-0.dll
LoadedModule[15]=E:\Dwarf Fortress\api-ms-win-crt-stdio-l1-1-0.dll
LoadedModule[16]=E:\Dwarf Fortress\api-ms-win-crt-filesystem-l1-1-0.dll
LoadedModule[17]=E:\Dwarf Fortress\api-ms-win-crt-convert-l1-1-0.dll
LoadedModule[18]=E:\Dwarf Fortress\api-ms-win-crt-utility-l1-1-0.dll
LoadedModule[19]=E:\Dwarf Fortress\api-ms-win-crt-heap-l1-1-0.dll
LoadedModule[20]=E:\Dwarf Fortress\api-ms-win-crt-string-l1-1-0.dll
LoadedModule[21]=E:\Dwarf Fortress\api-ms-win-crt-math-l1-1-0.dll
LoadedModule[22]=E:\Dwarf Fortress\api-ms-win-crt-locale-l1-1-0.dll
LoadedModule[23]=C:\Windows\system32\ADVAPI32.dll
LoadedModule[24]=C:\Windows\system32\ole32.dll
LoadedModule[25]=C:\Windows\SYSTEM32\MSACM32.dll
LoadedModule[26]=C:\Windows\SYSTEM32\WSOCK32.dll
LoadedModule[27]=C:\Windows\system32\MSVCRT.dll
LoadedModule[28]=C:\Windows\system32\GDI32.dll
LoadedModule[29]=C:\Windows\SYSTEM32\WINMMBASE.dll
LoadedModule[30]=E:\Dwarf Fortress\libfreetype-6.dll
LoadedModule[31]=E:\Dwarf Fortress\api-ms-win-crt-multibyte-l1-1-0.dll
LoadedModule[32]=E:\Dwarf Fortress\api-ms-win-crt-time-l1-1-0.dll
LoadedModule[33]=E:\Dwarf Fortress\api-ms-win-crt-environment-l1-1-0.dll
LoadedModule[34]=C:\Windows\SYSTEM32\DDRAW.dll
LoadedModule[35]=C:\Windows\SYSTEM32\sechost.dll
LoadedModule[36]=C:\Windows\system32\RPCRT4.dll
LoadedModule[37]=C:\Windows\SYSTEM32\combase.dll
LoadedModule[38]=C:\Windows\system32\WS2_32.dll
LoadedModule[39]=C:\Windows\SYSTEM32\cfgmgr32.dll
LoadedModule[40]=C:\Windows\SYSTEM32\DEVOBJ.dll
LoadedModule[41]=E:\Dwarf Fortress\zlib1.dll
LoadedModule[42]=C:\Windows\SYSTEM32\DCIMAN32.dll
LoadedModule[43]=E:\Dwarf Fortress\ucrtbase.DLL
LoadedModule[44]=C:\Windows\system32\SspiCli.dll
LoadedModule[45]=C:\Windows\system32\NSI.dll
LoadedModule[46]=C:\Windows\SYSTEM32\CRYPTBASE.DLL
LoadedModule[47]=C:\Windows\SYSTEM32\bcryptPrimitives.dll
LoadedModule[48]=C:\Windows\system32\IMM32.DLL
LoadedModule[49]=C:\Windows\system32\MSCTF.dll
LoadedModule[50]=C:\Windows\SYSTEM32\kernel.appcore.dll
LoadedModule[51]=E:\Dwarf Fortress\libpng15-15.dll
LoadedModule[52]=C:\Windows\system32\uxtheme.dll
LoadedModule[53]=C:\Windows\system32\dwmapi.dll
LoadedModule[54]=C:\Windows\SYSTEM32\atig6pxx.dll
LoadedModule[55]=C:\Windows\SYSTEM32\atio6axx.dll
LoadedModule[56]=C:\Windows\SYSTEM32\VERSION.dll
LoadedModule[57]=C:\Windows\system32\SETUPAPI.dll
LoadedModule[58]=C:\Windows\SYSTEM32\atiadlxx.dll
LoadedModule[59]=C:\Windows\system32\SHELL32.dll
LoadedModule[60]=C:\Windows\SYSTEM32\PROPSYS.dll
LoadedModule[61]=C:\Windows\SYSTEM32\USERENV.dll
LoadedModule[62]=C:\Windows\SYSTEM32\WTSAPI32.dll
LoadedModule[63]=C:\Windows\system32\PSAPI.DLL
LoadedModule[64]=C:\Windows\SYSTEM32\IPHLPAPI.DLL
LoadedModule[65]=C:\Windows\system32\SHLWAPI.dll
LoadedModule[66]=C:\Windows\system32\OLEAUT32.dll
LoadedModule[67]=C:\Windows\SYSTEM32\profapi.dll
LoadedModule[68]=C:\Windows\SYSTEM32\WINNSI.DLL
LoadedModule[69]=C:\Windows\system32\WINTRUST.dll
LoadedModule[70]=C:\Windows\system32\CRYPT32.dll
LoadedModule[71]=C:\Windows\system32\MSASN1.dll
LoadedModule[72]=C:\Windows\SYSTEM32\SHCORE.dll
LoadedModule[73]=C:\Windows\SYSTEM32\atig6txx.dll
FriendlyEventName=Stopped working
ConsentKey=APPCRASH
AppName=Dwarf Fortress.exe
AppPath=E:\Dwarf Fortress\Dwarf Fortress.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=76F70A1545FC0A88230D1A4CE6C57240