World Crash in Client::GetCharacter()
Posted: Thu Sep 25, 2014 9:23 pm
Getting a lot more crashes than usual again. If this is a work-in-progress, please let me know what rev to roll New Telon back to until the work is finished.
Stack
Code:
"character" is unreadable data.
Stack
Code: Select all
> WorldServer.exe!std::_Ptr_base<WorldCharacter>::_Reset<WorldCharacter>(const std::_Ptr_base<WorldCharacter> & _Other, bool _Throw) Line 363 C++
WorldServer.exe!std::shared_ptr<WorldCharacter>::shared_ptr<WorldCharacter><WorldCharacter>(const std::weak_ptr<WorldCharacter> & _Other, bool _Throw) Line 552 C++
WorldServer.exe!std::weak_ptr<WorldCharacter>::lock() Line 1051 C++
WorldServer.exe!Client::GetCharacter() Line 103 C++
WorldServer.exe!ChunkServer::DisconnectChunkClient(std::shared_ptr<Client> chunk_client, unsigned short reason_id) Line 2352 C++
WorldServer.exe!UDPServer::KickDupeClients(unsigned int account_id, unsigned int connection_id) Line 249 C++
WorldServer.exe!Net::HandleCharacterSelected(std::shared_ptr<Client> & client, PacketStruct * packet_struct) Line 377 C++
WorldServer.exe!Net::Process() Line 159 C++
WorldServer.exe!main(int argc, char * * argv) Line 159 C++
WorldServer.exe!__tmainCRTStartup() Line 241 C
WorldServer.exe!mainCRTStartup() Line 164 C
kernel32.dll!76a1338a() Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
ntdll.dll!77c49f72() Unknown
ntdll.dll!77c49f45() Unknown
Code: Select all
shared_ptr<WorldCharacter> Client::GetCharacter() { return character.lock();}