Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 07.09.2005, 14:19   #1
wen
Архивный участник
 
Join Date: Sep 2005
Posts: 21
Default buffer overflow in packets.

09/06/2005 16:13:xx.xx2, [ffffffa7]
09/06/2005 16:13:xx.xx2, [65]
09/06/2005 16:13:xx.xx2, [32]
09/06/2005 16:13:xx.xx2, [ffffff90]
09/06/2005 16:13:xx.xx2, [5e]
09/06/2005 16:13:xx.xx2, [5d]
09/06/2005 16:13:xx.xx2, [5f]
09/06/2005 16:13:xx.xx2, [2b]
09/06/2005 16:13:xx.xx2, [5f]
09/06/2005 16:13:xx.xx2, [ffffffb7]
09/06/2005 16:13:xx.xx2, [fffffffe]
09/06/2005 16:13:xx.xx2, [ffffffd5]
09/06/2005 16:13:xx.xx2, [ffffffb6]
09/06/2005 16:13:xx.xx2, [ffffff89]
09/06/2005 16:13:xx.xx2, [ffffffb6]
09/06/2005 16:13:xx.xx2, [27]
09/06/2005 16:13:xx.xx2, [17]
09/06/2005 16:13:xx.xx2, [ffffff9b]
09/06/2005 16:13:xx.xx2, [ffffffcc]
09/06/2005 16:13:xx.xx2, [ffffffdf]
09/06/2005 16:13:xx.xx2, [ffffff9e]
09/06/2005 16:13:xx.xx2, [ffffffdf]
09/06/2005 16:13:xx.xx2, [19]
09/06/2005 16:13:xx.xx2, [7e]
09/06/2005 16:13:xx.xx2, [ffffff8b]
09/06/2005 16:13:xx.xx2, [0]
09/06/2005 16:13:xx.xx2, [35]
09/06/2005 16:13:xx.xx2, [75]
09/06/2005 16:13:xx.xx2, [25]
09/06/2005 16:13:xx.xx2, [0]
09/06/2005 16:13:xx.xx2, [ffffffcc]
09/06/2005 16:13:xx.xx2, [6b]
09/06/2005 16:13:xx.xx2, [32]
09/06/2005 16:13:xx.xx2, [0]
09/06/2005 16:13:xx.xx2, [ffffff86]
09/06/2005 16:13:xx.xx2, [5f]
09/06/2005 16:13:xx.xx2, [3]
09/06/2005 16:13:xx.xx2, [0]
09/06/2005 16:13:xx.xx2, [41]
09/06/2005 16:13:xx.xx2, [62]
09/06/2005 16:13:xx.xx2, [ffffffe7]
09/06/2005 16:13:xx.xx2, [0]
09/06/2005 16:13:xx.xx2, [15]
09/06/2005 16:13:xx.xx2, [65]
09/06/2005 16:13:xx.xx2, 1908422437: bad packet size 46129


Result: Server crash .
Previously consecuences: Item lag, ss stop working
DB looks unlinked from gameserver.
any idea about how to fix this?
wen is offline  
Old 07.09.2005, 18:54   #2
wen
Архивный участник
 
Join Date: Sep 2005
Posts: 21
Default oO

ok ok perharps i have to give more details...

Thats the exit in l2server error log .. ask if u need more details please, help.
wen is offline  
Old 08.09.2005, 01:51   #3
paul
Архивный участник
 
Join Date: Feb 2005
Posts: 390
Default

Um why was this thread reported?
paul is offline  
Old 08.09.2005, 06:46   #4
iamrend
Архивный участник
 
Join Date: May 2005
Posts: 315
Default

it is a strange error maybe devs can help
iamrend is offline  
Old 08.09.2005, 07:01   #5
paul
Архивный участник
 
Join Date: Feb 2005
Posts: 390
Default

Ugh do NOT use the report a post command to see if we'll look at things.

This makes us just want to delete the thread.

Warned for using the report system for no reason but to get our attention.
paul is offline  
Old 08.09.2005, 11:32   #6
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Damn. One more to get into this dev trap. lol
No ideas on the problem
Livid is offline  
Old 08.09.2005, 19:33   #7
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

You need to post more information if you want help.

Need to post stuff like what server pack, what mods you're using, client and server versions, etc. We're not psychic, and we can't just give you a solution from a bunch of error lines without knowing what you've done on your end first. So help us, help you. :P
flakka is offline  
Old 08.09.2005, 22:30   #8
wen
Архивный участник
 
Join Date: Sep 2005
Posts: 21
Default

