Advertisement
Guest User

Untitled

a guest
Sep 14th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. 2011-06-01 20:49:44 ERROR: AnticheatMgr:: Speed-Hack detected player GUID (low) 23817
  2. 2011-06-01 20:51:45 ERROR: World Thread hangs, kicking out server!
  3. 2011-06-01 20:51:45 ERROR:
  4. /home/FUN/sources/src/server/worldserver/Master.cpp:159 in run ASSERTION FAILED:
  5. false
  6. /lib/libpthread.so.0(+0x7971) [0x7f016bb7b971]
  7. /lib/libc.so.6(clone+0x6d) [0x7f016b8d792d]
  8.  
  9.  
  10. while (!World::IsStopped())
  11. {
  12. ACE_Based::Thread::Sleep(1000);
  13. uint32 curtime = getMSTime();
  14. // normal work
  15. if (w_loops != World::m_worldLoopCounter)
  16. {
  17. w_lastchange = curtime;
  18. w_loops = World::m_worldLoopCounter;
  19. }
  20. // possible freeze
  21. else if (getMSTimeDiff(w_lastchange, curtime) > _delaytime)
  22. {
  23. #ifdef WITH_AUTOBACKTRACE
  24. frozenCount++;
  25.  
  26. if(frozenCount > 2) // kick into the servers ass
  27. {
  28. sLog->outError("World Thread hangs, kicking out server!");
  29. *((uint32 volatile*)NULL) = 0;
  30. }
  31.  
  32. if(w_loops != frozenLoop)
  33. {
  34. sLog->outError("World Thread hangs, create backtrace!");
  35. char buffer[50]; // 26 chars + pid
  36.  
  37. sprintf(buffer, "./createbacktrace %u freeze", getpid());
  38. if(system(buffer))
  39. sLog->outError("World Thread hangs, backtrace created!");
  40. else
  41. sLog->outError("World Thread hangs, backtrace creation failed!");
  42. w_lastchange = curtime;
  43. frozenLoop = w_loops;
  44. }
  45. else
  46. {
  47. sLog->outError("World Thread hangs, hang count: %u", frozenCount);
  48. }
  49. #else /* WITH_AUTOBACKTRACE */
  50. sLog->outError("World Thread hangs, kicking out server!");
  51. ASSERT(false); ----------------- CRASH --------------------
  52. #endif /* WITH_AUTOBACKTRACE */
  53. }
  54. }
  55. sLog->outString("Anti-freeze thread exiting without problems.");
  56. }
  57. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement