![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#501 |
|
Архивный участник
Join Date: Jul 2005
Posts: 242
|
oxi
[php Server Up Time Wed Jan 25 10:54:11 2006 Current Time : Wed Jan 25 11:05:15 2006 Elapsed Time : 0 days 0 hours 11 minutes 4 seconds IOBufferPool - 14376 [(316) 2006/01/25 11:05:15]: ======================= an Access Violation in module l2server.exe at 001b:004fe6e6. start at 2006/1/25 10:54:04 Read from location 00000000 caused an access violation. Registers: EAX=2a671f84 CS=001b EIP=004fe6e6 EFLGS=00010206 EBX=00000000 SS=0023 ESP=6f0ada78 EBP=6f0add14 ECX=2a671f84 DS=0023 ESI=00000000 FS=003b EDX=00000000 ES=0023 EDI=9933122c GS=0000 Bytes at CS:EIP: 0f bf 02 50 b9 80 00 00 00 68 bc 2f 5e 00 2b cb Stack dump: 6f0ada78: 1732315c 172fc05c 9933122c 48107867 00002000 00000000 6f0ada7c 6f0adaec 6f0ada98: 005af4a0 00000000 6f0adaf8 0052e69a 0000002e 443e0038 78a2f4a0 7807ed70 6f0adab8: 99236a6c 6f0adb04 004dfae2 7807ed82 78a2f4b2 004dfb0f 78a314b8 00000106 6f0adad8: 99236a88 99236a90 31beaffc 29dfc6f0 6f0adad4 6f0adad8 99236a6c 6f0adad4 6f0adaf8: 6f0adb74 005ab7a0 00000000 00780078 0065006c 00690074 00690063 00780061 6f0adb18: 00000078 78a2f4a0 99236a6c 00005000 00445d1a 99266d24 48107838 99268e30 6f0adb38: 00000000 41700000 00000000 41700000 99382114 6f0adb94 006c090c 44ad8df8 6f0adb58: 000001fb 00000119 78a2f4a0 00000114 00000118 000001fa 00000000 6f0afc0c 6f0adb78: 00000000 00000000 0000034f 0000034f 00000000 00000370 00000370 0000002f 6f0adb98: 000000cd 00000000 00000994 000001b7 000001d7 0000025b 00000000 000000cd ver = Jun 8 2004____15:38:30 thread id=1 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 ManipulateItemPacket(CDBSocket *socket, const unsigned char *packet) <-- User::SendItemList() <-- User::SendUserInfo() Thread[0] (good): Lock Stack : Thread[1] (ahehe): Lock Stack : ??????????(187[bb]) [/php] |
|
|
|
|
#502 | |
|
Архивный участник
Join Date: May 2005
Posts: 109
|
I am not here to tell you the reason for your every crash. I don't mind at all that you post your crash dumps for me to look at, but don't expect for me to trace your every dump and tell you the exact reason for every crash. Posting them here is helpful to see if they are the result of a malicious user, bad handling, or problem with a previous patch. But I'm not here to solve your servers every specific problem, don't expect it.
Code:
text:004FE6BF loc_4FE6BF: ; CODE XREF: User__SendUserInfo+5D2j .text:004FE6BF mov [ebp+var_2C], eax .text:004FE6C2 mov [ebp+var_24], 0 .text:004FE6C9 lea esp, [esp+0] .text:004FE6D0 .text:004FE6D0 loc_4FE6D0: ; CODE XREF: User__SendUserInfo+636j .text:004FE6D0 cmp [ebp+var_24], eax .text:004FE6D3 jge short loc_4FE718 .text:004FE6D5 mov ecx, [edi+0A50h] .text:004FE6DB mov eax, [ebp+var_24] .text:004FE6DE shl eax, 5 .text:004FE6E1 mov edx, [eax+ecx] .text:004FE6E4 add eax, ecx .text:004FE6E6 movsx eax, word ptr [edx] you can see by eax+ecx that var_24 was set to 0 from the path above not jumped to, var24 loaded into eax,eax<<5, eax=ecx since eax is 0 and added together edx is the contents of 2a671f84 which is null, dunno why. couldnt tell you. edi is the userstruct edi+0x0a50 is a substruct contents of which i dunno since have no server running, but +0a54 is >>5 and +0a50 is << 5. debugging it in a few mins would show what exactly it does knowing what i said above. it uses the signed value loaded from eax pushes it with format h and calls assemble, after this process is done, loads 3 floats, which are probably x,y,z location, later i have commented that path is used for gmwindow user stat view. user manipulated an item while gm checked his inv? dont know. just that the pointer was null for some value in userstruct while sending userinfo packet. Note: ustruct+0a20 -> ustruct+0xadb was locked during this process, so the value was incorrect before it started, not a race condition. Quote:
6d90fdf0: 9a069bdc 00000023 0f000001 6d90fde0 6d90fe4c 6d90fdf0 6d90fe4c 005ac6b0 6d90fe10: ffffffff 6d90fe58 00503181 I'll look into it i think i might know what its related to. |
|
|
|
|
|
#503 |
|
Архивный участник
Join Date: Dec 2005
Posts: 83
|
thanks to pay attention!
i'm never post stupid questions - i'm post my reports only to give some useful info to make your patch better and our community life easier PS I'm not guru but i see many 6d90fd.. - intresting |
|
|
|
|
#504 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
***delete cos the pic was anoying me xD***
|
|
|
|
|
#505 |
|
Архивный участник
Join Date: Aug 2005
Posts: 145
|
2tontor:
i'm asking you in previos pages, about make handling of walker movements as it done in l2j. it is possible to add this func in your patch? i mean block movement by walker. &%&% botterz
|
|
|
|
|
#506 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
ok tontor i tried what u said, and it seems that is my problem, i set it to return to that pos that u said, when eax=0, and it said the whole "item invenroty is null" (nice typo of nc again >.>) but, still went boom, with this linerror:
Code:
Server Up Time Thu Jan 26 21:37:20 2006 Current Time : Thu Jan 26 22:24:46 2006 Elapsed Time : 0 days 0 hours 47 minutes 26 seconds IOBufferPool - 14430 [(2660) 2006/01/26 22:24:46]: ======================= an Access Violation in module L2Serverz0rz0z.exe at 001b:0053cbc7. start at 2006/1/26 21:37:18 Write to location 00000000 caused an access violation. Registers: EAX=00000000 CS=001b EIP=0053cbc7 EFLGS=00010202 EBX=77e6bb6d SS=0023 ESP=71f2ff10 EBP=71f2ff78 ECX=00000001 DS=0023 ESI=00000001 FS=003b EDX=713e1748 ES=0023 EDI=168d767b GS=0000 Bytes at CS:EIP: c6 05 00 00 00 00 01 8b 45 e8 8b 4d ec 8b 11 50 Stack dump: 71f2ff10: 00000000 00000000 78a83398 00000000 00001000 00010000 bffeffff 00000001 71f2ff30: 00000001 0000024a 00010000 0401000f f4fd6c88 e104660b fd1fca28 00000005 71f2ff50: 00000000 000503a0 00000000 e10465da 00000000 2a984bb8 71f2ff10 71f2ffa8 71f2ff70: 005afca0 ffffffff 71f2ffb8 0053cd1b 00000000 78a83398 0058eb2a 00000000 71f2ff90: 00000000 00000000 78a83398 c0000005 71f2ff90 71f2fb3c 71f2ffdc 0058c42c 71f2ffb0: 00666658 00000000 71f2ffec 77e66063 78a83398 00000000 00000000 78a83398 71f2ffd0: 00000000 71f2ffc4 f4fd6ce4 ffffffff 77e6b798 77e66070 00000000 00000000 71f2fff0: 00000000 0058eabb 78a83398 00000000 ver = Jun 8 2004____15:38:30 thread id=0 void IOThread_common(void *arglist) Thread[0] (ahehe): Lock Stack : Creature_server.cpp(58[3a]) ![]() that = boom... if it was hexed right would what you posted fix it? cos im stupid :P and the whole depth>200 thing, could that be that someone, somehow, got more than 200 thingies in their inventory, which could cause the crash? O.o or is it something that has absolutly nothing to do with what it sounds like, just like everything else with the l2server ![]() edit:: this has to be an exploit... ive replicated the some of the errors by filling my inventory with 200+ items, but i cannot seem to replicate the ones that happen upon crash, with 800+ players online its extremely hard to check the logs for 1 specific person doing something that is causing this, i just spent 2 hours looking through logs, compairing the logs of what im doing, to the logs from the crash... im 90% sure that this is someone crashing my server... btw, u can get 200+ items with multisell, as it will give u the item reguardless of inventory slots, and weight limit... aswell as CreatePet from AI, dont know what else... i tried putting in checkers into some stored procedures, check if someone has > 150 items in their inventory, but its just not working, i need help! >.> |
|
|
|
|
#507 |
|
Архивный участник
Join Date: Jul 2005
Posts: 11
|
tontor, We're using unmodified sinas L2server.exe and Warning message appear (lack of Striders I guess) when server is starting and server waits for closing or clicking OK on it.
Is it possible to skip this window or something similar? It's very inconvenient to submitting it when server starts. Thanks! |
|
|
|
|
#508 | |
|
Архивный участник
Join Date: May 2005
Posts: 109
|
Quote:
actually would need to check if EDX is null since its the register used as the pointer, before the movsx, youll have to jump to a small code cave and insert the movzx after checking if edx is null and return back or if null return to err msg, but i assume you know that. sorry i still dont have a server to work on the stuff with so i cant really do too much :). |
|
|
|
|
|
#509 |
|
Архивный участник
Join Date: Jul 2005
Posts: 242
|
tontor, i can give you a test server, pm
|
|
|
|
|
#510 | |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
Quote:
00443524 8B10 MOV EDX,DWORD PTR DS:[EAX] put my jump here.... them my code checked EAX for being null, then if it was, return to error, if not... 00443524 8B10 MOV EDX,DWORD PTR DS:[EAX] 00443526 8BC8 MOV ECX,EAX 00443528 FF52 48 CALL DWORD PTR DS:[EDX+48] do those 3 which were cut out by my jump, and then return to the code after my jump... so... i should do it after the edx mov or what? i have absolutly no idea how any of this works soooo.... also, is there any way for me to determine what chars are causing the depth>200 errors, i ran a script on the db and no chars have more than 120 items in their inventory, except mine which i was testing with... |
|
|
|
|
|
#511 |
|
Архивный участник
Join Date: Jul 2005
Posts: 242
|
tontor, ill be grateful if you take a look at https://postpacific.mmorpg-game.onli...?p=30406#30406
thanks |
|
|
|
|
#512 |
|
Архивный участник
Join Date: Jul 2005
Posts: 242
|
weird
[php:1:20bbbe55d6] Server Up Time Sat Jan 28 14:08:52 2006 Current Time : Sat Jan 28 15:15:24 2006 Elapsed Time : 0 days 1 hours 6 minutes 32 seconds IOBufferPool - 12082 [(1496) 2006/01/28 15:15:24]: ======================= an Access Violation in module Unknown at 001b:54878aa2. start at 2006/1/28 14:08:51 Read from location 00000001 caused an access violation. Registers: EAX=fffe824b CS=001b EIP=54878aa2 EFLGS=00010282 EBX=0d024ab1 SS=0023 ESP=6efafdf0 EBP=6efafe14 ECX=00000057 DS=0023 ESI=96336934 FS=003b EDX=379c5078 ES=0023 EDI=00000001 GS=0000 Bytes at CS:EIP: af e6 9f e7 8f e8 7f e9 5f ea df e3 cf e4 bf e5 Stack dump: 6efafdf0: 9a38541c 00000002 0d024ab1 6efafde0 6efafe4c 6efafdf0 6efafe4c 005ac6b0 6efafe10: ffffffff 6efafe58 00503181 fffeba4b 7a990101 7a990101 9a38541c 00000002 6efafe30: 7a990150 00000001 000120fa fffeba4b 0d024ab1 e76c07cc 6efafe28 6efafeb8 6efafe50: 005acdf0 ffffffff 6efafec4 0050fa78 9a38541c 7a990163 08a9f5dd 9a38541c 6efafe70: 77e6bb6d 00000010 6efafedc 00000010 71c02572 000002b0 6efafea0 71c0575e 6efafe90: 00000000 08a9f5da 00336710 000003e5 6efaff78 00000017 006c0794 31be8fec 6efafeb0: 7a990150 6efafe68 6efafee4 005ad778 ffffffff 6efafef0 00539866 08a9f5dd 6efafed0: 9a38541c 77e6bb6d 6efaff0c 6efafeec 6efafecc 6efaff6c 005afaa0 ffffffff 6efafef0: 6efaff78 0053be2a 00000017 00000001 0053cbe6 00000001 00000017 9a38670c 6efaff10: 00000000 00000000 3fce2288 00000000 00001000 00010000 bffeffff 00000003 ver = Jun 8 2004____15:38:30 thread id=0 void IOThread_common(void *arglist) <-- void CIOSocket::ReadCallback(DWORD dwTransferred) <-- CUserSocket::OnRead <-- IconAction <-- User::IconAction() Thread[0] (ahehe): Lock Stack : Thread[1] (good): Lock Stack : [/php:1:20bbbe55d6] |
|
|
|
|
#513 |
|
Архивный участник
Join Date: Dec 2005
Posts: 83
|
EDI again - something with stack...
i am already post this - tontor promise to look at this. we have nothing to do except waiting |
|
|
|
|
#514 | |||
|
Архивный участник
Join Date: Nov 2005
Posts: 403
|
Quote:
|
|||
|
|
|
|
#515 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
[Inventory_server.cpp][110] Push failed. because g_SharedIteme.GetObjectSP failed.
[User.cpp][3669] FindObject Failed(spams about 5000 times) then.... depth>200 at file[Inventory_server.cpp], line[703] [c:\serverservice\l2server\ThreadSafeLibrary.h][100] referencing NULL object. [Creature_server.cpp][68] item in invenroty is null. crash, i checked the EXACT timestamp of the log of these, to actions of players, nothing is out of the ordinary that would cause this... :| and, the code i put in to check for the null must work, otherwise it would not say the "item in invenroty is null" thing... cos thats what the code returns to if its null... so i dont know.. i really need help with this cos its crashing my server every 5 minutes... ive had probably a max of 4 hours uptime... |
|
|
|
|
#516 |
|
Архивный участник
Join Date: Dec 2005
Posts: 83
|
Hey, tontor! There is some news on IconAction and messed stack?
|
|
|
|
|
#517 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
just wondering.. anyone else get this?...
Code:
erver Up Time Wed Feb 01 15:33:13 2006 Current Time : Wed Feb 01 15:50:18 2006 Elapsed Time : 0 days 0 hours 17 minutes 5 seconds IOBufferPool - 14415 [(2364) 2006/02/01 15:50:18]: ======================= an Access Violation in module Unknown at 001b:00210027. start at 2006/2/1 15:33:11 Write to location de000500 caused an access violation. Registers: EAX=005b9c38 CS=001b EIP=00210027 EFLGS=00010a82 EBX=00000000 SS=0023 ESP=71f1fdc0 EBP=71f1fe08 ECX=2821c61c DS=0023 ESI=94c7116c FS=003b EDX=00602c04 ES=0023 EDI=2821c61c GS=0000 Bytes at CS:EIP: 00 05 00 05 00 de 01 08 00 00 00 00 00 fc e3 8f Stack dump: 71f1fdc0: 00440894 31c58fec 94c7116c 00000000 71f1fdbc 71f1fe04 005a7040 00000000 71f1fde0: 71f1fe10 004ad8b9 4010930a 31c58fec 94c7116c 00000000 71f1fdc4 71f1fe4c 71f1fe00: 005a4200 ffffffff 71f1fe58 0050a5ff 2821c61c 00000000 71f1fe00 79da0bfc 71f1fe20: 00000002 83983df0 71f1fe64 000153be 000242ea fffff2c0 713704d8 006c07d4 71f1fe40: 4010930a 00000000 71f1fe1c 71f1feb8 005ad3c8 ffffffff 71f1fec4 0050fa78 71f1fe60: 79da0bfc 83983e03 00f5e606 79da0bfc 77e6bb6d 00000001 71f1fedc 00000000 71f1fe80: 71c02572 7158b3d8 71f1fea0 71c0575e 000003e5 00f5e603 71452e38 000003e5 71f1fea0: 71f1ff78 00000014 006c0794 31c58fec 83983df0 71f1fe68 71f1fee4 005ad778 71f1fec0: ffffffff 71f1fef0 00539866 00f5e606 79da0bfc 77e6bb6d 71f1ff0c 71f1feec 71f1fee0: 71f1fecc 71f1ff6c 005afaa0 ffffffff 71f1ff78 0053be2a 00000014 00000001 ver = Jun 8 2004____15:38:30 thread id=0 void IOThread_common(void *arglist) <-- void CIOSocket::ReadCallback(DWORD dwTransferred) <-- CUserSocket::OnRead <-- ActionPacket <-- CCreature::Action() Thread[0] (ahehe): Lock Stack : |
|
|
|
|
#518 |
|
Архивный участник
Join Date: Dec 2005
Posts: 83
|
may be try to lower IOBuffer?
|
|
|
|
|
#519 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
ill try.. but i think my friend tried that, and then the server ran out of iobuffers b4 it could crash :|
lowered it to 5k, still crash every 5 - 20 minutes, same ccreature:action shit |
|
|
|
|
#520 |
|
Архивный участник
Join Date: May 2005
Posts: 33
|
"tontor patch" not crash server. its hardware
|
|
|
|
|
#521 |
|
Архивный участник
Join Date: Dec 2005
Posts: 83
|
or something else, but no tontor patch
|
|
|
|
|
#522 |
|
Архивный участник
Join Date: Dec 2005
Posts: 83
|
I'm sorry, Tontor, but i still have IconAction some times (or IconAction have me). Not posting big report againg , but say that EIP contain some shirty value again and aging different: EIP=f1e2e800, and so Read from location f1e2e800 caused an access violation.
|
|
|
|
|
#523 |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
tontor is it possible to post code to revert pet fix (the original code) or tell me offset
|
|
|
|
|
#524 |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
? hello
|
|
|
|
|
#525 |
|
Архивный участник
Join Date: Jun 2005
Posts: 199
|
03/07/2006 09:58:xx.xx0, WARNING: Possible exploit attempt ACCID:12954 CMD:[bypass -h ????????????????????????????????????????????????? ?????????????????????????????????????????????????? ??????????????????????????????????? ?????????????????????????????????????????????????? ???????_????????????????????????????????????????? ????????????????y???????????????????????????????¡ ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ??????????????O??????????????????????????????????? ??????????¡?????????????????????????????????????? ?????????????????????????????????????????????????? ??????????????????????~??????????????????????????? ??????????????????????#???????????????????????O??? ?????????????????????????????????????????????????? ????????????????????¡??????[??????????????????????????????????????????].
new exploit?? |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|