now im scared about broke the rules in forum ...sorry if i did something wrong, im sorry..im noob here, and i have the stupid habit to dont read the forum rules, sorry about

Well im sure its not a problem with mobs, cause since a mouth all was working fine, and, in the nights after ban some ips in the authd ussing block ip list all works for a few hours. If it was a problem with mobs it should crash all the time and not often. :?

I think its some kind of overflow in the login protocol but im not sure about it.. im not sure if i can past here loggin info ..l2server.exe errors etc ..plz te

im going to do it, i wonder if Paul dont slap me ...


well all starts with
09/02/2005 08:43:xx.xx2, [DBSocket.cpp][9145] ReplyGiveItemToPet. fail from cached
09/02/2005 08:43:xx.xx6, different write count 69e1c(8f7d98cc) 31 != 0
09/02/2005 08:43:xx.xx6, [4]
09/02/2005 08:43:xx.xx6, [fffffffd]
09/02/2005 08:43:xx.xx6, [ffffffff]
09/02/2005 08:43:xx.xx6, [18]
09/02/2005 08:43:xx.xx6, [fffffff7]
09/02/2005 08:43:xx.xx6, [ffffffff]
09/02/2005 08:43:xx.xx6, [ffffffff]
09/02/2005 08:43:xx.xx6, [ffffffc2]
09/02/2005 08:43:xx.xx6, [ffffffd7]
09/02/2005 08:43:xx.xx6, [2]
in server log.

at cacheD log ...

09/08/2005 15:33:xx.xx0, [Account.cpp][381] Cannot load day uesed time for account [66911]
09/08/2005 15:33:xx.xx0, [Account.cpp][321]Error. Cannot load Week play time, account id [66911]
09/08/2005 15:33:xx.xx0, [Account.cpp][381] Cannot load day uesed time for account [66911]
09/08/2005 15:33:xx.xx0, [Account.cpp][341]Error. Cannot load Week play time, account id [66911]
09/08/2005 15:34:xx.xx3, [Account.cpp][381] Cannot load day uesed time for account [62249]
09/08/2005 15:34:xx.xx3, [Account.cpp][321]Error. Cannot load Week play time, account id [62249]
09/08/2005 15:34:xx.xx3, [Account.cpp][381] Cannot load day uesed time for account [62249]
09/08/2005 15:34:xx.xx3, [Account.cpp][341]Error. Cannot load Week play time, account id [62249]
09/08/2005 15:39:xx.xx1, Error sql: EXEC lin_UpdateUserItem 16194, 57, 2803068, 0, 0, 0, 0, 0, 0, 1353178 (0)
09/08/2005 15:39:xx.xx1, Error HY000:[Microsoft][ODBC SQL Server Driver][SQL Server]No se encuentra la entrada de índice del RID '36423f00000200000100100071470000' en la página de índice (1:31783), Id. de índice 0, base de datos 'lin2world'.
09/08/2005 15:39:xx.xx3, Error sql: EXEC lin_AmountChange 7739, 3692525, -3, 1 (0)
09/08/2005 15:39:xx.xx3, Error 08S01:[Microsoft][ODBC SQL Server Driver]Communication link failure
09/08/2005 15:39:xx.xx3, [WareHouse.cpp][3950]Useitem::exec fail, [3692525][2][3][7739][6986][1209010872]
09/08/2005 15:39:xx.xx0, Error sql: EXEC lin_SaveCharacter 124,8,1,73071,142467,-3768,0,24xx.xx1600,8xx.xx0000,24xx.xx1600,8xx.xx00 00,1447691,65354544,54,0,0,0,0,4598137, 3712047, 4209600, 4209599, 4209601, 0, 3712129, 4356729, 0, 5076089, 5079194, 5060142, 5046772, 0, 0, 0, 0, 2, 35801 (0)
09/08/2005 15:39:xx.xx0, Error 08S01:[Microsoft][ODBC SQL Server Driver]Communication link failure
09/08/2005 15:39:xx.xx0, Character save error
09/08/2005 15:39:xx.xx0, Error sql: EXEC lin_UpdateActiveSkill 35801, 2012, 1, 742, 1, 2011, 1, 742, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 (0)

dump stack


Server Up Time Thu Sep 08 15:16:20 2005

Current Time : Thu Sep 08 15:54:43 2005

Elapsed Time : 0 days 0 hours 38 minutes 23 seconds
IOBufferPool - 11640

[(180) 2005/09/08 15:54:43]: =======================
an Access Violation in module L2Serverfix.exe at 001b:0053a11a.
start at 2005/9/8 15:16:19
Write to location 73e74000 caused an access violation.

Registers:
EAX=5bbef764 CS=001b EIP=0053a11a EFLGS=00010206
EBX=719ffcc4 SS=0023 ESP=719ffc28 EBP=73bf16b0
ECX=39f5edd9 DS=0023 ESI=73ca149b FS=003b
EDX=e80000ad ES=0023 EDI=73e73fff GS=0000
Bytes at CS:EIP:
f3 a5 8b ca 83 e1 03 f3 a4 8b f8 8b 44 24 1c 0f
Stack dump:
719ffc28: 8e0c7d7c 73bef6a0 719ffc70 00000000 004dfbcb 73bef6b2 00001ffe 005d25fb
719ffc48: 719ffcb4 00000000 00000000 00000000 8e0c7d80 169d25a0 719ffc4c 719ffc98
719ffc68: 005ab7b0 ffffffff 719ffca4 004dfca8 005d25f8 719ffcb4 00000000 00000000
719ffc88: 00000000 00000007 719ffe80 719ffc80 719ffe80 005ab7c0 ffffffff 719ffe8c
719ffca8: 006b85d5 8e0c7d7c 005d25f8 16151413 00000000 e80000ad 73a1cb53 00000000
719ffcc8: 2b0c2b80 77e6bb6d 00000000 40220000 000038a9 00000000 40340000 00000000
719ffce8: 403f0000 80a64324 000001fd 8532e3d4 00a64324 f49f49f5 719ffc30 719ffc38
719ffd08: 719ffd34 005a7d38 00000000 719ffd40 0049cd91 871777ec 871777d4 7c8213e4
719ffd28: 71b2192f 00050200 00000000 00000000 80b02d84 80b02d84 00012017 719ffd60
719ffd48: 00000010 00000000 7c8213e4 71b2192f 0004f2ac 00000000 00000000 70ec037c


ver = Jun 8 2004____15:38:30 thread id=0

void IOThread_common(void *arglist) <--
void CDBPacket::OnIOCallback(BOOL bSuccess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) <--
void CPacket::OnIOCallback(BOOL bSuccess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) <--
cpacket:niocallback_funccall <--
static bool LoadCharacterPacket(CDBSocket *socket, const unsigned char *packet) <--
void CSocket::Send(const char* format, ...) <--
void CSocket::SendV(const char* format, va_list va)

Thread[0] (ahehe): Lock Stack :

Thread[1] (good): Lock Stack :

Thread[2] (good): Lock Stack :

Thread[3] (good): Lock Stack :


This last function looks like doesn't check the len in the char pointer...seriously .. i dont know what was thinking the korean developpers .. :shock:
wen is offline  
Old 08.09.2005, 23:21   #9
paul
Архивный участник
 
Join Date: Feb 2005
Posts: 390
Default

I dont slap ppl for posting stuff i slap them when they send a report to every dev just for us to take a look =p

What are your server specs?
paul is offline  
Old 09.09.2005, 04:36   #10
wen
Архивный участник
 
Join Date: Sep 2005
Posts: 21
Default

Well i was looking at npc.exe logs..and.. same error than in l2.exe ...

Current Time : Thu Sep 08 23:15:17 2005

IOBufferPool - 1891

[(4196) 2005/09/08 23:15:17]: =======================
an Access Violation in module L2NPC.exe at 001b:0041754f.
start at 2005/9/8 19:36:18
Write to location 00000000 caused an access violation.

Registers:
EAX=00000002 CS=001b EIP=0041754f EFLGS=00010212
EBX=00000000 SS=0023 ESP=3460fe0c EBP=01d0f781
ECX=3460fe28 DS=0023 ESI=0e00be44 FS=003b
EDX=00000000 ES=0023 EDI=00019654 GS=0000
Bytes at CS:EIP:
c6 05 00 00 00 00 01 64 8b 0d 2c 00 00 00 8b 11
Stack dump:
3460fe0c: 0217c308 00000002 004f62e8 00019654 0e00be44 00000040 0e00be44 3460fe40
3460fe2c: 004c03aa 00000000 00479188 0e00be44 0e015ab4 3460fea8 004bef6a 00000000
3460fe4c: 004792c1 00000000 77e6bb6d 00478a75 00000000 00000000 0e015ab4 00000000
3460fe6c: 00000002 3460ffb8 0e009cf8 0e00be44 0e015ab4 00000000 00000000 00001000
3460fe8c: 00010000 bffeffff 0000000f 00000004 0000024a 00010000 0401000f 3460ffa8
3460feac: 004c067a 00000000 00478c0d 00019628 0e009cf8 00610066 0073006c 00000065
3460fecc: 00000246 e0832f99 f9730e28 f9730db0 f9730e58 00000003 f9730db0 00000003
3460feec: ffffffff 00000003 f555fa7c f325fc28 e082927a f9730f0c f9730db0 e0a571c0
3460ff0c: ffffffff 00544eb0 00544eae 00544eee ffffffff 00544ef0 00000000 00544f2e
3460ff2c: ffffffff e09a05fe 7fff9000 f9730db0 00000000 f325fc88 e0832cee f9730f40


GuardInfo :

IOThread [0] (good): void IOThread_common(void *arglist)
Lock Stack :

IOThread [1] (good): void IOThread_common(void *arglist)
Lock Stack :

IOThread [2] (ahehe): void IOThread_common(void *arglist) -> void CIOSocket::Close() -> void CDBNPCSocket::OnClose()
Lock Stack :

IOThread [3] (good): void IOThread_common(void *arglist)
Lock Stack :

ListenThread [12] (good): void NPCServer::Run() -> unsigned __stdcall WaitThread(void *)
Lock Stack :

MainThread [11] (good): Lock Stack :

GuardInfo end


Paul, with server specifications u mean our server memory processor etc ?

its an a Xeon 2.80 GHz - 2.79 GHz with 4gb of ram, any way i don't think memory could be the problem cause like 3 weeks ago we was handling 1700+ players, now this issue is just pissing our server off. =_( . We really need help.
wen is offline  
Old 09.09.2005, 05:24   #11
hr
Архивный участник
 
Join Date: Jun 2005
Posts: 285
Default

Quote:
09/08/2005 15:39:xx.xx1, Error sql: EXEC lin_UpdateUserItem 16194, 57, 2803068, 0, 0, 0, 0, 0, 0, 1353178 (0)
09/08/2005 15:39:xx.xx1, Error HY000:[Microsoft][ODBC SQL Server Driver][SQL Server]No se encuentra la entrada de índice del RID '36423f00000200000100100071470000' en la página de índice (1:31783), Id. de índice 0, base de datos 'lin2world'.
It seems your DB corrupted. Try to check 'lin2world':

Code:
USE lin2world
GO
DBCC CHECKDB
GO
It will show errors there and option to use to repair. If you have errors, try to repair with option recommended (REPAIR_FAST/REPAIR_REBUILD/REPAIR_ALLOW_DATA_LOSS):

Code:
USE lin2world
GO

ALTER DATABASE lin2world SET SINGLE_USER WITH ROLLBACK IMMEDIATE
GO

DBCC CHECKDB('lin2world', REPAIR_REBUILD)
go

ALTER DATABASE lin2world SET MULTI_USER
GO
Also look in Event Viewer for any other errors (possible by MSSQLSERVER)
hr is offline  
Old 09.09.2005, 06:33   #12
paul
Архивный участник
 
Join Date: Feb 2005
Posts: 390
Default

Yeah do what HR said try that see how it goes.
paul is offline  
Old 09.09.2005, 06:42   #13
wen
Архивный участник
 
Join Date: Sep 2005
Posts: 21
Default

Ahh thank u very much =) it seems found some errors in db, lets see it that was the problem, but..i still having a question, how can it get corrupted? oO
wen is offline  
Old 09.09.2005, 09:16   #14
CubAfull
Архивный участник
 
Join Date: Aug 2005
Posts: 119
Default

I have the same problem here :S, I did all you say and repare 18 problem, but I continue having this problem in my db.
thank

Code:
Resultados de DBCC para 'pledge_contribution'.
Hay 0 filas en 1 páginas para el objeto 'pledge_contribution'.
Resultados de DBCC para 'point'.
Servidor: mensaje 8951, nivel 16, estado 1, línea 2
Error de tabla: tabla 'user_item' (Id. 1029578706). La clave del índice 'pk_user_item' (Id. 2) falta o no es válida para la fila:
Servidor: mensaje 8955, nivel 16, estado 1, línea 2
La fila de datos (1:33130:22) identificada por (RID = (1:33130:22) char_id = 0 and ? = 1556219) tiene valores de índice (item_id = 1420073 and char_id = 0 and ? = 1556219).
Hay 0 filas en 0 páginas para el objeto 'point'.
Resultados de DBCC para 'req_charmove'.
CubAfull is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 16:34.