View Full Version : Server crashes
Server crashes every 15 minutes with error like
void IOThread_common(void *arglist) <--
void CIOSocket::ReadCallback(DWORD dwTransferred) <--
CUserSocket::OnRead <--
SysCMD2Packet <--
bool BuilderCmd2Handler(CSocket* pSocket, const unsigned char *packet) <--
BuilderCmd_announce <--
void BroadcastToAllUser_Announce(const WCHAR* pszAnnounce) <--
void BroadCastToAllUser(const char* format, ...) <--
FOR ALL OBJECT IN OBJECT MAP <--
in_code <--
ASYNCHRONOUS_SERIALIZE_FAST_IMPL(CSocket, AsyncSendConstBuffer, CIOBuffer*, pBuffer)
Without tontor's patch.
In last days it's crashes every evening when online more than 800 people.
CPU loading no 100%, seems tha it's not lag or deadlock.
Absolutely don't know what to do :(
One more error
void IOThread_common(void *arglist) <--
void CIOObject::TimerDispatch(bool bRootLoop) <--
void CThreadLocalTimer::Dispath <--
void CIOObject::OnIOCallback(BOOL bSucess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) <--
void CCreatureController::TimerExpired(int id) <--
inline void AddExecutable(MemoryObject *Matrix, Native Func, CExecutionArgument* Arg) <--
add exec - func call <--
async timer 2 <--
ASYNCHRONOUS_SERIALIZE_IMPL1(CCreatureController, AsyncTimerExpired, int, id) <--
void CCreatureController::DoPendingAction(int nRecursiveCount) <--
bool CAttackAction::OnStart() <--
bool CAttackAction::CheckBowCondition(CCreature *pActor) <--
int CInventory::UseArrow(CrystalType enumCrystalType, int nCount) <--
CCreature::DeleteItemInInventoryBeforeCommit() <--
User::SendItemList() <--
void CSocket::Send(const char* format, ...) <--
void CSocket::SendV(const char* format, va_list va)
And more
void IOThread_common(void *arglist) <--
void CNPCSocketPacket::OnIOCallback(BOOL bSuccess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) <--
void CPacket::OnIOCallback(BOOL bSuccess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) <--
cpacket::oniocallback_funccall <--
bool NpcMovePacket(NpcSocket* pSocket, const unsigned char *pPacket) <--
CCreature::MoveToLocation <--
inline void AddExecutable(MemoryObject *Matrix, Native Func, CExecutionArgument* Arg) <--
add exec - func call <--
void CCreatureController::Move <--
void CCreatureController::DoFirstAction() <--
void CMoveAction::Start() <--
void CMoveAction::SetMoving() <--
void CCreatureController::ActionBroadcastMove(FVector vStart, FVector vTo) <--
void BroadcastToNeighborDist(FVector vPos, double dist, const char* format, ...) <--
FOR ALL NEIGHBOR USER FAST <--
ASYNCHRONOUS_SERIALIZE_FAST_IMPL(CSocket, AsyncSendConstBuffer, CIOBuffer*, pBuffer)
I have the same errors >>> const char* format, va_list va) server is highly unstable last week.
1 sux, 2 sux too
3 interesting
u host NPC server on same machine wit l2server?
I'm very sorry. After patching new clean exe, to remove tontor antihtml bug patch forget to fix teleport hack. I think the most part of this errors because of it.
But after patching I've got a new error
Server Up Time Sun Nov 13 23:48:05 2005
Current Time : Mon Nov 14 01:56:19 2005
Elapsed Time : 0 days 2 hours 8 minutes 14 seconds
IOBufferPool - 2883
[(3680) 2005/11/14 01:56:19]: =======================
a Privileged Instruction in module SHELL32.dll at 001b:776a5053.
start at 2005/11/13 23:48:00
Registers:
EAX=ffffd42f CS=001b EIP=776a5053 EFLGS=00010286
EBX=730057b5 SS=0023 ESP=71a3fdf0 EBP=71a3fe14
ECX=00000075 DS=0023 ESI=8b41e034 FS=003b
EDX=3353ee18 ES=0023 EDI=00000001 GS=0000
Bytes at CS:EIP:
fb fa fe fc fc ff ff ff ff ff ff ff ff ff ff ff
Stack dump:
71a3fdf0: 8c56571c 00000000 730057b5 71a3fde0 71a3fe4c 71a3fdf0 71a3fe4c 005ac6b0
71a3fe10: ffffffff 71a3fe58 00503181 ffffd42f 75d98c01 75d98c01 8c56571c 00000000
71a3fe30: 75d98cb0 00000001 00023c37 ffffd42f 730057b5 a46c07cc 71a3fe28 71a3feb8
71a3fe50: 005acdf0 ffffffff 71a3fec4 0050fa78 8c56571c 75d98cc1 012cb5a4 8c56571c
71a3fe70: 77e4193e 0000002f 71a3fedc 00000213 71c012ca 000006b6 0039daf0 71c11a16
71a3fe90: 00000000 012cb591 00398c30 000003e5 71a3ff78 00000220 006c0794 20b0839c
71a3feb0: 75d98cb0 71a3fe68 71a3fee4 005ad778 ffffffff 71a3fef0 00539866 012cb5a4
71a3fed0: 8c56571c 77e4193e 71a3ff0c 71a3feec 71a3fecc 71a3ff6c 005afaa0 ffffffff
71a3fef0: 71a3ff78 0053be2a 00000218 00000001 0053cbe6 00000001 00000218 8c566a0c
71a3ff10: 00000000 00000001 78b83ef8 00000000 00001000 00010000 bffeffff 00000003
ver = Jun 8 2004____15:38:30 thread id=1
void IOThread_common(void *arglist) <--
void CIOSocket::ReadCallback(DWORD dwTransferred) <--
CUserSocket::OnRead <--
IconAction <--
User::IconAction()
Thread[0] (good): Lock Stack :
Thread[1] (ahehe): Lock Stack :
And in logs
11/14/2005 01:56:xx.xx6, item [id:ffffd2da] null at file[UserSocket.cpp], line[898]
11/14/2005 01:56:xx.xx6, item [id:ffffd2da] null at file[UserSocket.cpp], line[898]
11/14/2005 01:56:xx.xx6, [U][921]What a wonderful world. item server id[-11558], amount[318789783]
11/14/2005 01:56:xx.xx6, item [id:ffffd2d4] null at file[UserSocket.cpp], line[898]
11/14/2005 01:56:xx.xx6, [U][921]What a wonderful world. item server id[-11564], amount[318789783]
11/14/2005 01:56:xx.xx6, [pc_param.cpp][532] Some parameter is invalid sex[1] clstype[38] movetype[-11564] envtype[0]
11/14/2005 01:56:xx.xx6, [UserSocket.cpp][5949]What a wonderful world. item server id[-11564], amount[1929402519]
11/14/2005 01:56:xx.xx6, [UserSocket.cpp][2769] ShortCutUsePacket deprecated!!!
11/14/2005 01:56:xx.xx6, [UserSocket.cpp][2769] ShortCutUsePacket deprecated!!!
Never seen it before.
IOThread [5] (ahehe): void IOThread_common(void *arglist) -> void CPacket::OnIOCallback(BOOL bSuccess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) -> cpacket::oniocallback_funccall -> static bool LoadCharacterPacket(CSocket* pSocket, const unsigned char* packet) -> FOR ALL OBJECT IN OBJECT MAP -> void RWLock::ReadLock()
Lock Stack : RW ReadLock(5187376[4f2730]) -> RW ReadLock(124132120[7661b18])
same error.. any solution? please ;[
Same Error here: ShortCutUsePacket deprecated