![]() |
Quote:
Quote:
Code:
.text:0044351F call template_derefCode:
.text:0043FA50 template_deref proc near ; CODE XREF: CCreature__DeleteAllItemsInInventory+1BFp.text:0043FA9A mov eax, [esi] Even though [esi] (our object) is null, it is logged and moved into eax anyways and returned, would imagine if you checked your server logs, if they were wrote the last thing you would see is "[%s][%d] referencing NULL object.". You can see that there is no error handling past this for the object being null as it trys to use it as a pointer it crashes reading from 0. .text:00443524 mov edx, [eax] Just need to check in CCreature::DeleteAllItemsInInventory for it being null. .text:004433F0 push 44h returning here if null would probably work fine and with appropriate error msg. I have no server to test so makes adding simple things such as these kind of difficult to test for simple errors. Quote:
|
Ok. Ask my question by another
Tontor's patch don't fix this quest (Coin Collector): class warehouse_keeper_sorint : warehouse_keeper NPC just gives for cheaters these items: L22075 .... push_const 198 push_const 1 func_call 77 // func[GiveItem1] L22084 .... push_const 230 push_const 1 func_call 77 // func[GiveItem1] L22093 .... push_const 95 push_const 1 func_call 77 // func[GiveItem1] L22102 .... push_const 132 push_const 1 func_call 77 // func[GiveItem1] L22111 .... push_const 2433 push_const 1 func_call 77 // func[GiveItem1] L22120 .... push_const 632 push_const 1 func_call 77 // func[GiveItem1] L22129 .... push_const 2456 push_const 1 func_call 77 // func[GiveItem1] L22138 .... push_const 1149 push_const 1 func_call 77 // func[GiveItem1] L22147 .... push_const 852 push_const 1 func_call 77 // func[GiveItem1] L22156 .... push_const 853 push_const 1 func_call 77 // func[GiveItem1] L22165 .... push_const 884 push_const 1 func_call 77 // func[GiveItem1] L22174 .... push_const 916 push_const 1 func_call 77 // func[GiveItem1] Anybody can fix? |
Why tontor?? May be some cheks directly in AI code?
|
Quote:
|
Quote:
Why not here? :roll: |
It's definetly a new exploit - never met this problem before - latest patch running for almost 2 weeks now/
01/24/2006 11:00:xx.xx8, __SafeCastUSer saved the server... 01/24/2006 11:00:xx.xx1, __SafeCastCreature saved the server... 01/24/2006 11:00:xx.xx0, __SafeCastUSer saved the server... 01/24/2006 11:00:xx.xx5, __SafeCastCreature saved the server... 01/24/2006 11:02:xx.xx3, __SafeCastUSer saved the server... 01/24/2006 11:02:xx.xx8, WARNING: Possible exploit attempt ACCID:2493 CMD:[link collector_pipi003.htm]. 01/24/2006 11:02:xx.xx6, __SafeCastUSer saved the server... 01/24/2006 11:03:xx.xx8, WARNING: Possible exploit attempt ACCID:3841 CMD:[bypass -h teleport_1294450016_2]. 01/24/2006 11:03:xx.xx8, WARNING: Possible exploit attempt ACCID:3841 CMD:[bypass -h teleport_1294450016_2]. 01/24/2006 11:03:xx.xx8, WARNING: Possible exploit attempt ACCID:3841 CMD:[bypass -h teleport_1128959104_0]. 01/24/2006 11:03:xx.xx8, WARNING: Possible exploit attempt ACCID:3841 CMD:[bypass -h teleport_1128959104_0]. 01/24/2006 11:03:xx.xx8, item [id:401a7407] null at file[UserSocket.cpp], line[898] 01/24/2006 11:15:xx.xx0, !!! deadlock or super-lag detected!!! (diff 665 sec) then the server crashes |
Quote:
Quote:
In most cases, checking the timestamps of the errors against cached logs will most likely find 1 that hits the time stamp very closely to the safecasts, and this is your user that is causing problems. Its not always intentional, sometimes it can happen to a perfectly innocent person. deadlock is caused by lag. Feel free to revert to other revisions of the dll, or stop using it to try to locate our problems, but none of these patches should effect causing safecasts. |
thnx for the help tontor, ill have to have a look into that...
but right now that isnt my only problem :| my server is being extremely unstable... 01/24/2006 06:08:xx.xx3, Pick item resut is different. server[28585432], db[29585432] 01/24/2006 06:08:xx.xx2, depth>200 at file[Inventory_server.cpp], line[703] then... poof. Code:
Server Up Time Tue Jan 24 05:57:27 2006also just noticed, could this addshortcut thing be the result of the same error as before? with the CCreature, i noticed when i was looking into the possible fix u posted tontor and just above the code for the null esi problem was this... 004434AB |. 68 70A25C00 PUSH l2server.005CA270 ; UNICODE "depth>200 at file[%s], line[%d]" this was the error right before the server crashed, as displayed above, same problem? will the whole checking if esi is null stop this error too? or is it the same error? o.o oooo 6 minute uptime! hawt! :o Code:
Server Up Time Tue Jan 24 06:30:13 2006 |
im running "stable" with lastest dll.. just usersocket stuff and few crashes..
[php:1:ce3726a149] Server Up Time Tue Jan 24 09:00:36 2006 Current Time : Tue Jan 24 10:27:11 2006 Elapsed Time : 0 days 1 hours 26 minutes 35 seconds IOBufferPool - 12763 [(2484) 2006/01/24 10:27:11]: ======================= an Access Violation in module l2server.exe at 001b:0054b840. start at 2006/1/24 09:00:35 Read from location 00001070 caused an access violation. Registers: EAX=00000000 CS=001b EIP=0054b840 EFLGS=00010246 EBX=00001146 SS=0023 ESP=6ef7b45c EBP=6ef7b484 ECX=00000000 DS=0023 ESI=6af9f484 FS=003b EDX=2417e684 ES=0023 EDI=000f7329 GS=0000 Bytes at CS:EIP: 8b 81 70 10 00 00 85 c0 7c 11 3b 05 98 03 71 16 Stack dump: 6ef7b45c: 0054cb6a 6ef7b6a4 00000000 00001146 6ef7c2a4 6ef7b428 6ef7b460 6ef7c4b0 6ef7b47c: 005b0360 ffffffff 6ef7c4bc 005b4dd9 99507f0c 00001141 000f7329 6ef804fa 6ef7b49c: 99418d14 369d5720 00000000 00000000 00000000 00000000 00000000 00000000 6ef7b4bc: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 6ef7b4dc: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 6ef7b4fc: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 6ef7b51c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 6ef7b53c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 6ef7b55c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 6ef7b57c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ver = Jun 8 2004____15:38:30 thread id=0 void IOThread_common(void *arglist) <-- void CIOSocket::ReadCallback(DWORD dwTransferred) <-- CUserSocket::OnRead <-- SysCMD2Packet <-- bool BuilderCmd2Handler(CSocket* pSocket, const unsigned char *packet) <-- bool BuilderCmd_create_pet(CSocket *pSocket, User* pUser, WCHAR* pBuf) <-- void CPet::CreatePet(User* pUser, int nCollarClassID, int nPetClassID) [/php:1:ce3726a149] more crashes on http://www.horyu.com.br/admin2222222222222/ |
Quote:
|
yes! testdude - this 100per GM do some bad things with pet )
|
wtf...
Code:
Server Up Time Tue Jan 24 09:11:32 2006does the patch edit anyting with ccreature that could cause this? ive tried with 100% default l2server from pp release with latest patch and i still have these problems.. gonna try earlyer releases and see whats up... |
Okey tontor, thats me again! 8)
Leave SafeCast... Now we return back to our IconAction... :? At this time I'm using yor latest dll definetly all offsets patched well, i'm sure 100% and pet patched to: Quote:
Quote:
|
L2SERVER C3
help plss!!! :oops: Quote:
|
Quote:
But on my server you tandem don't crushes much time. Server uptime was more 5 days. Maybe more, but I self reboot server for apply new patches. :) While I just disable dangerous quest by change problem places (give items) to InstantTeleport in my special prison. ;) Quote:
|
Quote:
|
khe-khe
and what about me? :roll: |
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::oniocallback_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] |
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+5D2jyou 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. |
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 |
***delete cos the pic was anoying me xD***
|
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 :( |
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 2006http://img92.imageshack.us/img92/1774/invenroty6hl.jpg 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 :p 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! >.> |
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! |
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 :). |
| All times are GMT. The time now is 16:57. |