Giter VIP home page Giter VIP logo

Comments (1)

lynxlynxlynx avatar lynxlynxlynx commented on June 3, 2024

Hmm, some animation lifecycle problem:

 Invalid read of size 1
    #0 0x7f8a4f116e41 in GemRB::Actor::UpdateActorState() /home/kajak/games/gemrb/gemrb/core/Scriptable/Actor.cpp:7422
    #1 0x7f8a4ef9de05 in GemRB::Map::UpdateScripts() /home/kajak/games/gemrb/gemrb/core/Map.cpp:780
    #2 0x7f8a4ed0a87b in GemRB::Game::UpdateScripts() /home/kajak/games/gemrb/gemrb/core/Game.cpp:1552
    #3 0x7f8a4eebfe5e in GemRB::Interface::GameLoop() /home/kajak/games/gemrb/gemrb/core/Interface.cpp:1778
    #4 0x7f8a4eeb2a81 in GemRB::Interface::Main() /home/kajak/games/gemrb/gemrb/core/Interface.cpp:980
    #5 0x564fddc1313c in main /home/kajak/games/gemrb/gemrb/GemRB.cpp:67
    #6 0x7f8a4de23a8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
    #7 0x7f8a4de23b48 in __libc_start_main_impl ../csu/libc-start.c:360
    #8 0x564fddc12cc4 in _start (/home/kajak/games/gemrb/build/gemrb/gemrb+0x9cc4) (BuildId: 68802816c050996daea42697ace23f46d40c42f5)

0x60b0002e4110 is located 0 bytes inside of 104-byte region [0x60b0002e4110,0x60b0002e4178)
freed by thread T0 here:
    #0 0x7f8a4f8e0c60 in operator delete(void*, unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:164
    #1 0x7f8a4eb28b4f in std::_Sp_counted_ptr<GemRB::Animation*, (__gnu_cxx::_Lock_policy)2>::_M_dispose() /usr/include/c++/12/bits/shared_ptr_base.h:428
    #2 0x564fddc1387b in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() /usr/include/c++/12/bits/shared_ptr_base.h:346
    #3 0x564fddc23e37 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1071
    #4 0x7f8a4eb0c6f7 in std::__shared_ptr<GemRB::Animation, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524
    #5 0x7f8a4eb0c717 in std::shared_ptr<GemRB::Animation>::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175
    #6 0x7f8a4eb23ae2 in void std::_Destroy<std::shared_ptr<GemRB::Animation> >(std::shared_ptr<GemRB::Animation>*) (/home/kajak/games/gemrb/build/gemrb/core/libgemrb_core.so.0.9.2-git+0x523ae2) (BuildId: 1c061eb3402b5a354f188ff7549238f6ca2b0680)
    #7 0x7f8a4eb21f98 in void std::_Destroy_aux<false>::__destroy<std::shared_ptr<GemRB::Animation>*>(std::shared_ptr<GemRB::Animation>*, std::shared_ptr<GemRB::Animation>*) (/home/kajak/games/gemrb/build/gemrb/core/libgemrb_core.so.0.9.2-git+0x521f98) (BuildId: 1c061eb3402b5a354f188ff7549238f6ca2b0680)
    #8 0x7f8a4eb1d4f8 in void std::_Destroy<std::shared_ptr<GemRB::Animation>*>(std::shared_ptr<GemRB::Animation>*, std::shared_ptr<GemRB::Animation>*) (/home/kajak/games/gemrb/build/gemrb/core/libgemrb_core.so.0.9.2-git+0x51d4f8) (BuildId: 1c061eb3402b5a354f188ff7549238f6ca2b0680)
    #9 0x7f8a4eb1893a in void std::_Destroy<std::shared_ptr<GemRB::Animation>*, std::shared_ptr<GemRB::Animation> >(std::shared_ptr<GemRB::Animation>*, std::shared_ptr<GemRB::Animation>*, std::allocator<std::shared_ptr<GemRB::Animation> >&) (/home/kajak/games/gemrb/build/gemrb/core/libgemrb_core.so.0.9.2-git+0x51893a) (BuildId: 1c061eb3402b5a354f188ff7549238f6ca2b0680)
    #10 0x7f8a4eb108d3 in std::vector<std::shared_ptr<GemRB::Animation>, std::allocator<std::shared_ptr<GemRB::Animation> > >::~vector() (/home/kajak/games/gemrb/build/gemrb/core/libgemrb_core.so.0.9.2-git+0x5108d3) (BuildId: 1c061eb3402b5a354f188ff7549238f6ca2b0680)
    #11 0x7f8a4eb0c56f in std::array<std::vector<std::shared_ptr<GemRB::Animation>, std::allocator<std::shared_ptr<GemRB::Animation> > >, 16ul>::~array() /usr/include/c++/12/array:99
    #12 0x7f8a4eb0c5fa in std::array<std::array<std::vector<std::shared_ptr<GemRB::Animation>, std::allocator<std::shared_ptr<GemRB::Animation> > >, 16ul>, 19ul>::~array() /usr/include/c++/12/array:99
    #13 0x7f8a4eaf6ad4 in GemRB::CharAnimations::~CharAnimations() /home/kajak/games/gemrb/gemrb/core/CharAnimations.cpp:692
    #14 0x7f8a4f0c60ad in GemRB::Actor::SetAnimationID(unsigned int) /home/kajak/games/gemrb/gemrb/core/Scriptable/Actor.cpp:440
    #15 0x7f8a4f0f2c79 in ChunkActor /home/kajak/games/gemrb/gemrb/core/Scriptable/Actor.cpp:4129
    #16 0x7f8a4f102eb4 in GemRB::Actor::Die(GemRB::Scriptable*, bool) /home/kajak/games/gemrb/gemrb/core/Scriptable/Actor.cpp:5276
    #17 0x7f8a4714651c in fx_death(GemRB::Scriptable*, GemRB::Actor*, GemRB::Effect*) /home/kajak/games/gemrb/gemrb/plugins/FXOpcodes/FXOpcodes.cpp:1549
    #18 0x7f8a4eb72b14 in GemRB::EffectDesc::operator()(GemRB::Scriptable*, GemRB::Actor*, GemRB::Effect*) const /home/kajak/games/gemrb/gemrb/core/EffectQueue.h:156
    #19 0x7f8a4eb66401 in GemRB::EffectQueue::ApplyEffect(GemRB::Actor*, GemRB::Effect*, unsigned int, unsigned int) const /home/kajak/games/gemrb/gemrb/core/EffectQueue.cpp:1277
    #20 0x7f8a4eb60f74 in GemRB::EffectQueue::AddEffect(GemRB::Effect*, GemRB::Scriptable*, GemRB::Actor*, GemRB::Point const&) const /home/kajak/games/gemrb/gemrb/core/EffectQueue.cpp:617
    #21 0x7f8a4eb6188c in GemRB::EffectQueue::AddAllEffects(GemRB::Actor*, GemRB::Point const&) /home/kajak/games/gemrb/gemrb/core/EffectQueue.cpp:719
    #22 0x7f8a4f05679a in GemRB::Projectile::Payload() /home/kajak/games/gemrb/gemrb/core/Projectile.cpp:487
    #23 0x7f8a4f05772d in GemRB::Projectile::GetNextTravelState() /home/kajak/games/gemrb/gemrb/core/Projectile.cpp:585
    #24 0x7f8a4f0594ee in GemRB::Projectile::DoStep() /home/kajak/games/gemrb/gemrb/core/Projectile.cpp:780
    #25 0x7f8a4f05e35d in GemRB::Projectile::Update() /home/kajak/games/gemrb/gemrb/core/Projectile.cpp:1232
    #26 0x7f8a4efab77c in GemRB::Map::UpdateProjectiles() /home/kajak/games/gemrb/gemrb/core/Map.cpp:1825
    #27 0x7f8a4ee73a2b in GemRB::GlobalTimer::Update() /home/kajak/games/gemrb/gemrb/core/GlobalTimer.cpp:164
    #28 0x7f8a4eec7c06 in GemRB::Interface::GSUpdate(bool) /home/kajak/games/gemrb/gemrb/core/Interface.cpp:2304
    #29 0x7f8a4eebfd84 in GemRB::Interface::GameLoop() /home/kajak/games/gemrb/gemrb/core/Interface.cpp:1769

previously allocated by thread T0 here:
    #0 0x7f8a4f8dfbb8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    #1 0x7f8a4ea851c9 in GemRB::AnimationFactory::GetCycle(unsigned short) const /home/kajak/games/gemrb/gemrb/core/AnimationFactory.cpp:54
    #2 0x7f8a4eaf830f in GemRB::CharAnimations::GetAnimation(unsigned char, GemRB::orient_t) /home/kajak/games/gemrb/gemrb/core/CharAnimations.cpp:1010
    #3 0x7f8a4f11afaa in GemRB::Actor::AdvanceAnimations() /home/kajak/games/gemrb/gemrb/core/Scriptable/Actor.cpp:7887
    #4 0x7f8a4f11cba3 in GemRB::Actor::UpdateDrawingState() /home/kajak/games/gemrb/gemrb/core/Scriptable/Actor.cpp:8066
    #5 0x7f8a4efa2f0f in GemRB::Map::DrawMap(GemRB::Region const&, GemRB::FogRenderer&, unsigned int) /home/kajak/games/gemrb/gemrb/core/Map.cpp:1269
    #6 0x7f8a4ebe7487 in GemRB::GameControl::DrawSelf(GemRB::Region const&, GemRB::Region const&) /home/kajak/games/gemrb/gemrb/core/GUI/GameControl.cpp:593
    #7 0x7f8a4eca7bc6 in GemRB::View::Draw() /home/kajak/games/gemrb/gemrb/core/GUI/View.cpp:266
    #8 0x7f8a4eca66cc in GemRB::View::DrawSubviews() const /home/kajak/games/gemrb/gemrb/core/GUI/View.cpp:198
    #9 0x7f8a4eca7bd5 in GemRB::View::Draw() /home/kajak/games/gemrb/gemrb/core/GUI/View.cpp:270
    #10 0x7f8a4eca66cc in GemRB::View::DrawSubviews() const /home/kajak/games/gemrb/gemrb/core/GUI/View.cpp:198
    #11 0x7f8a4eca7bd5 in GemRB::View::Draw() /home/kajak/games/gemrb/gemrb/core/GUI/View.cpp:270
    #12 0x7f8a4ecd4ae0 in GemRB::WindowManager::DrawWindows() const /home/kajak/games/gemrb/gemrb/core/GUI/WindowManager.cpp:612
    #13 0x7f8a4eeb2ae3 in GemRB::Interface::Main() /home/kajak/games/gemrb/gemrb/core/Interface.cpp:987
    #14 0x564fddc1313c in main /home/kajak/games/gemrb/gemrb/GemRB.cpp:67
    #15 0x7f8a4de23a8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58

from gemrb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.