World Crash: CheckPlayerChangedContinents (Chat)
Posted: Thu Aug 20, 2015 6:30 am
Great, so the world is crashing alright, but not in the ThreadRun we need it to
Better stack:
In Mutex.cpp @ while (!TryAcquireSRWLockShared(&lock))
But walking back up the stack, to auto wclient = net.GetClient(character->GetAccountID()); wclient is empty, from the destroyed HandleClientAuthConfirm function
The console is a sea of red:
[quote]23:15:36.053 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.054 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.055 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.056 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.057 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.058 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.060 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.061 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.062 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.063 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.064 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.065 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.067 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.068 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:334
23:15:36.069 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:334
23:15:36.070 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.071 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:334
23:15:36.072 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.073 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:334
23:15:36.075 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.076 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.077 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.078 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.079 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.080 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.082 E Attrib Value (0) is greater then attribute max (-1) for attribute 238 at c:\vgoemu\src\world\worldchara
cter_attributes.cpp:305
23:15:36.083 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:334
23:15:36.084 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.085 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.086 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.087 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.089 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.090 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.091 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:835
23:15:36.093 D Ability Loaded 0 forms for character id 435.
23:15:36.094 E Char AddTitle: The character Sile already has the title 'Citizen'.
23:15:36.095 E Char AddTitle: The character Sile already has the title 'of VGOEmulator'.
23:15:36.097 D Char Loading Inventory for character_id 435
23:15:36.147 I Char Loaded 121 items for character_id 435
23:15:36.148 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Loud Criticism'.
23:15:36.149 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Enticing Whisper'.
23:15:36.151 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Read My Lips'.
23:15:36.152 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Shifting Arguments'.
23:15:36.153 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Gut Feeling'.
23:15:36.154 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Greener Pastures'.
23:15:36.156 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Aggressive Statement'.
23:15:36.157 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Itemized Comparison'.
23:15:36.158 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Flat Dismissal'.
23:15:36.159 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Lay Blame'.
23:15:36.161 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Truth Be Told'.
23:15:36.162 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Disarming Rebuttal'.
23:15:36.163 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Snippet of Wisdom'.
23:15:36.164 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Frank Discussion'.
23:15:36.165 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Exchange of Views'.
23:15:36.167 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Common Ground'.
23:15:36.168 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Moral Authority'.
23:15:36.169 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Varanthari Stare'.
23:15:36.170 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Sorcerer's Point'.
23:15:36.171 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Piece of Mind'.
23:15:36.172 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Bit of Charm'.
23:15:36.174 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Flash of Inspiration'.
23:15:36.176 D Char ToggleIsOnline: Setting player online
23:15:36.179 D Char Successfully loaded character 'Sile' (435)
[/quote]
Entire log attached
Better stack:
Code: Select all
ntdll.dll!77cb8537() Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
> WorldServer.exe!Mutex::ReadLock() Line 99 C++
WorldServer.exe!WorldCharacter::IsInChatChannel(unsigned int id) Line 218 C++
WorldServer.exe!WorldCharacter::SendChatChannels() Line 374 C++
WorldServer.exe!ChunkServer::CheckPlayerChangedContinents(std::shared_ptr<Client> & client, std::shared_ptr<WorldCharacter> & character) Line 1878 C++
WorldServer.exe!ChunkServer::HandleClientAuthConfirm(std::shared_ptr<Client> & client, PacketStruct * packet_struct) Line 1311 C++
WorldServer.exe!ChunkServer::ProcessPackets() Line 377 C++
WorldServer.exe!ChunkPacketThread(void * data) Line 121 C++
WorldServer.exe!ThreadRun(void * arg) Line 77 C++
WorldServer.exe!_callthreadstart() Line 255 C
WorldServer.exe!_threadstart(void * ptd) Line 239 C
kernel32.dll!7716337a() Unknown
ntdll.dll!77c492e2() Unknown
ntdll.dll!77c492b5() Unknown
But walking back up the stack, to auto wclient = net.GetClient(character->GetAccountID()); wclient is empty, from the destroyed HandleClientAuthConfirm function
The console is a sea of red:
[quote]23:15:36.053 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.054 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.055 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.056 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.057 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.058 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.060 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.061 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.062 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.063 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.064 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.065 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.067 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.068 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:334
23:15:36.069 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:334
23:15:36.070 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.071 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:334
23:15:36.072 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.073 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:334
23:15:36.075 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.076 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.077 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.078 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.079 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.080 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.082 E Attrib Value (0) is greater then attribute max (-1) for attribute 238 at c:\vgoemu\src\world\worldchara
cter_attributes.cpp:305
23:15:36.083 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:334
23:15:36.084 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.085 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.086 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.087 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.089 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.090 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:217.
23:15:36.091 E Attrib Failed to get character chunk at c:\vgoemu\src\world\worldcharacter_attributes.cpp:835
23:15:36.093 D Ability Loaded 0 forms for character id 435.
23:15:36.094 E Char AddTitle: The character Sile already has the title 'Citizen'.
23:15:36.095 E Char AddTitle: The character Sile already has the title 'of VGOEmulator'.
23:15:36.097 D Char Loading Inventory for character_id 435
23:15:36.147 I Char Loaded 121 items for character_id 435
23:15:36.148 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Loud Criticism'.
23:15:36.149 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Enticing Whisper'.
23:15:36.151 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Read My Lips'.
23:15:36.152 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Shifting Arguments'.
23:15:36.153 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Gut Feeling'.
23:15:36.154 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Greener Pastures'.
23:15:36.156 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Aggressive Statement'.
23:15:36.157 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Itemized Comparison'.
23:15:36.158 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Flat Dismissal'.
23:15:36.159 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Lay Blame'.
23:15:36.161 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Truth Be Told'.
23:15:36.162 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Disarming Rebuttal'.
23:15:36.163 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Snippet of Wisdom'.
23:15:36.164 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Frank Discussion'.
23:15:36.165 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Exchange of Views'.
23:15:36.167 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Common Ground'.
23:15:36.168 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Moral Authority'.
23:15:36.169 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Varanthari Stare'.
23:15:36.170 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Sorcerer's Point'.
23:15:36.171 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Piece of Mind'.
23:15:36.172 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Bit of Charm'.
23:15:36.174 E Diplo AddDiplomacy: The character Sile already has the diplomacy card 'Flash of Inspiration'.
23:15:36.176 D Char ToggleIsOnline: Setting player online
23:15:36.179 D Char Successfully loaded character 'Sile' (435)
[/quote]
Entire log attached