Skip to content
This repository was archived by the owner on Sep 25, 2018. It is now read-only.
This repository was archived by the owner on Sep 25, 2018. It is now read-only.

Server crash from SOT #80

@Ablu

Description

@Ablu
manaserv-game: /home/mana/manaserv/src/game-server/inventory.cpp:468: bool Inventory::equip(int): Assertion `itemIt != mPoss->inventory.end()' failed.

Backtrace:

(gdb) bt full
#0  0x00007ffff62f86f5 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007ffff62fa2fa in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00007ffff62f0f97 in __assert_fail_base () from /lib64/libc.so.6
No symbol table info available.
#3  0x00007ffff62f1042 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
#4  0x000000000056ad16 in Inventory::equip (this=0x7fffffffda30, inventorySlot=10) at /home/mana/manaserv/src/game-server/inventory.cpp:468
        slot = 9
        itemIt = {first = 8, second = {slot = 0, itemId = 23238208, amount = 0, equipmentSlot = 0}}
        it = 9
        it_end = 7
        itemIt = {first = 10, second = {slot = 0, itemId = 45, amount = 1, equipmentSlot = 0}}
        item = @0xb83bb4: {slot = 0, itemId = 45, amount = 1, equipmentSlot = 0}
        equipReq = @0x9054a0: {equipSlotId = 5, capacityRequired = 1}
        slotsToUnequipFirst = std::set with 1 elements = {[0] = 6}
        __PRETTY_FUNCTION__ = "bool Inventory::equip(int)"
        equipMsg = {mData = 0xe69c70 "'", mPos = 11942048, mDataSize = 0, mDebugMode = 224}
#5  0x00000000005661b9 in GameHandler::handleEquip (this=0x87df60, client=..., message=...) at /home/mana/manaserv/src/game-server/gamehandler.cpp:614
        slot = 10
        msg = {mData = 0x15b2ad0 "\001#h\366\377\177", mPos = 2, mDataSize = 16, mDebugMode = false}
#6  0x00000000005649f8 in GameHandler::processMessage (this=0x87df60, computer=0x11ab0a0, message=...) at /home/mana/manaserv/src/game-server/gamehandler.cpp:224
        client = @0x11ab0a0: {<NetComputer> = {_vptr.NetComputer = 0x5cb248 <vtable for GameClient+16>, mPeer = 0x7ffff7ed4010}, character = 0x1618f70, status = 1}
#7  0x0000000000518277 in ConnectionHandler::process (this=0x87df60, timeout=0) at /home/mana/manaserv/src/net/connectionhandler.cpp:129
        msg = {mData = 0xe69c60 "\001\022", mLength = 4, mId = 274, mDebugMode = false, mPos = 4}
        comp = 0x11ab0a0
        event = {type = ENET_EVENT_TYPE_RECEIVE, peer = 0x7ffff7ed4010, channelID = 0 '\000', data = 0, packet = 0x1c65890}
#8  0x0000000000520ab2 in main (argc=3, argv=0x7fffffffe4f8) at /home/mana/manaserv/src/game-server/main-game.cpp:433
        elapsedTicks = 0
        options = {configPath = "config.xml", verbosity = utils::Logger::Warn, verbosityChanged = false, port = 9604, portChanged = false}
        debugNetwork = false
        isConnected = true
        waittime = 0
        accountServerLost = false
(gdb) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions