Advertisement
Guest User

opengothic valgrind 2

a guest
Apr 1st, 2020
736
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.26 KB | None | 0 0
  1. ==83861== Memcheck, a memory error detector
  2. ==83861== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
  3. ==83861== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
  4. ==83861== Command: ./Gothic2Notr -g /home/tom/.steam/steam/steamapps/common/Gothic\ II
  5. ==83861==
  6. no *.ini file in path - using default settnigs
  7. GPU = AMD RADV ICELAND (LLVM 9.0.1)
  8. Depth format = 5 Shadow format = 4
  9. ==83861== Mismatched free() / delete / delete []
  10. ==83861== at 0x483A9AB: free (vg_replace_malloc.c:540)
  11. ==83861== by 0x49A129: Tempest::PixmapCodec::freeImg(unsigned char*) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  12. ==83861== by 0x4995F4: Tempest::Pixmap::Impl::~Impl() (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  13. ==83861== by 0x498594: Tempest::Pixmap::Deleter::operator()(Tempest::Pixmap::Impl*) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  14. ==83861== by 0x499837: std::unique_ptr<Tempest::Pixmap::Impl, Tempest::Pixmap::Deleter>::~unique_ptr() (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  15. ==83861== by 0x498C2B: Tempest::Pixmap::~Pixmap() (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  16. ==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)
  17. ==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)
  18. ==83861== by 0x2D82B1: Resources::loadTexture(char const*) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  19. ==83861== by 0x303F8B: InventoryMenu::InventoryMenu(Gothic&, RendererStorage const&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  20. ==83861== by 0x2AFCC9: MainWindow::MainWindow(Gothic&, Tempest::Device&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  21. ==83861== by 0x2AEA95: main (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  22. ==83861== Address 0x1559ab20 is 0 bytes inside a block of size 16,384 alloc'd
  23. ==83861== at 0x483A79F: operator new[](unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:476)
  24. ==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)
  25. ==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)
  26. ==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)
  27. ==83861== by 0x499535: Tempest::Pixmap::Impl::Impl(Tempest::IDevice&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  28. ==83861== by 0x498A4B: Tempest::Pixmap::Pixmap(Tempest::IDevice&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  29. ==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)
  30. ==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)
  31. ==83861== by 0x2D82B1: Resources::loadTexture(char const*) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  32. ==83861== by 0x303F8B: InventoryMenu::InventoryMenu(Gothic&, RendererStorage const&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  33. ==83861== by 0x2AFCC9: MainWindow::MainWindow(Gothic&, Tempest::Device&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  34. ==83861== by 0x2AEA95: main (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  35. ==83861==
  36. ==83861== Invalid read of size 8
  37. ==83861== at 0x5134DA: Tempest::X11Api::implProcessEvents(Tempest::SystemApi::AppCallBack&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  38. ==83861== by 0x5133FF: Tempest::X11Api::implExec(Tempest::SystemApi::AppCallBack&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  39. ==83861== by 0x4BA364: Tempest::SystemApi::exec(Tempest::SystemApi::AppCallBack&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  40. ==83861== by 0x4B7B6A: Tempest::Application::exec() (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  41. ==83861== by 0x2AEAB3: main (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  42. ==83861== Address 0x10 is not stack'd, malloc'd or (recently) free'd
  43. ==83861==
  44. ==83861==
  45. ==83861== Process terminating with default action of signal 11 (SIGSEGV): dumping core
  46. ==83861== at 0x48A2663: raise (in /usr/lib/libpthread-2.31.so)
  47. ==83861== by 0x30B3EC: signalHandler(int) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  48. ==83861== by 0x4DD5D6F: ??? (in /usr/lib/libc-2.31.so)
  49. ==83861== by 0x5134D9: Tempest::X11Api::implProcessEvents(Tempest::SystemApi::AppCallBack&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  50. ==83861== by 0x5133FF: Tempest::X11Api::implExec(Tempest::SystemApi::AppCallBack&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  51. ==83861== by 0x4BA364: Tempest::SystemApi::exec(Tempest::SystemApi::AppCallBack&) (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  52. ==83861== by 0x4B7B6A: Tempest::Application::exec() (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  53. ==83861== by 0x2AEAB3: main (in /home/tom/Sync/Workspace/git/OpenGothic/opengothic/Gothic2Notr)
  54. ==83861==
  55. ==83861== HEAP SUMMARY:
  56. ==83861== in use at exit: 36,270,815 bytes in 71,204 blocks
  57. ==83861== total heap usage: 108,649 allocs, 37,445 frees, 76,101,345 bytes allocated
  58. ==83861==
  59. ==83861== LEAK SUMMARY:
  60. ==83861== definitely lost: 0 bytes in 0 blocks
  61. ==83861== indirectly lost: 0 bytes in 0 blocks
  62. ==83861== possibly lost: 1,274,430 bytes in 4,477 blocks
  63. ==83861== still reachable: 34,996,385 bytes in 66,727 blocks
  64. ==83861== of which reachable via heuristic:
  65. ==83861== newarray : 560 bytes in 5 blocks
  66. ==83861== suppressed: 0 bytes in 0 blocks
  67. ==83861== Rerun with --leak-check=full to see details of leaked memory
  68. ==83861==
  69. ==83861== For lists of detected and suppressed errors, rerun with: -s
  70. ==83861== ERROR SUMMARY: 16 errors from 2 contexts (suppressed: 0 from 0)
  71. 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