I just ran 0.16.0 through valgrind on debian stable. I didn't try starting an actual game but just exited after it fully loaded.
Code: Select all
==13136== Memcheck, a memory error detector
==13136== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==13136== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info
==13136== Command: ./factorio
==13136==
--13136-- WARNING: Serious error when reading debug info
--13136-- When reading debug info from /home/fk/Documents/Games/factorio_0.16.0/factorio/bin/x64/factorio:
--13136-- abbv_code not found in ht_abbvs table
0.042 2017-12-13 19:22:27; Factorio 0.16.0 (build 34159, linux64, alpha)
0.144 Operating system: Linux (Debian 9.3)
0.153 Program arguments: "./factorio"
0.160 Read data path: /home/fk/Documents/Games/factorio_0.16.0/factorio/data
0.161 Write data path: /home/fk/Documents/Games/factorio_0.16.0/factorio [279341/492024MB]
0.162 Binaries path: /home/fk/Documents/Games/factorio_0.16.0/factorio/bin
0.744 System info: [CPU: Intel(R) Core(TM) i5 CPU 670 @ 3.47GHz, 4 cores, RAM: 7987MB]
0.848 Display options: [FullScreen: 1] [VSync: 1] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
0.993 Available display adapters: 1
0.994 [0]: resolution 2048x1152px at [0,0]
0.996 Create display on adapter 0. Size 1280x720 at position [374, 198].
==13136== Conditional jump or move depends on uninitialised value(s)
==13136== at 0x4C32EA6: rawmemchr (vg_replace_strmem.c:1402)
==13136== by 0x66B3391: _IO_str_init_static_internal (strops.c:41)
==13136== by 0x66A6B66: vsscanf (iovsscanf.c:40)
==13136== by 0x66A12D6: sscanf (sscanf.c:32)
==13136== by 0x88BCE4A: ??? (in /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0)
==13136== by 0x88BD182: ??? (in /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0)
==13136== by 0x88C0BF8: drmGetDevice (in /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0)
==13136== by 0x5D05FE7: ??? (in /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0)
==13136== by 0x5D06687: ??? (in /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0)
==13136== by 0x5D018D1: ??? (in /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0)
==13136== by 0x5CD99BB: ??? (in /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0)
==13136== by 0x5CD4F10: glXQueryVersion (in /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0)
==13136==
5.980 Initialised OpenGL:[0] Gallium 0.4 on AMD REDWOOD (DRM 2.48.0 / 4.9.0-3-amd64, LLVM 3.9.1); driver: 3.0 Mesa 13.0.6
5.991 Video memory size (dedicated/total available/current available): 1024/2045/1014 MB
8.592 Graphics settings preset: medium-with-low-vram
8.604 Graphics options: [Graphics quality: normal] [Video memory usage: medium] [Light scale: 25%] [DXT: false] [Shader: 1]
8.610 [Parallel sprite loading: 1] [Max texture size: 4096/4096] [Bmp cache: 1] [Sprite slicing: 1] [Low quality rotation: 1]
11.552 Loading mod core 0.0.0 (data.lua)
==13136== Invalid free() / delete / delete[] / realloc()
==13136== at 0x4C2D2DB: operator delete(void*) (vg_replace_malloc.c:576)
==13136== by 0xABF626: LuaHelper::packageDofile(lua_State*, PackagePath const&, std::string const&, int, Crc*) (Filesystem.hpp:36)
==13136== by 0xABFC69: LuaDataLoader::loadData(PackagePath const&, Paths*, Crc&) (LuaDataLoader.cpp:107)
==13136== by 0xC21E76: ModManager::loadMod(ModID, LuaDataLoader&, ModManager::LuaHistoryData&, PackagePath const&, char const*, Crc&) (ModManager.cpp:519)
==13136== by 0xDD9F57: ModManager::loadData(bool, LocaleProvider*) (ModManager.cpp:318)
==13136== by 0xF03197: GlobalContext::init(bool, bool, bool) [clone .constprop.59207] (GlobalContext.cpp:479)
==13136== by 0xF1F8F2: MainLoop::run(std::experimental::filesystem::Path const&, std::experimental::filesystem::Path const&, bool, bool, std::function<void ()>, std::experimental::filesystem::Path const&, MainLoop::HeavyMode) (MainLoop.cpp:249)
==13136== by 0x4B1CCC: main (Main.cpp:1030)
==13136== Address 0x18b8160 is in the BSS segment of /home/fk/Documents/Games/factorio_0.16.0/factorio/bin/x64/factorio
==13136==
==13136== Invalid free() / delete / delete[] / realloc()
==13136== at 0x4C2D2DB: operator delete(void*) (vg_replace_malloc.c:576)
==13136== by 0xABFCDC: LuaDataLoader::loadData(PackagePath const&, Paths*, Crc&) (Filesystem.hpp:36)
==13136== by 0xC21E76: ModManager::loadMod(ModID, LuaDataLoader&, ModManager::LuaHistoryData&, PackagePath const&, char const*, Crc&) (ModManager.cpp:519)
==13136== by 0xDD9F57: ModManager::loadData(bool, LocaleProvider*) (ModManager.cpp:318)
==13136== by 0xF03197: GlobalContext::init(bool, bool, bool) [clone .constprop.59207] (GlobalContext.cpp:479)
==13136== by 0xF1F8F2: MainLoop::run(std::experimental::filesystem::Path const&, std::experimental::filesystem::Path const&, bool, bool, std::function<void ()>, std::experimental::filesystem::Path const&, MainLoop::HeavyMode) (MainLoop.cpp:249)
==13136== by 0x4B1CCC: main (Main.cpp:1030)
==13136== Address 0x18b8160 is in the BSS segment of /home/fk/Documents/Games/factorio_0.16.0/factorio/bin/x64/factorio
==13136==
12.499 Loading mod base 0.16.0 (data.lua)
==13136== Invalid free() / delete / delete[] / realloc()
==13136== at 0x4C2D2DB: operator delete(void*) (vg_replace_malloc.c:576)
==13136== by 0x6F0F44: PackagePath::parentPath() const (Filesystem.hpp:36)
==13136== by 0xABF9DD: LuaDataLoader::loadData(PackagePath const&, Paths*, Crc&) (LuaDataLoader.cpp:83)
==13136== by 0xC21E76: ModManager::loadMod(ModID, LuaDataLoader&, ModManager::LuaHistoryData&, PackagePath const&, char const*, Crc&) (ModManager.cpp:519)
==13136== by 0xC22175: ModManager::loadModsPhase(LuaDataLoader&, ModManager::LuaHistoryData&, char const*) (ModManager.cpp:410)
==13136== by 0xDDA01E: ModManager::loadData(bool, LocaleProvider*) (ModManager.cpp:326)
==13136== by 0xF03197: GlobalContext::init(bool, bool, bool) [clone .constprop.59207] (GlobalContext.cpp:479)
==13136== by 0xF1F8F2: MainLoop::run(std::experimental::filesystem::Path const&, std::experimental::filesystem::Path const&, bool, bool, std::function<void ()>, std::experimental::filesystem::Path const&, MainLoop::HeavyMode) (MainLoop.cpp:249)
==13136== by 0x4B1CCC: main (Main.cpp:1030)
==13136== Address 0x18b8160 is in the BSS segment of /home/fk/Documents/Games/factorio_0.16.0/factorio/bin/x64/factorio
==13136==
==13136== Invalid free() / delete / delete[] / realloc()
==13136== at 0x4C2D2DB: operator delete(void*) (vg_replace_malloc.c:576)
==13136== by 0x6F0F44: PackagePath::parentPath() const (Filesystem.hpp:36)
==13136== by 0xABF60A: LuaHelper::packageDofile(lua_State*, PackagePath const&, std::string const&, int, Crc*) (LuaHelper.cpp:1900)
==13136== by 0xABFC69: LuaDataLoader::loadData(PackagePath const&, Paths*, Crc&) (LuaDataLoader.cpp:107)
==13136== by 0xC21E76: ModManager::loadMod(ModID, LuaDataLoader&, ModManager::LuaHistoryData&, PackagePath const&, char const*, Crc&) (ModManager.cpp:519)
==13136== by 0xC22175: ModManager::loadModsPhase(LuaDataLoader&, ModManager::LuaHistoryData&, char const*) (ModManager.cpp:410)
==13136== by 0xDDA01E: ModManager::loadData(bool, LocaleProvider*) (ModManager.cpp:326)
==13136== by 0xF03197: GlobalContext::init(bool, bool, bool) [clone .constprop.59207] (GlobalContext.cpp:479)
==13136== by 0xF1F8F2: MainLoop::run(std::experimental::filesystem::Path const&, std::experimental::filesystem::Path const&, bool, bool, std::function<void ()>, std::experimental::filesystem::Path const&, MainLoop::HeavyMode) (MainLoop.cpp:249)
==13136== by 0x4B1CCC: main (Main.cpp:1030)
==13136== Address 0x18b8160 is in the BSS segment of /home/fk/Documents/Games/factorio_0.16.0/factorio/bin/x64/factorio
==13136==
18.405 Loading mod base 0.16.0 (data-updates.lua)
20.842 Checksum for core: 3886358456
20.843 Checksum of base: 2132534782
31.945 Loading sounds...
34.334 Info PlayerData.cpp:67: Local player-data.json unavailable
34.363 Info PlayerData.cpp:72: Cloud player-data.json unavailable
37.144 Loaded shader file /home/fk/Documents/Games/factorio_0.16.0/factorio/data/core/graphics/shaders/game.glsl
38.850 Loaded shader file /home/fk/Documents/Games/factorio_0.16.0/factorio/data/core/graphics/shaders/zoom-to-world.glsl
39.003 Loaded shader file /home/fk/Documents/Games/factorio_0.16.0/factorio/data/core/graphics/shaders/alpha-mask.glsl
39.030 Crop bitmaps.
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
219.731 Initial atlas bitmap size is 4096
219.846 Created atlas bitmap 4096x4089 [none]
219.877 Created atlas bitmap 4096x2613 [none]
219.917 Created atlas bitmap 4096x3558 [terrain]
219.951 Created atlas bitmap 4096x1950 [shadow]
219.967 Created atlas bitmap 4096x1374 [smoke]
219.990 Created atlas bitmap 4096x1868 [no-crop, trilinear-filtering, icon, light]
220.001 Created atlas bitmap 4096x476 [alpha-mask]
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
508.107 Sprites loaded
508.110 Convert atlas 4096x1868 to: trilinear-filtering
508.410 Convert atlas 4096x476 to: alpha-mask
508.866 Custom inputs active: 0
==13136== Invalid free() / delete / delete[] / realloc()
==13136== at 0x4C2D2DB: operator delete(void*) (vg_replace_malloc.c:576)
==13136== by 0xE7A0F4: _M_dispose (Widget.hpp:415)
==13136== by 0xE7A0F4: ~basic_string (basic_string.h:3498)
==13136== by 0xE7A0F4: AppManagerStateWithGui<UpdaterGui>::enableGui() (UpdaterGui.cpp:12)
==13136== by 0xA04603: AppManager::changeStateInternal() (AppManager.cpp:439)
==13136== by 0xF04866: GlobalContext::init(bool, bool, bool) [clone .constprop.59207] (AppManager.hpp:141)
==13136== by 0xF1F8F2: MainLoop::run(std::experimental::filesystem::Path const&, std::experimental::filesystem::Path const&, bool, bool, std::function<void ()>, std::experimental::filesystem::Path const&, MainLoop::HeavyMode) (MainLoop.cpp:249)
==13136== by 0x4B1CCC: main (Main.cpp:1030)
==13136== Address 0x18b8160 is in the BSS segment of /home/fk/Documents/Games/factorio_0.16.0/factorio/bin/x64/factorio
==13136==
==13136== Invalid free() / delete / delete[] / realloc()
==13136== at 0x4C2D2DB: operator delete(void*) (vg_replace_malloc.c:576)
==13136== by 0xE79C94: UpdaterGui::fillRenewToken(bool) (Widget.hpp:416)
==13136== by 0xE7A0C8: AppManagerStateWithGui<UpdaterGui>::enableGui() (UpdaterGui.cpp:19)
==13136== by 0xA04603: AppManager::changeStateInternal() (AppManager.cpp:439)
==13136== by 0xF04866: GlobalContext::init(bool, bool, bool) [clone .constprop.59207] (AppManager.hpp:141)
==13136== by 0xF1F8F2: MainLoop::run(std::experimental::filesystem::Path const&, std::experimental::filesystem::Path const&, bool, bool, std::function<void ()>, std::experimental::filesystem::Path const&, MainLoop::HeavyMode) (MainLoop.cpp:249)
==13136== by 0x4B1CCC: main (Main.cpp:1030)
==13136== Address 0x18b8160 is in the BSS segment of /home/fk/Documents/Games/factorio_0.16.0/factorio/bin/x64/factorio
==13136==
==13136== Invalid free() / delete / delete[] / realloc()
==13136== at 0x4C2D2DB: operator delete(void*) (vg_replace_malloc.c:576)
==13136== by 0xE79CB4: UpdaterGui::fillRenewToken(bool) (Widget.hpp:416)
==13136== by 0xE7A0C8: AppManagerStateWithGui<UpdaterGui>::enableGui() (UpdaterGui.cpp:19)
==13136== by 0xA04603: AppManager::changeStateInternal() (AppManager.cpp:439)
==13136== by 0xF04866: GlobalContext::init(bool, bool, bool) [clone .constprop.59207] (AppManager.hpp:141)
==13136== by 0xF1F8F2: MainLoop::run(std::experimental::filesystem::Path const&, std::experimental::filesystem::Path const&, bool, bool, std::function<void ()>, std::experimental::filesystem::Path const&, MainLoop::HeavyMode) (MainLoop.cpp:249)
==13136== by 0x4B1CCC: main (Main.cpp:1030)
==13136== Address 0x18b8160 is in the BSS segment of /home/fk/Documents/Games/factorio_0.16.0/factorio/bin/x64/factorio
==13136==
==13136== Invalid free() / delete / delete[] / realloc()
==13136== at 0x4C2D2DB: operator delete(void*) (vg_replace_malloc.c:576)
==13136== by 0xE79CD4: UpdaterGui::fillRenewToken(bool) (Widget.hpp:416)
==13136== by 0xE7A0C8: AppManagerStateWithGui<UpdaterGui>::enableGui() (UpdaterGui.cpp:19)
==13136== by 0xA04603: AppManager::changeStateInternal() (AppManager.cpp:439)
==13136== by 0xF04866: GlobalContext::init(bool, bool, bool) [clone .constprop.59207] (AppManager.hpp:141)
==13136== by 0xF1F8F2: MainLoop::run(std::experimental::filesystem::Path const&, std::experimental::filesystem::Path const&, bool, bool, std::function<void ()>, std::experimental::filesystem::Path const&, MainLoop::HeavyMode) (MainLoop.cpp:249)
==13136== by 0x4B1CCC: main (Main.cpp:1030)
==13136== Address 0x18b8160 is in the BSS segment of /home/fk/Documents/Games/factorio_0.16.0/factorio/bin/x64/factorio
==13136==
==13136== Invalid free() / delete / delete[] / realloc()
==13136== at 0x4C2D2DB: operator delete(void*) (vg_replace_malloc.c:576)
==13136== by 0xF9A09E: agui::Widget::~Widget() (in /home/fk/Documents/Games/factorio_0.16.0/factorio/bin/x64/factorio)
==13136== by 0x98B261: LoadingSplashScreen::~LoadingSplashScreen() (LoadingSplashScreen.cpp:36)
==13136== by 0xF03A5F: GlobalContext::init(bool, bool, bool) [clone .constprop.59207] (GlobalContext.cpp:583)
==13136== by 0xF1F8F2: MainLoop::run(std::experimental::filesystem::Path const&, std::experimental::filesystem::Path const&, bool, bool, std::function<void ()>, std::experimental::filesystem::Path const&, MainLoop::HeavyMode) (MainLoop.cpp:249)
==13136== by 0x4B1CCC: main (Main.cpp:1030)
==13136== Address 0x188e400 is 0 bytes inside data symbol "_ZNSs4_Rep20_S_empty_rep_storageE"
==13136==
510.734 Factorio initialised
526.443 Info GlobalContext.cpp:658: Waiting for child processes to exit:
531.403 Goodbye
==13136==
==13136== HEAP SUMMARY:
==13136== in use at exit: 607,678 bytes in 5,720 blocks
==13136== total heap usage: 8,500,789 allocs, 8,495,080 frees, 15,782,048,708 bytes allocated
==13136==
==13136== LEAK SUMMARY:
==13136== definitely lost: 151 bytes in 6 blocks
==13136== indirectly lost: 176 bytes in 4 blocks
==13136== possibly lost: 0 bytes in 0 blocks
==13136== still reachable: 607,351 bytes in 5,710 blocks
==13136== suppressed: 0 bytes in 0 blocks
==13136== Rerun with --leak-check=full to see details of leaked memory
==13136==
==13136== For counts of detected and suppressed errors, rerun with: -v
==13136== Use --track-origins=yes to see where uninitialised values come from
==13136== ERROR SUMMARY: 221 errors from 10 contexts (suppressed: 0 from 0)