Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==18746== Invalid read of size 1
- ==18746== at 0x409D68: Button::executed(sf::Vector2<int> const&, bool) (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x42EAF9: main (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== Address 0x12e83f58 is 1,272 bytes inside a block of size 1,424 free'd
- ==18746== at 0x4C2C64B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==18746== by 0x40A90C: Button::~Button() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x41863E: Event::~Event() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x42611F: std::_Sp_counted_ptr<Event*, (__gnu_cxx::_Lock_policy)2>::_M_dispose() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x406DD1: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x406C86: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x428307: std::__shared_ptr<Event, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x428342: std::__shared_ptr<Event, (__gnu_cxx::_Lock_policy)2>::reset() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x4279B4: Game::removeEvent(short) (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x40F181: ButtonFunctions::Events::confirmOption(GameState&, std::shared_ptr<Event::Option>, short) (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x43BCFE: void std::_Bind<void (*(std::reference_wrapper<RoundEnd>, std::shared_ptr<Event::Option>, short))(GameState&, std::shared_ptr<Event::Option>, short)>::__call<void, , 0ul, 1ul, 2ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x43B539: void std::_Bind<void (*(std::reference_wrapper<RoundEnd>, std::shared_ptr<Event::Option>, short))(GameState&, std::shared_ptr<Event::Option>, short)>::operator()<, void>() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== Block was alloc'd at
- ==18746== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==18746== by 0x4181A2: Event::Event(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x425BD9: EventFactory::createRandomEvent() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x4382E5: RoundEnd::doEvents(Resources) (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x43937B: RoundEnd::step() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x42B025: GameManager::update() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x42F27C: main (in /home/yuki/workspace/IAmCave/a.out)
- ==18746==
- ==18746== Invalid read of size 1
- ==18746== at 0x409D7E: Button::executed(sf::Vector2<int> const&, bool) (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x42EAF9: main (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== Address 0x12e83f59 is 1,273 bytes inside a block of size 1,424 free'd
- ==18746== at 0x4C2C64B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==18746== by 0x40A90C: Button::~Button() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x41863E: Event::~Event() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x42611F: std::_Sp_counted_ptr<Event*, (__gnu_cxx::_Lock_policy)2>::_M_dispose() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x406DD1: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x406C86: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x428307: std::__shared_ptr<Event, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x428342: std::__shared_ptr<Event, (__gnu_cxx::_Lock_policy)2>::reset() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x4279B4: Game::removeEvent(short) (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x40F181: ButtonFunctions::Events::confirmOption(GameState&, std::shared_ptr<Event::Option>, short) (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x43BCFE: void std::_Bind<void (*(std::reference_wrapper<RoundEnd>, std::shared_ptr<Event::Option>, short))(GameState&, std::shared_ptr<Event::Option>, short)>::__call<void, , 0ul, 1ul, 2ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x43B539: void std::_Bind<void (*(std::reference_wrapper<RoundEnd>, std::shared_ptr<Event::Option>, short))(GameState&, std::shared_ptr<Event::Option>, short)>::operator()<, void>() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== Block was alloc'd at
- ==18746== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==18746== by 0x4181A2: Event::Event(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x425BD9: EventFactory::createRandomEvent() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x4382E5: RoundEnd::doEvents(Resources) (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x43937B: RoundEnd::step() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x42B025: GameManager::update() (in /home/yuki/workspace/IAmCave/a.out)
- ==18746== by 0x42F27C: main (in /home/yuki/workspace/IAmCave/a.out)
- ==18746==
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement