Page 1 of 1

World hung, no comms

Posted: Sun Dec 01, 2013 12:42 pm
by John Adams
Looks like our old friend the "I will not crash, but I also won't let anyone in" bug is back. Alfa reported the server hung, so I went to investigate. I see nothing in the console that appears at fault, but there are 5 clients (not really) and 1 zone (also not really) connected. I clicked the Pause button on VS2010, but not sure how revealing this stack will be:
ntdll.dll!_KiFastSystemCallRet@0()
ntdll.dll!_NtDelayExecution@8() + 0xc bytes
kernel32.dll!_SleepEx@8() + 0x4d bytes
kernel32.dll!_Sleep@4() + 0xf bytes
> EQ2World.exe!MutexMap<unsigned int,Spawn *>::count(unsigned int key, bool include_pending) Line 95 + 0x4 bytes C++
EQ2World.exe!Brain::GetMostHated() Line 212 + 0x17 bytes C++
EQ2World.exe!Brain::Think() Line 58 C++
EQ2World.exe!Mutex::releasewritelock(const char * function, unsigned int line) Line 237 + 0x50 bytes C++
EQ2World.exe!NPC::ProcessCombat() Line 890 C++
EQ2World.exe!ZoneServer::CombatProcess() Line 990 C++
EQ2World.exe!ZoneServer::SpawnProcess() Line 1045 C++
EQ2World.exe!SpawnLoop(void * tmp) Line 5239 + 0x9 bytes C++
EQ2World.exe!_callthreadstart() Line 259 + 0x6 bytes C
EQ2World.exe!_threadstart(void * ptd) Line 241 + 0x5 bytes C
kernel32.dll!_BaseThreadStart@8() + 0x34 bytes

Re: World hung, no comms

Posted: Tue Dec 03, 2013 8:54 am
by John Adams
Heads up, it appears no one can connect to EQ2TC anymore. I see a few connection attempts, and zero success. Same thing happens, AddAuth, then nothing.

Re: World hung, no comms

Posted: Tue Dec 03, 2013 1:26 pm
by Jabantiz
I hate this bug as there is no real info on what is causing it. The stack is probably just where the server was when you hit pause, it is in combat so I can look over that code to see if something is wrong but doubt I will find anything with no info being reported to us from the server.

Re: World hung, no comms

Posted: Wed Dec 04, 2013 2:52 pm
by Jabantiz
Just got this on my local server, when I hit pause I was at

Code: Select all

ThreadReturnType TCPConnectionLoop(void* tmp)
I was just standing afk in the zone when I came back I was in this situation, no clue what is going on.