Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2011-06-01 20:49:44 ERROR: AnticheatMgr:: Speed-Hack detected player GUID (low) 23817
- 2011-06-01 20:51:45 ERROR: World Thread hangs, kicking out server!
- 2011-06-01 20:51:45 ERROR:
- /home/FUN/sources/src/server/worldserver/Master.cpp:159 in run ASSERTION FAILED:
- false
- /lib/libpthread.so.0(+0x7971) [0x7f016bb7b971]
- /lib/libc.so.6(clone+0x6d) [0x7f016b8d792d]
- while (!World::IsStopped())
- {
- ACE_Based::Thread::Sleep(1000);
- uint32 curtime = getMSTime();
- // normal work
- if (w_loops != World::m_worldLoopCounter)
- {
- w_lastchange = curtime;
- w_loops = World::m_worldLoopCounter;
- }
- // possible freeze
- else if (getMSTimeDiff(w_lastchange, curtime) > _delaytime)
- {
- #ifdef WITH_AUTOBACKTRACE
- frozenCount++;
- if(frozenCount > 2) // kick into the servers ass
- {
- sLog->outError("World Thread hangs, kicking out server!");
- *((uint32 volatile*)NULL) = 0;
- }
- if(w_loops != frozenLoop)
- {
- sLog->outError("World Thread hangs, create backtrace!");
- char buffer[50]; // 26 chars + pid
- sprintf(buffer, "./createbacktrace %u freeze", getpid());
- if(system(buffer))
- sLog->outError("World Thread hangs, backtrace created!");
- else
- sLog->outError("World Thread hangs, backtrace creation failed!");
- w_lastchange = curtime;
- frozenLoop = w_loops;
- }
- else
- {
- sLog->outError("World Thread hangs, hang count: %u", frozenCount);
- }
- #else /* WITH_AUTOBACKTRACE */
- sLog->outError("World Thread hangs, kicking out server!");
- ASSERT(false); ----------------- CRASH --------------------
- #endif /* WITH_AUTOBACKTRACE */
- }
- }
- sLog->outString("Anti-freeze thread exiting without problems.");
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement