Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (steamrt scout 0.20220315.0)root@4d8b76974616:/data/dolphin/build-debug# valgrind Binaries/Tests/FileSystemTest
- ==10031== Memcheck, a memory error detector
- ==10031== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
- ==10031== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
- ==10031== Command: Binaries/Tests/FileSystemTest
- ==10031==
- Running main() from gtest_main.cc
- [==========] Running 18 tests from 2 test cases.
- [----------] Global test environment set-up.
- [----------] 2 tests from FileSystem
- [ RUN ] FileSystem.BasicPathValidity
- [ OK ] FileSystem.BasicPathValidity (21 ms)
- [ RUN ] FileSystem.PathSplitting
- [ OK ] FileSystem.PathSplitting (19 ms)
- [----------] 2 tests from FileSystem (53 ms total)
- [----------] 16 tests from FileSystemTest
- [ RUN ] FileSystemTest.EssentialDirectories
- [ OK ] FileSystemTest.EssentialDirectories (1461 ms)
- [ RUN ] FileSystemTest.CreateFile
- [ OK ] FileSystemTest.CreateFile (1478 ms)
- [ RUN ] FileSystemTest.CreateDirectory
- [ OK ] FileSystemTest.CreateDirectory (752 ms)
- [ RUN ] FileSystemTest.Delete
- [ OK ] FileSystemTest.Delete (1692 ms)
- [ RUN ] FileSystemTest.Rename
- ==10031== Invalid read of size 8
- ==10031== at 0x1057823: std::string::operator std::basic_string_view<char, std::char_traits<char> >() const (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x27856C: _ZZN3IOS3HLE2FS14HostFileSystem7SaveFstEvENKUlRKT_RKNS2_8FstEntryEE_clIS9_EEvS5_S8_ (FS.cpp:185)
- ==10031== by 0x278664: _ZZN3IOS3HLE2FS14HostFileSystem7SaveFstEvENKUlRKT_RKNS2_8FstEntryEE_clIS9_EEvS5_S8_ (FS.cpp:189)
- ==10031== by 0x2753D1: IOS::HLE::FS::HostFileSystem::SaveFst() (FS.cpp:191)
- ==10031== by 0x2774CF: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:565)
- ==10031== by 0x2608F5: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:192)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== by 0xFD52BF: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5047)
- ==10031== Address 0xd20a5e0 is 0 bytes inside a block of size 28 free'd
- ==10031== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x10401C1: std::string::assign(std::string const&) (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x2774C0: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:564)
- ==10031== by 0x2608F5: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:192)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== by 0xFD52BF: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5047)
- ==10031== by 0xFEAB53: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE5CE0: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2472)
- ==10031==
- ==10031== Invalid read of size 1
- ==10031== at 0x4C2D0E1: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x274A77: IOS::HLE::FS::(anonymous namespace)::SerializedFstEntry::SetName(std::basic_string_view<char, std::char_traits<char> >) (FS.cpp:68)
- ==10031== by 0x278584: _ZZN3IOS3HLE2FS14HostFileSystem7SaveFstEvENKUlRKT_RKNS2_8FstEntryEE_clIS9_EEvS5_S8_ (FS.cpp:185)
- ==10031== by 0x278664: _ZZN3IOS3HLE2FS14HostFileSystem7SaveFstEvENKUlRKT_RKNS2_8FstEntryEE_clIS9_EEvS5_S8_ (FS.cpp:189)
- ==10031== by 0x2753D1: IOS::HLE::FS::HostFileSystem::SaveFst() (FS.cpp:191)
- ==10031== by 0x2774CF: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:565)
- ==10031== by 0x2608F5: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:192)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== Address 0xd20a5fa is 26 bytes inside a block of size 28 free'd
- ==10031== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x10401C1: std::string::assign(std::string const&) (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x2774C0: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:564)
- ==10031== by 0x2608F5: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:192)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== by 0xFD52BF: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5047)
- ==10031== by 0xFEAB53: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE5CE0: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2472)
- ==10031==
- ==10031== Invalid read of size 8
- ==10031== at 0x103DFA3: std::string::size() const (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x26C74F: __gnu_cxx::__enable_if<std::__is_char<char>::__value, bool>::__type std::operator==<char>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (basic_string.h:6151)
- ==10031== by 0x27991F: _ZZN3IOS3HLE2FS12_GLOBAL__N_116GetNamePredicateERKSsENKUlRKT_E_clINS1_14HostFileSystem8FstEntryEEEDaS7_ (FS.cpp:99)
- ==10031== by 0x27994D: _ZN9__gnu_cxx5__ops10_Iter_predIZN3IOS3HLE2FS12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_EclINS_17__normal_iteratorIPNS4_14HostFileSystem8FstEntryESt6vectorISG_SaISG_EEEEEEbS8_ (predefined_ops.h:283)
- ==10031== by 0x279440: _ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPN3IOS3HLE2FS14HostFileSystem8FstEntryESt6vectorIS6_SaIS6_EEEENS0_5__ops10_Iter_predIZNS4_12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_EEESH_SH_SH_T0_St26random_access_iterator_tag (stl_algo.h:148)
- ==10031== by 0x278EF8: _ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPN3IOS3HLE2FS14HostFileSystem8FstEntryESt6vectorIS6_SaIS6_EEEENS0_5__ops10_Iter_predIZNS4_12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_EEESH_SH_SH_T0_ (stl_algo.h:161)
- ==10031== by 0x278846: _ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPN3IOS3HLE2FS14HostFileSystem8FstEntryESt6vectorIS6_SaIS6_EEEEZNS4_12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_ESF_SF_SF_T0_ (stl_algo.h:3963)
- ==10031== by 0x275833: IOS::HLE::FS::HostFileSystem::GetFstEntryForPath(std::string const&) (FS.cpp:227)
- ==10031== by 0x2776CD: IOS::HLE::FS::HostFileSystem::ReadDirectory(unsigned int, unsigned short, std::string const&) (FS.cpp:576)
- ==10031== by 0x260B80: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:195)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== Address 0xd20a5e0 is 0 bytes inside a block of size 28 free'd
- ==10031== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x10401C1: std::string::assign(std::string const&) (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x2774C0: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:564)
- ==10031== by 0x2608F5: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:192)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== by 0xFD52BF: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5047)
- ==10031== by 0xFEAB53: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE5CE0: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2472)
- ==10031==
- ==10031== Invalid read of size 8
- ==10031== at 0x103DFA3: std::string::size() const (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x26C76F: __gnu_cxx::__enable_if<std::__is_char<char>::__value, bool>::__type std::operator==<char>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (basic_string.h:6152)
- ==10031== by 0x27991F: _ZZN3IOS3HLE2FS12_GLOBAL__N_116GetNamePredicateERKSsENKUlRKT_E_clINS1_14HostFileSystem8FstEntryEEEDaS7_ (FS.cpp:99)
- ==10031== by 0x27994D: _ZN9__gnu_cxx5__ops10_Iter_predIZN3IOS3HLE2FS12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_EclINS_17__normal_iteratorIPNS4_14HostFileSystem8FstEntryESt6vectorISG_SaISG_EEEEEEbS8_ (predefined_ops.h:283)
- ==10031== by 0x279417: _ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPN3IOS3HLE2FS14HostFileSystem8FstEntryESt6vectorIS6_SaIS6_EEEENS0_5__ops10_Iter_predIZNS4_12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_EEESH_SH_SH_T0_St26random_access_iterator_tag (stl_algo.h:144)
- ==10031== by 0x278EF8: _ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPN3IOS3HLE2FS14HostFileSystem8FstEntryESt6vectorIS6_SaIS6_EEEENS0_5__ops10_Iter_predIZNS4_12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_EEESH_SH_SH_T0_ (stl_algo.h:161)
- ==10031== by 0x278846: _ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPN3IOS3HLE2FS14HostFileSystem8FstEntryESt6vectorIS6_SaIS6_EEEEZNS4_12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_ESF_SF_SF_T0_ (stl_algo.h:3963)
- ==10031== by 0x275833: IOS::HLE::FS::HostFileSystem::GetFstEntryForPath(std::string const&) (FS.cpp:227)
- ==10031== by 0x2773C6: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:556)
- ==10031== by 0x260D0F: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:198)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== Address 0xd20a5e0 is 0 bytes inside a block of size 28 free'd
- ==10031== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x10401C1: std::string::assign(std::string const&) (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x2774C0: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:564)
- ==10031== by 0x2608F5: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:192)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== by 0xFD52BF: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5047)
- ==10031== by 0xFEAB53: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE5CE0: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2472)
- ==10031==
- ==10031== Invalid read of size 1
- ==10031== at 0x4C2DCAB: bcmp (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x269610: std::char_traits<char>::compare(char const*, char const*, unsigned long) (char_traits.h:325)
- ==10031== by 0x26C79B: __gnu_cxx::__enable_if<std::__is_char<char>::__value, bool>::__type std::operator==<char>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (basic_string.h:6152)
- ==10031== by 0x27991F: _ZZN3IOS3HLE2FS12_GLOBAL__N_116GetNamePredicateERKSsENKUlRKT_E_clINS1_14HostFileSystem8FstEntryEEEDaS7_ (FS.cpp:99)
- ==10031== by 0x27994D: _ZN9__gnu_cxx5__ops10_Iter_predIZN3IOS3HLE2FS12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_EclINS_17__normal_iteratorIPNS4_14HostFileSystem8FstEntryESt6vectorISG_SaISG_EEEEEEbS8_ (predefined_ops.h:283)
- ==10031== by 0x279417: _ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPN3IOS3HLE2FS14HostFileSystem8FstEntryESt6vectorIS6_SaIS6_EEEENS0_5__ops10_Iter_predIZNS4_12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_EEESH_SH_SH_T0_St26random_access_iterator_tag (stl_algo.h:144)
- ==10031== by 0x278EF8: _ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPN3IOS3HLE2FS14HostFileSystem8FstEntryESt6vectorIS6_SaIS6_EEEENS0_5__ops10_Iter_predIZNS4_12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_EEESH_SH_SH_T0_ (stl_algo.h:161)
- ==10031== by 0x278846: _ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPN3IOS3HLE2FS14HostFileSystem8FstEntryESt6vectorIS6_SaIS6_EEEEZNS4_12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_ESF_SF_SF_T0_ (stl_algo.h:3963)
- ==10031== by 0x275833: IOS::HLE::FS::HostFileSystem::GetFstEntryForPath(std::string const&) (FS.cpp:227)
- ==10031== by 0x2773C6: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:556)
- ==10031== by 0x260D0F: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:198)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== Address 0xd20a5f8 is 24 bytes inside a block of size 28 free'd
- ==10031== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x10401C1: std::string::assign(std::string const&) (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x2774C0: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:564)
- ==10031== by 0x2608F5: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:192)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== by 0xFD52BF: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5047)
- ==10031== by 0xFEAB53: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE5CE0: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2472)
- ==10031==
- ==10031== Invalid read of size 1
- ==10031== at 0x4C2DCC0: bcmp (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x269610: std::char_traits<char>::compare(char const*, char const*, unsigned long) (char_traits.h:325)
- ==10031== by 0x26C79B: __gnu_cxx::__enable_if<std::__is_char<char>::__value, bool>::__type std::operator==<char>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (basic_string.h:6152)
- ==10031== by 0x27991F: _ZZN3IOS3HLE2FS12_GLOBAL__N_116GetNamePredicateERKSsENKUlRKT_E_clINS1_14HostFileSystem8FstEntryEEEDaS7_ (FS.cpp:99)
- ==10031== by 0x27994D: _ZN9__gnu_cxx5__ops10_Iter_predIZN3IOS3HLE2FS12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_EclINS_17__normal_iteratorIPNS4_14HostFileSystem8FstEntryESt6vectorISG_SaISG_EEEEEEbS8_ (predefined_ops.h:283)
- ==10031== by 0x279417: _ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPN3IOS3HLE2FS14HostFileSystem8FstEntryESt6vectorIS6_SaIS6_EEEENS0_5__ops10_Iter_predIZNS4_12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_EEESH_SH_SH_T0_St26random_access_iterator_tag (stl_algo.h:144)
- ==10031== by 0x278EF8: _ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPN3IOS3HLE2FS14HostFileSystem8FstEntryESt6vectorIS6_SaIS6_EEEENS0_5__ops10_Iter_predIZNS4_12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_EEESH_SH_SH_T0_ (stl_algo.h:161)
- ==10031== by 0x278846: _ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPN3IOS3HLE2FS14HostFileSystem8FstEntryESt6vectorIS6_SaIS6_EEEEZNS4_12_GLOBAL__N_116GetNamePredicateERKSsEUlRKT_E_ESF_SF_SF_T0_ (stl_algo.h:3963)
- ==10031== by 0x275833: IOS::HLE::FS::HostFileSystem::GetFstEntryForPath(std::string const&) (FS.cpp:227)
- ==10031== by 0x2773C6: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:556)
- ==10031== by 0x260D0F: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:198)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== Address 0xd20a5f9 is 25 bytes inside a block of size 28 free'd
- ==10031== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x10401C1: std::string::assign(std::string const&) (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x2774C0: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:564)
- ==10031== by 0x2608F5: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:192)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== by 0xFD52BF: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5047)
- ==10031== by 0xFEAB53: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE5CE0: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2472)
- ==10031==
- ==10031== Invalid read of size 4
- ==10031== at 0x10401AF: std::string::assign(std::string const&) (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x27B708: IOS::HLE::FS::HostFileSystem::FstEntry::operator=(IOS::HLE::FS::HostFileSystem::FstEntry const&) (FS.h:62)
- ==10031== by 0x277473: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:561)
- ==10031== by 0x260D0F: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:198)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== by 0xFD52BF: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5047)
- ==10031== by 0xFEAB53: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE5CE0: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2472)
- ==10031== Address 0xd20a5f0 is 16 bytes inside a block of size 28 free'd
- ==10031== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x10401C1: std::string::assign(std::string const&) (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x2774C0: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:564)
- ==10031== by 0x2608F5: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:192)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== by 0xFD52BF: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5047)
- ==10031== by 0xFEAB53: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE5CE0: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2472)
- ==10031==
- ==10031== Invalid free() / delete / delete[] / realloc()
- ==10031== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x10401C1: std::string::assign(std::string const&) (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x27B708: IOS::HLE::FS::HostFileSystem::FstEntry::operator=(IOS::HLE::FS::HostFileSystem::FstEntry const&) (FS.h:62)
- ==10031== by 0x277473: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:561)
- ==10031== by 0x260D0F: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:198)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== by 0xFD52BF: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5047)
- ==10031== by 0xFEAB53: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2417)
- ==10031== Address 0xd20a5e0 is 0 bytes inside a block of size 28 free'd
- ==10031== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x10401C1: std::string::assign(std::string const&) (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x2774C0: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:564)
- ==10031== by 0x2608F5: FileSystemTest_Rename_Test::TestBody() (FileSystemTest.cpp:192)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== by 0xFD52BF: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5047)
- ==10031== by 0xFEAB53: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE5CE0: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2472)
- ==10031==
- [ OK ] FileSystemTest.Rename (106 ms)
- [ RUN ] FileSystemTest.RenameWithExistingTargetDirectory
- ==10031== Invalid read of size 8
- ==10031== at 0x1057823: std::string::operator std::basic_string_view<char, std::char_traits<char> >() const (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x27856C: _ZZN3IOS3HLE2FS14HostFileSystem7SaveFstEvENKUlRKT_RKNS2_8FstEntryEE_clIS9_EEvS5_S8_ (FS.cpp:185)
- ==10031== by 0x278664: _ZZN3IOS3HLE2FS14HostFileSystem7SaveFstEvENKUlRKT_RKNS2_8FstEntryEE_clIS9_EEvS5_S8_ (FS.cpp:189)
- ==10031== by 0x278664: _ZZN3IOS3HLE2FS14HostFileSystem7SaveFstEvENKUlRKT_RKNS2_8FstEntryEE_clIS9_EEvS5_S8_ (FS.cpp:189)
- ==10031== by 0x2753D1: IOS::HLE::FS::HostFileSystem::SaveFst() (FS.cpp:191)
- ==10031== by 0x2774CF: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:565)
- ==10031== by 0x2615CB: FileSystemTest_RenameWithExistingTargetDirectory_Test::TestBody() (FileSystemTest.cpp:214)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== Address 0xd2c25c0 is 0 bytes inside a block of size 26 free'd
- ==10031== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x10401C1: std::string::assign(std::string const&) (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x2774C0: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:564)
- ==10031== by 0x2615CB: FileSystemTest_RenameWithExistingTargetDirectory_Test::TestBody() (FileSystemTest.cpp:214)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== by 0xFD52BF: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5047)
- ==10031== by 0xFEAB53: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE5CE0: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2472)
- ==10031==
- ==10031== Invalid read of size 4
- ==10031== at 0x103ED67: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x27B52F: IOS::HLE::FS::HostFileSystem::FstEntry::~FstEntry() (FS.h:62)
- ==10031== by 0x2845CF: void std::_Destroy<IOS::HLE::FS::HostFileSystem::FstEntry>(IOS::HLE::FS::HostFileSystem::FstEntry*) (stl_construct.h:98)
- ==10031== by 0x2822AD: void std::_Destroy_aux<false>::__destroy<IOS::HLE::FS::HostFileSystem::FstEntry*>(IOS::HLE::FS::HostFileSystem::FstEntry*, IOS::HLE::FS::HostFileSystem::FstEntry*) (stl_construct.h:108)
- ==10031== by 0x280049: void std::_Destroy<IOS::HLE::FS::HostFileSystem::FstEntry*>(IOS::HLE::FS::HostFileSystem::FstEntry*, IOS::HLE::FS::HostFileSystem::FstEntry*) (stl_construct.h:137)
- ==10031== by 0x27E1BA: void std::_Destroy<IOS::HLE::FS::HostFileSystem::FstEntry*, IOS::HLE::FS::HostFileSystem::FstEntry>(IOS::HLE::FS::HostFileSystem::FstEntry*, IOS::HLE::FS::HostFileSystem::FstEntry*, std::allocator<IOS::HLE::FS::HostFileSystem::FstEntry>&) (stl_construct.h:206)
- ==10031== by 0x27C304: std::vector<IOS::HLE::FS::HostFileSystem::FstEntry, std::allocator<IOS::HLE::FS::HostFileSystem::FstEntry> >::~vector() (stl_vector.h:677)
- ==10031== by 0x27B523: IOS::HLE::FS::HostFileSystem::FstEntry::~FstEntry() (FS.h:62)
- ==10031== by 0x2845CF: void std::_Destroy<IOS::HLE::FS::HostFileSystem::FstEntry>(IOS::HLE::FS::HostFileSystem::FstEntry*) (stl_construct.h:98)
- ==10031== by 0x2822AD: void std::_Destroy_aux<false>::__destroy<IOS::HLE::FS::HostFileSystem::FstEntry*>(IOS::HLE::FS::HostFileSystem::FstEntry*, IOS::HLE::FS::HostFileSystem::FstEntry*) (stl_construct.h:108)
- ==10031== by 0x280049: void std::_Destroy<IOS::HLE::FS::HostFileSystem::FstEntry*>(IOS::HLE::FS::HostFileSystem::FstEntry*, IOS::HLE::FS::HostFileSystem::FstEntry*) (stl_construct.h:137)
- ==10031== by 0x27E1BA: void std::_Destroy<IOS::HLE::FS::HostFileSystem::FstEntry*, IOS::HLE::FS::HostFileSystem::FstEntry>(IOS::HLE::FS::HostFileSystem::FstEntry*, IOS::HLE::FS::HostFileSystem::FstEntry*, std::allocator<IOS::HLE::FS::HostFileSystem::FstEntry>&) (stl_construct.h:206)
- ==10031== Address 0xd2c25d0 is 16 bytes inside a block of size 26 free'd
- ==10031== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x10401C1: std::string::assign(std::string const&) (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x2774C0: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:564)
- ==10031== by 0x2615CB: FileSystemTest_RenameWithExistingTargetDirectory_Test::TestBody() (FileSystemTest.cpp:214)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== by 0xFD52BF: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5047)
- ==10031== by 0xFEAB53: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE5CE0: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2472)
- ==10031==
- ==10031== Invalid free() / delete / delete[] / realloc()
- ==10031== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x103ED7D: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x27B52F: IOS::HLE::FS::HostFileSystem::FstEntry::~FstEntry() (FS.h:62)
- ==10031== by 0x2845CF: void std::_Destroy<IOS::HLE::FS::HostFileSystem::FstEntry>(IOS::HLE::FS::HostFileSystem::FstEntry*) (stl_construct.h:98)
- ==10031== by 0x2822AD: void std::_Destroy_aux<false>::__destroy<IOS::HLE::FS::HostFileSystem::FstEntry*>(IOS::HLE::FS::HostFileSystem::FstEntry*, IOS::HLE::FS::HostFileSystem::FstEntry*) (stl_construct.h:108)
- ==10031== by 0x280049: void std::_Destroy<IOS::HLE::FS::HostFileSystem::FstEntry*>(IOS::HLE::FS::HostFileSystem::FstEntry*, IOS::HLE::FS::HostFileSystem::FstEntry*) (stl_construct.h:137)
- ==10031== by 0x27E1BA: void std::_Destroy<IOS::HLE::FS::HostFileSystem::FstEntry*, IOS::HLE::FS::HostFileSystem::FstEntry>(IOS::HLE::FS::HostFileSystem::FstEntry*, IOS::HLE::FS::HostFileSystem::FstEntry*, std::allocator<IOS::HLE::FS::HostFileSystem::FstEntry>&) (stl_construct.h:206)
- ==10031== by 0x27C304: std::vector<IOS::HLE::FS::HostFileSystem::FstEntry, std::allocator<IOS::HLE::FS::HostFileSystem::FstEntry> >::~vector() (stl_vector.h:677)
- ==10031== by 0x27B523: IOS::HLE::FS::HostFileSystem::FstEntry::~FstEntry() (FS.h:62)
- ==10031== by 0x2845CF: void std::_Destroy<IOS::HLE::FS::HostFileSystem::FstEntry>(IOS::HLE::FS::HostFileSystem::FstEntry*) (stl_construct.h:98)
- ==10031== by 0x2822AD: void std::_Destroy_aux<false>::__destroy<IOS::HLE::FS::HostFileSystem::FstEntry*>(IOS::HLE::FS::HostFileSystem::FstEntry*, IOS::HLE::FS::HostFileSystem::FstEntry*) (stl_construct.h:108)
- ==10031== by 0x280049: void std::_Destroy<IOS::HLE::FS::HostFileSystem::FstEntry*>(IOS::HLE::FS::HostFileSystem::FstEntry*, IOS::HLE::FS::HostFileSystem::FstEntry*) (stl_construct.h:137)
- ==10031== Address 0xd2c25c0 is 0 bytes inside a block of size 26 free'd
- ==10031== at 0x4C2A82E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==10031== by 0x10401C1: std::string::assign(std::string const&) (in /data/dolphin/build-debug/Binaries/Tests/FileSystemTest)
- ==10031== by 0x2774C0: IOS::HLE::FS::HostFileSystem::Rename(unsigned int, unsigned short, std::string const&, std::string const&) (FS.cpp:564)
- ==10031== by 0x2615CB: FileSystemTest_RenameWithExistingTargetDirectory_Test::TestBody() (FileSystemTest.cpp:214)
- ==10031== by 0xFE9CD4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE53C0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2472)
- ==10031== by 0xFCCD8D: testing::Test::Run() (gtest.cc:2491)
- ==10031== by 0xFCD469: testing::TestInfo::Run() (gtest.cc:2667)
- ==10031== by 0xFCDA09: testing::TestCase::Run() (gtest.cc:2785)
- ==10031== by 0xFD52BF: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5047)
- ==10031== by 0xFEAB53: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2417)
- ==10031== by 0xFE5CE0: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2472)
- ==10031==
- [ OK ] FileSystemTest.RenameWithExistingTargetDirectory (67 ms)
- [ RUN ] FileSystemTest.RenameWithExistingTargetFile
- [ OK ] FileSystemTest.RenameWithExistingTargetFile (1306 ms)
- [ RUN ] FileSystemTest.GetDirectoryStats
- [ OK ] FileSystemTest.GetDirectoryStats (1248 ms)
- [ RUN ] FileSystemTest.NonExistingFiles
- [ OK ] FileSystemTest.NonExistingFiles (45 ms)
- [ RUN ] FileSystemTest.Seek
- [ OK ] FileSystemTest.Seek (74 ms)
- [ RUN ] FileSystemTest.WriteAndSimpleReadback
- [ OK ] FileSystemTest.WriteAndSimpleReadback (57 ms)
- [ RUN ] FileSystemTest.WriteAndRead
- [ OK ] FileSystemTest.WriteAndRead (266 ms)
- [ RUN ] FileSystemTest.MultipleHandles
- [ OK ] FileSystemTest.MultipleHandles (1508 ms)
- [ RUN ] FileSystemTest.ReadDirectoryOnFile
- [ OK ] FileSystemTest.ReadDirectoryOnFile (1175 ms)
- [ RUN ] FileSystemTest.ReadDirectoryOrdering
- [ OK ] FileSystemTest.ReadDirectoryOrdering (95 ms)
- [ RUN ] FileSystemTest.CreateFullPath
- [ OK ] FileSystemTest.CreateFullPath (76 ms)
- [----------] 16 tests from FileSystemTest (11411 ms total)
- [----------] Global test environment tear-down
- [==========] 18 tests from 2 test cases ran. (11516 ms total)
- [ PASSED ] 18 tests.
- ==10031==
- ==10031== HEAP SUMMARY:
- ==10031== in use at exit: 72,760 bytes in 3 blocks
- ==10031== total heap usage: 26,524 allocs, 26,523 frees, 9,338,257 bytes allocated
- ==10031==
- ==10031== LEAK SUMMARY:
- ==10031== definitely lost: 56 bytes in 2 blocks
- ==10031== indirectly lost: 0 bytes in 0 blocks
- ==10031== possibly lost: 0 bytes in 0 blocks
- ==10031== still reachable: 72,704 bytes in 1 blocks
- ==10031== suppressed: 0 bytes in 0 blocks
- ==10031== Rerun with --leak-check=full to see details of leaked memory
- ==10031==
- ==10031== For counts of detected and suppressed errors, rerun with: -v
- ==10031== ERROR SUMMARY: 23 errors from 11 contexts (suppressed: 2 from 2)
Advertisement
Add Comment
Please, Sign In to add comment