Bot crash on playerlogin

Issue #16 resolved
David Magalhães created an issue
[New Thread 23951]
[New Thread 23957]
[New Thread 23956]
[New Thread 23955]
[New Thread 23954]
[New Thread 23952]
[New Thread 23950]
[New Thread 23929]
[New Thread 23928]
[New Thread 23927]
[New Thread 23926]
[New Thread 23925]
[New Thread 23924]
[New Thread 23922]
[New Thread 23921]
[Thread debugging using libthread_db enabled]
Core was generated by `/home/server/Core/Winterchill/bin/worldserver'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000014bf395 in free ()
#0  0x00000000014bf395 in free ()
No symbol table info available.
#1  0x0000000000e7adc0 in SQLQueryHolder::~SQLQueryHolder() ()
No symbol table info available.
#2  0x0000000000df122c in WorldSession::HandlePlayerBotLogin(SQLQueryHolder*) ()
No symbol table info available.
#3  0x0000000000b983af in WorldSession::ProcessQueryCallbacks() ()
No symbol table info available.
#4  0x0000000000b99025 in WorldSession::Update(unsigned int, PacketFilter&) ()
No symbol table info available.
#5  0x0000000000c2ce7c in World::UpdateSessions(unsigned int) ()
No symbol table info available.
#6  0x0000000000c35a53 in World::Update(unsigned int) ()
No symbol table info available.
#7  0x00000000008537aa in WorldRunnable::run() ()
No symbol table info available.
#8  0x0000000000e8571a in ACE_Based::Thread::ThreadTask(void*) ()
No symbol table info available.
#9  0x00002b6c0090d353 in ACE_OS_Thread_Adapter::invoke (this=0x90002)
    at ../../ace/OS_Thread_Adapter.cpp:103
        hook = 0x2aaae3144100
        func = 0xe85710 <ACE_Based::Thread::ThreadTask(void*)>
        arg = 0x2aaad486e5f0
        cancel_flags = <value optimized out>
        status = 0xffffffffffc00000
#10 0x00000035ef60677d in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#11 0x00000035eeed33ed in clone () from /lib64/libc.so.6
No symbol table info available.

Comments (3)

  1. trickerer repo owner

    13da83f37e
    it changes CharacterHandler.cpp row 1087

    botSession->HandlePlayerLogin(lqh);
        Player* const botPlayer = botSession->GetPlayer();
    
        if (!botPlayer) // Probably excessively verbose..
        {
            //sLog->outError("Excessively verbose Playerbot error checkpoint #5 hit. Please report this error immediately.");
    -        if (holder) delete holder;
    +        //if (holder) delete holder; //already deleted in HandlePlayerLogin
            if (botSession) delete botSession;
            return;
        }
    
  2. Log in to comment