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.

Crash to investigate #75

@Ablu

Description

@Ablu

Crash from SoT server.

server commit: 71afa59

bt full:

(gdb) bt full
#0  0x0000000000546309 in ObjectBucket::isAllocated (this=0x2000000020, i=-120)
    at /home/tzork/tales/manaserv/src/game-server/mapcomposite.cpp:131
No locals.
#1  0x0000000000546fb3 in MapContent::findEntityById (this=0x8ac1e0, 
    publicId=-26232)
    at /home/tzork/tales/manaserv/src/game-server/mapcomposite.cpp:408
        bucketIndex = -120
        b = 0x2000000020
#2  0x000000000054890e in MapComposite::findEntityById (this=0x8014c0, 
    publicId=-26232)
    at /home/tzork/tales/manaserv/src/game-server/mapcomposite.cpp:745
No locals.
#3  0x000000000052fb85 in findActorNear (p=0xec7350, id=-26232)
    at /home/tzork/tales/manaserv/src/game-server/gamehandler.cpp:143
        e = 0x7fffffffe670
        map = 0x8014c0
#4  0x0000000000530a47 in GameHandler::handleNpc (this=0x831d30, client=..., 
    message=...)
    at /home/tzork/tales/manaserv/src/game-server/gamehandler.cpp:449
        id = -26232
        actor = 0x7fffffffe670
#5  0x000000000052ff41 in GameHandler::processMessage (this=0x831d30, 
    computer=0x9f6770, message=...)
---Type <return> to continue, or q <return> to quit---
    at /home/tzork/tales/manaserv/src/game-server/gamehandler.cpp:204
        client = @0x9f6770: {<NetComputer> = {_vptr.NetComputer = 0x594830, 
            mPeer = 0x7ffff7eda1d0}, character = 0xec7350, status = 1}
#6  0x00000000004e5ed0 in ConnectionHandler::process (this=0x831d30, timeout=0)
    at /home/tzork/tales/manaserv/src/net/connectionhandler.cpp:129
        msg = {mData = 0xedf970 "\002Ù\210", mLength = 4, mId = 707, 
          mDebugMode = false, mPos = 4}
        comp = 0x9f6770
        event = {type = ENET_EVENT_TYPE_RECEIVE, peer = 0x7ffff7eda1d0, 
          channelID = 0 '\000', data = 32767, packet = 0xedf2b0}
#7  0x00000000004ee0b3 in main (argc=1, argv=0x7fffffffe678)
    at /home/tzork/tales/manaserv/src/game-server/main-game.cpp:433
        elapsedTicks = 0
        isConnected = true
        waittime = 0
        options = {configPath = {static npos = <optimized out>, 
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff71fb4d8 ""}}, 
          verbosity = utils::Logger::Info, verbosityChanged = false, 
          port = 9604, portChanged = false}
        debugNetwork = true
        accountServerLost = false
(gdb) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions