Jump to content
  • ByteBufferException::PrintPosError()


    madmax
    • Status: Completed
      Main Category: Core / Mangos Daemon
      Sub-Category: Core Freeze
      Version: 0.20(currentmasterbranch) Milestone: 21 Priority: Normal
      Implemented Version: 0.20(currentmasterbranch)

    ByteBufferException::PrintPosError()

    Below error captured on Zero / Rel20

    02:13:33 Attempted to get in ByteBuffer (pos: 44 size: 44) value with size: 4
    ByteBufferException::PrintPosError() g:\server\src\shared\bytebuffer.cpp: 33 + 0x12
    ByteBufferException::ByteBufferException() g:\server\src\shared\bytebuffer.h: 50 + 0x0
    ByteBuffer::read() g:\server\src\shared\bytebuffer.h: 535 + 0x19
    ByteBuffer::read() g:\server\src\shared\bytebuffer.h: 521 + 0xe
    ByteBuffer::operator>>() g:\server\src\shared\bytebuffer.h: 397 + 0x8
    MovementInfo::Read() g:\server\src\game\unit.cpp: 124 + 0x0
    operator>>() g:\server\src\game\unit.h: 728 + 0x0
    WorldSession::HandleMoveWaterWalkAck() g:\server\src\game\movementhandler.cpp: 566 + 0xd
    WorldSession::ExecuteOpcode() g:\server\src\game\worldsession.cpp: 722 + 0x11
    WorldSession::Update() g:\server\src\game\worldsession.cpp: 238 + 0x0
    Map::Update() g:\server\src\game\map.cpp: 472 + 0x0
    MapManager::Update() g:\server\src\game\mapmanager.cpp: 184 + 0x38
    World::Update() g:\server\src\game\world.cpp: 1499 + 0x0
    WorldRunnable::run() g:\server\src\mangosd\worldrunnable.cpp: 67 + 0x0
    ACE_Based::Thread::ThreadTask() g:\server\src\shared\threading.cpp: 197 + 0xf
    ACE_OS_Thread_Adapter::invoke()+0xe5 [0x0]
    ace_thread_adapter()+0x2a [0x0]
    beginthreadex()+0x1a1 [0x0]
    endthreadex()+0x181 [0x0]
    BaseThreadInitThunk()+0x12 [0x0]
    RtlInitializeExceptionChain()+0x63 [0x0]
    RtlInitializeExceptionChain()+0x36 [0x0]


    02:13:33 WorldSession::Update ByteBufferException occured while parsing a packet (opcode: 720) from client 0.0.0.0, accountid=0.



    23:41:13 WorldSession::Update ByteBufferException occured while parsing a packet (opcode: 231) from client 0.0.0.0, accountid=0.
    23:41:14 Attempted to get in ByteBuffer (pos: 44 size: 44) value with size: 4
    ByteBufferException::PrintPosError() g:\server\src\shared\bytebuffer.cpp: 33 + 0x12
    ByteBufferException::ByteBufferException() g:\server\src\shared\bytebuffer.h: 50 + 0x0
    ByteBuffer::read() g:\server\src\shared\bytebuffer.h: 535 + 0x19
    ByteBuffer::read() g:\server\src\shared\bytebuffer.h: 521 + 0xe
    ByteBuffer::operator>>() g:\server\src\shared\bytebuffer.h: 397 + 0x8
    MovementInfo::Read() g:\server\src\game\unit.cpp: 124 + 0x0
    operator>>() g:\server\src\game\unit.h: 728 + 0x0
    WorldSession::HandleForceSpeedChangeAckOpcodes() g:\server\src\game\movementhandler.cpp: 368 + 0xd
    WorldSession::ExecuteOpcode() g:\server\src\game\worldsession.cpp: 722 + 0x11
    WorldSession::Update() g:\server\src\game\worldsession.cpp: 238 + 0x0
    Map::Update() g:\server\src\game\map.cpp: 472 + 0x0
    MapManager::Update() g:\server\src\game\mapmanager.cpp: 184 + 0x38
    World::Update() g:\server\src\game\world.cpp: 1499 + 0x0
    WorldRunnable::run() g:\server\src\mangosd\worldrunnable.cpp: 67 + 0x0
    ACE_Based::Thread::ThreadTask() g:\server\src\shared\threading.cpp: 197 + 0xf
    ACE_OS_Thread_Adapter::invoke()+0xe5 [0x0]
    ace_thread_adapter()+0x2a [0x0]
    beginthreadex()+0x1a1 [0x0]
    endthreadex()+0x181 [0x0]
    BaseThreadInitThunk()+0x12 [0x0]
    RtlInitializeExceptionChain()+0x63 [0x0]
    RtlInitializeExceptionChain()+0x36 [0x0]


    23:41:14 WorldSession::Update ByteBufferException occured while parsing a packet (opcode: 227) from client 0.0.0.0, accountid=0.
    23:41:15 Attempted to get in ByteBuffer (pos: 44 size: 44) value with size: 4
    ByteBufferException::PrintPosError() g:\server\src\shared\bytebuffer.cpp: 33 + 0x12
    ByteBufferException::ByteBufferException() g:\server\src\shared\bytebuffer.h: 50 + 0x0
    ByteBuffer::read() g:\server\src\shared\bytebuffer.h: 535 + 0x19
    ByteBuffer::read() g:\server\src\shared\bytebuffer.h: 521 + 0xe
    ByteBuffer::operator>>() g:\server\src\shared\bytebuffer.h: 397 + 0x8
    MovementInfo::Read() g:\server\src\game\unit.cpp: 124 + 0x0
    operator>>() g:\server\src\game\unit.h: 728 + 0x0
    WorldSession::HandleForceSpeedChangeAckOpcodes() g:\server\src\game\movementhandler.cpp: 368 + 0xd
    WorldSession::ExecuteOpcode() g:\server\src\game\worldsession.cpp: 722 + 0x11
    WorldSession::Update() g:\server\src\game\worldsession.cpp: 238 + 0x0
    Map::Update() g:\server\src\game\map.cpp: 472 + 0x0
    MapManager::Update() g:\server\src\game\mapmanager.cpp: 184 + 0x38
    World::Update() g:\server\src\game\world.cpp: 1499 + 0x0
    WorldRunnable::run() g:\server\src\mangosd\worldrunnable.cpp: 67 + 0x0
    ACE_Based::Thread::ThreadTask() g:\server\src\shared\threading.cpp: 197 + 0xf
    ACE_OS_Thread_Adapter::invoke()+0xe5 [0x0]
    ace_thread_adapter()+0x2a [0x0]
    beginthreadex()+0x1a1 [0x0]
    endthreadex()+0x181 [0x0]
    BaseThreadInitThunk()+0x12 [0x0]
    RtlInitializeExceptionChain()+0x63 [0x0]
    RtlInitializeExceptionChain()+0x36 [0x0]


    23:41:15 WorldSession::Update ByteBufferException occured while parsing a packet (opcode: 231) from client 0.0.0.0, accountid=0.


    User Feedback

    Recommended Comments

    Xenithar

    Posted

    Is this causing the core to crash? What is the effect of this and how is it being caused?

    Foereaper

    Posted

    Fixed with this commit, please confirm:

    [url]https://github.com/mangoszero/server/commit/8be9b36224aab1a76306c69628163b5c7f33ae0d[/url]



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use