==119== Memcheck, a memory error detector ==119== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==119== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info ==119== Command: ./easyrpg --project-path /home/retrofw/Data --fullscreen ==119== Debug: EasyRPG Player 0.6.1 started Debug: ============================ Debug: Seeded the RNG with 1285934463. Debug: CLI: --project-path /home/retrofw/Data --fullscreen ==119== Conditional jump or move depends on uninitialised value(s) ==119== at 0x5AF90C: strlen (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x710914: strdup (in /home/retrofw/games/easyrpg/easyrpg) ==119== Uninitialised value was created by a stack allocation ==119== at 0x4B9324: SdlUi::SdlUi(long, long, bool) (sdl_ui.cpp:72) ==119== ==119== Conditional jump or move depends on uninitialised value(s) ==119== at 0x5A7524: calloc (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x69B894: MikMod_malloc (in /home/retrofw/games/easyrpg/easyrpg) ==119== Uninitialised value was created ==119== at 0x5B5554: __expand_heap (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x5A7008: malloc (in /home/retrofw/games/easyrpg/easyrpg) ==119== ==119== Conditional jump or move depends on uninitialised value(s) ==119== at 0x5AF90C: strlen (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x5FE9B4: open_file (in /home/retrofw/games/easyrpg/easyrpg) ==119== Uninitialised value was created ==119== at 0x5B5554: __expand_heap (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x5A7008: malloc (in /home/retrofw/games/easyrpg/easyrpg) ==119== ==119== Conditional jump or move depends on uninitialised value(s) ==119== at 0x5AF90C: strlen (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x564DC4: std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*) (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x47A330: (anonymous namespace)::output_time() (output.cpp:64) ==119== by 0x47A3A4: WriteLog(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, Color const&) (output.cpp:136) ==119== by 0x47A990: Output::DebugStr(std::__cxx11::basic_string, std::allocator > const&) (output.cpp:333) ==119== by 0x47AAC4: Output::Debug(char const*, ...) (output.cpp:328) ==119== by 0x4691CC: SdlMixerAudio::SdlMixerAudio() (audio_sdl_mixer.cpp:217) ==119== by 0x4B9444: SdlUi::SdlUi(long, long, bool) (sdl_ui.cpp:134) ==119== by 0x48525C: construct (new_allocator.h:147) ==119== by 0x48525C: construct (alloc_traits.h:484) ==119== by 0x48525C: _Sp_counted_ptr_inplace (shared_ptr_base.h:548) ==119== by 0x48525C: __shared_count, long int&, long int&, bool&> (shared_ptr_base.h:679) ==119== by 0x48525C: __shared_ptr, long int&, long int&, bool&> (shared_ptr_base.h:1344) ==119== by 0x48525C: shared_ptr, long int&, long int&, bool&> (shared_ptr.h:359) ==119== by 0x48525C: allocate_shared, long int&, long int&, bool&> (shared_ptr.h:702) ==119== by 0x48525C: make_shared (shared_ptr.h:718) ==119== by 0x48525C: BaseUi::CreateUi(long, long, bool, int) (baseui.cpp:46) ==119== by 0x4312E0: Player::Init(int, char**) (player.cpp:187) ==119== by 0x406D9C: main (main.cpp:27) ==119== Uninitialised value was created by a stack allocation ==119== at 0x47A284: (anonymous namespace)::output_time() (output.cpp:56) ==119== ==119== Conditional jump or move depends on uninitialised value(s) ==119== at 0x5AF90C: strlen (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x564DC4: std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*) (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x47A330: (anonymous namespace)::output_time() (output.cpp:64) ==119== by 0x47A54C: WriteLog(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, Color const&) (output.cpp:150) ==119== by 0x47A990: Output::DebugStr(std::__cxx11::basic_string, std::allocator > const&) (output.cpp:333) ==119== by 0x47AAC4: Output::Debug(char const*, ...) (output.cpp:328) ==119== by 0x4691CC: SdlMixerAudio::SdlMixerAudio() (audio_sdl_mixer.cpp:217) ==119== by 0x4B9444: SdlUi::SdlUi(long, long, bool) (sdl_ui.cpp:134) ==119== by 0x48525C: construct (new_allocator.h:147) ==119== by 0x48525C: construct (alloc_traits.h:484) ==119== by 0x48525C: _Sp_counted_ptr_inplace (shared_ptr_base.h:548) ==119== by 0x48525C: __shared_count, long int&, long int&, bool&> (shared_ptr_base.h:679) ==119== by 0x48525C: __shared_ptr, long int&, long int&, bool&> (shared_ptr_base.h:1344) ==119== by 0x48525C: shared_ptr, long int&, long int&, bool&> (shared_ptr.h:359) ==119== by 0x48525C: allocate_shared, long int&, long int&, bool&> (shared_ptr.h:702) ==119== by 0x48525C: make_shared (shared_ptr.h:718) ==119== by 0x48525C: BaseUi::CreateUi(long, long, bool, int) (baseui.cpp:46) ==119== by 0x4312E0: Player::Init(int, char**) (player.cpp:187) ==119== by 0x406D9C: main (main.cpp:27) ==119== Uninitialised value was created by a stack allocation ==119== at 0x47A284: (anonymous namespace)::output_time() (output.cpp:56) ==119== Debug: Opened audio at 44100 Hz (stereo), format: S16LSB Debug: Framerate is 0 FPS! ==119== Conditional jump or move depends on uninitialised value(s) ==119== at 0x5A7524: calloc (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x611F88: pixman_image_create_bits (in /home/retrofw/games/easyrpg/easyrpg) ==119== Uninitialised value was created ==119== at 0x5B5554: __expand_heap (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x5A7008: malloc (in /home/retrofw/games/easyrpg/easyrpg) ==119== ==119== Conditional jump or move depends on uninitialised value(s) ==119== at 0x5AF90C: strlen (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x426CB0: rstrip(char*) (ini.cpp:60) ==119== by 0x426DD8: ini_parse_stream (ini.cpp:173) ==119== by 0x426FE0: ini_parse (ini.cpp:253) ==119== by 0x42A798: INIReader::INIReader(std::__cxx11::basic_string, std::allocator > const&) (inireader.cpp:44) ==119== by 0x42A5D4: ReaderUtil::GetEncoding(std::__cxx11::basic_string, std::allocator > const&) (reader_util.cpp:208) ==119== by 0x42F534: Player::GetEncoding[abi:cxx11]() (player.cpp:991) ==119== by 0x42FEA4: Player::CreateGameObjects() (player.cpp:640) ==119== by 0x46538C: Scene_Logo::Update() (scene_logo.cpp:73) ==119== by 0x42ED08: Player::Update(bool) (player.cpp:309) ==119== by 0x492570: MainFunction (scene.cpp:119) ==119== by 0x492570: Scene::MainFunction() (scene.cpp:77) ==119== by 0x42FD48: Player::MainLoop() (player.cpp:225) ==119== Uninitialised value was created by a stack allocation ==119== at 0x426CF8: ini_parse_stream (ini.cpp:105) ==119== Debug: Encoding not detected ==119== Conditional jump or move depends on uninitialised value(s) ==119== at 0x5AEE58: memchr (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x5AF9E4: strnlen (in /home/retrofw/games/easyrpg/easyrpg) ==119== Uninitialised value was created by a stack allocation ==119== at 0x4ADD58: Utils::Tokenize(std::__cxx11::basic_string, std::allocator > const&, std::function) (utils.cpp:443) ==119== Debug: Using /home/retrofw/Data as Game and Save directory Debug: Loading game Wadanohara and the Great Blue Sea Debug: Game does not need RTP (FullPackageFlag=1) Debug: Using RPG2k Interpreter Debug: MP3 file (MuzMuz_ImpromptuForMySlumber.mp3) found Debug: RPG2k >= v1.50 / RPG2k3 >= v1.05 detected Debug: Engine configured as: 2k=1 2k3=0 2k3Legacy=0 MajorUpdated=1 Eng=0 Debug: Adding /home/retrofw/.easyrpg/rtp2k to RTP path Debug: The folder does not contain a known RTP! Debug: Using custom ExFont: /home/retrofw/Data/EXFONT.bmp Debug: Actor 5: Removing invalid item 119 from equipment slot 2 Debug: Actor 5: Removing invalid item 121 from equipment slot 3 Debug: Actor 5: Removing invalid item 120 from equipment slot 4 Debug: Actor 5: Removing invalid item 122 from equipment slot 5 Debug: Actor 7: Removing invalid item 118 from equipment slot 1 Debug: Actor 7: Removing invalid item 119 from equipment slot 2 Debug: Actor 7: Removing invalid item 121 from equipment slot 3 Debug: Actor 7: Removing invalid item 120 from equipment slot 4 Debug: Actor 7: Removing invalid item 122 from equipment slot 5 Debug: Framerate is 0 FPS! Debug: FmMidi fallback: /home/retrofw/Data/Music/MusicEgg_WaltzOfDestiny.mid Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! ==119== Conditional jump or move depends on uninitialised value(s) ==119== at 0x5AF90C: strlen (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x564DC4: std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*) (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x47A330: (anonymous namespace)::output_time() (output.cpp:64) ==119== by 0x47A4E8: WriteLog(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, Color const&) (output.cpp:147) ==119== by 0x47A990: Output::DebugStr(std::__cxx11::basic_string, std::allocator > const&) (output.cpp:333) ==119== by 0x47AAC4: Output::Debug(char const*, ...) (output.cpp:328) ==119== by 0x44A0A4: CommandNewGame (scene_title.cpp:197) ==119== by 0x44A0A4: Scene_Title::CommandNewGame() (scene_title.cpp:193) ==119== by 0x44A274: Scene_Title::Update() (scene_title.cpp:111) ==119== by 0x42ED08: Player::Update(bool) (player.cpp:309) ==119== by 0x492570: MainFunction (scene.cpp:119) ==119== by 0x492570: Scene::MainFunction() (scene.cpp:77) ==119== by 0x42FD48: Player::MainLoop() (player.cpp:225) ==119== by 0x42FE68: Player::Run() (player.cpp:219) ==119== Uninitialised value was created by a stack allocation ==119== at 0x47A284: (anonymous namespace)::output_time() (output.cpp:56) ==119== Debug: Starting new game Debug: Loading Map Map0061.lmu ==119== Conditional jump or move depends on uninitialised value(s) ==119== at 0x5AF90C: strlen (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x564DC4: std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*) (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x4586DC: Game_Map::SetupCommon(int, bool) (game_map.cpp:310) ==119== by 0x4588D8: Game_Map::Setup(int, TeleportTarget::Type) (game_map.cpp:145) ==119== by 0x42DB9C: OnMapFileReady(FileRequestResult*) (player.cpp:969) ==119== by 0x4B99E4: operator() (std_function.h:690) ==119== by 0x4B99E4: FileRequestAsync::CallListeners(bool) (async_handler.cpp:264) ==119== by 0x42FA68: Player::SetupPlayerSpawn() (player.cpp:982) ==119== by 0x44A0C8: CommandNewGame (scene_title.cpp:200) ==119== by 0x44A0C8: Scene_Title::CommandNewGame() (scene_title.cpp:193) ==119== by 0x44A274: Scene_Title::Update() (scene_title.cpp:111) ==119== by 0x42ED08: Player::Update(bool) (player.cpp:309) ==119== by 0x492570: MainFunction (scene.cpp:119) ==119== by 0x492570: Scene::MainFunction() (scene.cpp:77) ==119== by 0x42FD48: Player::MainLoop() (player.cpp:225) ==119== Uninitialised value was created ==119== at 0x5B5554: __expand_heap (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x5A7008: malloc (in /home/retrofw/games/easyrpg/easyrpg) ==119== Debug: Tree: Blue Sky and Sea < Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! Debug: Framerate is 0 FPS! ==119== Invalid write of size 4 ==119== at 0x5A6194: unbin (in /home/retrofw/games/easyrpg/easyrpg) ==119== by 0x5A7130: malloc (in /home/retrofw/games/easyrpg/easyrpg) ==119== Address 0x138008 is not stack'd, malloc'd or (recently) free'd ==119==