Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==83861== Memcheck, a memory error detector
- ==83861== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
- ==83861== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
- ==83861== Command: ./Gothic2Notr -g /home/tom/.steam/steam/steamapps/common/Gothic\ II
- ==83861==
- no *.ini file in path - using default settnigs
- GPU = AMD RADV ICELAND (LLVM 9.0.1)
- Depth format = 5 Shadow format = 4
- ==83861== Mismatched free() / delete / delete []
- ==83861== at 0x483A9AB: free (vg_replace_malloc.c:540)
- ==83861== by 0x49A129: Tempest::PixmapCodec::freeImg(unsigned char*) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x4995F4: Tempest::Pixmap::Impl::~Impl() (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x498594: Tempest::Pixmap::Deleter::operator()(Tempest::Pixmap::Impl*) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x499837: std::unique_ptr<Tempest::Pixmap::Impl, Tempest::Pixmap::Deleter>::~unique_ptr() (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x498C2B: Tempest::Pixmap::~Pixmap() (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x2D65B7: Resources::implLoadTexture(std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::unique_ptr<Tempest::Texture2d, std::default_delete<Tempest::Texture2d> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::unique_ptr<Tempest::Texture2d, std::default_delete<Tempest::Texture2d> > > > >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, std::vector<unsigned char, std::allocator<unsigned char> > const&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x2D6317: Resources::implLoadTexture(std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::unique_ptr<Tempest::Texture2d, std::default_delete<Tempest::Texture2d> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::unique_ptr<Tempest::Texture2d, std::default_delete<Tempest::Texture2d> > > > >&, char const*) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x2D82B1: Resources::loadTexture(char const*) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x303F8B: InventoryMenu::InventoryMenu(Gothic&, RendererStorage const&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x2AFCC9: MainWindow::MainWindow(Gothic&, Tempest::Device&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x2AEA95: main (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== Address 0x1559ab20 is 0 bytes inside a block of size 16,384 alloc'd
- ==83861== at 0x483A79F: operator new[](unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:476)
- ==83861== by 0x4ECC13: Tempest::PixmapCodecDDS::load(Tempest::PixmapCodec::Context&, unsigned int&, unsigned int&, Tempest::Pixmap::Format&, unsigned int&, unsigned long&, unsigned int&) const (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x49A3C4: Tempest::PixmapCodec::Impl::load(Tempest::IDevice&, unsigned int&, unsigned int&, Tempest::Pixmap::Format&, unsigned int&, unsigned int&, unsigned long&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x49A0B1: Tempest::PixmapCodec::loadImg(Tempest::IDevice&, unsigned int&, unsigned int&, Tempest::Pixmap::Format&, unsigned int&, unsigned int&, unsigned long&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x499535: Tempest::Pixmap::Impl::Impl(Tempest::IDevice&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x498A4B: Tempest::Pixmap::Pixmap(Tempest::IDevice&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x2D6513: Resources::implLoadTexture(std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::unique_ptr<Tempest::Texture2d, std::default_delete<Tempest::Texture2d> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::unique_ptr<Tempest::Texture2d, std::default_delete<Tempest::Texture2d> > > > >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, std::vector<unsigned char, std::allocator<unsigned char> > const&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x2D6317: Resources::implLoadTexture(std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::unique_ptr<Tempest::Texture2d, std::default_delete<Tempest::Texture2d> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::unique_ptr<Tempest::Texture2d, std::default_delete<Tempest::Texture2d> > > > >&, char const*) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x2D82B1: Resources::loadTexture(char const*) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x303F8B: InventoryMenu::InventoryMenu(Gothic&, RendererStorage const&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x2AFCC9: MainWindow::MainWindow(Gothic&, Tempest::Device&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x2AEA95: main (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861==
- ==83861== Invalid read of size 8
- ==83861== at 0x5134DA: Tempest::X11Api::implProcessEvents(Tempest::SystemApi::AppCallBack&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x5133FF: Tempest::X11Api::implExec(Tempest::SystemApi::AppCallBack&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x4BA364: Tempest::SystemApi::exec(Tempest::SystemApi::AppCallBack&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x4B7B6A: Tempest::Application::exec() (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x2AEAB3: main (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== Address 0x10 is not stack'd, malloc'd or (recently) free'd
- ==83861==
- ==83861==
- ==83861== Process terminating with default action of signal 11 (SIGSEGV): dumping core
- ==83861== at 0x48A2663: raise (in /usr/lib/libpthread-2.31.so)
- ==83861== by 0x30B3EC: signalHandler(int) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x4DD5D6F: ??? (in /usr/lib/libc-2.31.so)
- ==83861== by 0x5134D9: Tempest::X11Api::implProcessEvents(Tempest::SystemApi::AppCallBack&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x5133FF: Tempest::X11Api::implExec(Tempest::SystemApi::AppCallBack&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x4BA364: Tempest::SystemApi::exec(Tempest::SystemApi::AppCallBack&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x4B7B6A: Tempest::Application::exec() (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861== by 0x2AEAB3: main (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
- ==83861==
- ==83861== HEAP SUMMARY:
- ==83861== in use at exit: 36,270,815 bytes in 71,204 blocks
- ==83861== total heap usage: 108,649 allocs, 37,445 frees, 76,101,345 bytes allocated
- ==83861==
- ==83861== LEAK SUMMARY:
- ==83861== definitely lost: 0 bytes in 0 blocks
- ==83861== indirectly lost: 0 bytes in 0 blocks
- ==83861== possibly lost: 1,274,430 bytes in 4,477 blocks
- ==83861== still reachable: 34,996,385 bytes in 66,727 blocks
- ==83861== of which reachable via heuristic:
- ==83861== newarray : 560 bytes in 5 blocks
- ==83861== suppressed: 0 bytes in 0 blocks
- ==83861== Rerun with --leak-check=full to see details of leaked memory
- ==83861==
- ==83861== For lists of detected and suppressed errors, rerun with: -s
- ==83861== ERROR SUMMARY: 16 errors from 2 contexts (suppressed: 0 from 0)
- zsh: segmentation fault (core dumped) valgrind ./Gothic2Notr -g /home/tom/.steam/steam/steamapps/common/Gothic\ II
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement