Server crash dump [message #481259] |
Fri, 31 May 2013 13:49 |
Lazy5686
Messages: 254 Registered: November 2007
Karma: 0
|
Recruit |
|
|
First one in a while.
EDIT: Iran pointed out that the size is 0 kB, just checked the original and it says it is 0 bytes.
The Scruffy, AngryCanadian with Vuvuzelas
-Jelly Games admin
[Updated on: Fri, 31 May 2013 13:57] Report message to a moderator
|
|
|
|
Re: Server crash dump [message #481292 is a reply to message #481291] |
Sat, 01 June 2013 13:24 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma: 0
|
General (1 Star) |
|
|
danpaul88 wrote on Sat, 01 June 2013 13:03 | That happens sometimes, I think the crashdump code fails to initialise properly with certain types of crash so it's unable to output the file completely.
|
Indeed, it's very difficult to write code that works correctly in a crashing process because, by definition, the process is in a very bad state where things don't work completely right anymore.
|
|
|
Re: Server crash dump [message #481300 is a reply to message #481259] |
Sat, 01 June 2013 15:37 |
Lazy5686
Messages: 254 Registered: November 2007
Karma: 0
|
Recruit |
|
|
It did the same thing again today, crash dump is 0 bytes.
We were playing Under, Nod was rushing with a bunch of tanks. Connection lost.
Go into the FDS console and it said it had lost connection with XWIS, although none of our other servers running at that time had crashed.
The Scruffy, AngryCanadian with Vuvuzelas
-Jelly Games admin
|
|
|
|
|
Re: Server crash dump [message #481315 is a reply to message #481259] |
Sun, 02 June 2013 07:24 |
BAGUETTE
Messages: 620 Registered: June 2010
Karma: 0
|
Colonel |
|
|
why does raven get blamed for everything lmao
Quote: | Ramb8(to RamBonerUpAss) fuk u big ashole u a big jakass i stick my ramboner up u as
|
Crush gives away med tanks like he gives away handjobs, everyday and as much as possible
|
|
|
|
|
Re: Server crash dump [message #481377 is a reply to message #481318] |
Sun, 02 June 2013 16:12 |
Lazy5686
Messages: 254 Registered: November 2007
Karma: 0
|
Recruit |
|
|
StealthEye wrote on Sun, 02 June 2013 08:05 | Possibly this is due to a known (now fixed) memory leak (a crashdump ending up empty may well be caused by that). Can you keep an eye on the memory usage in case it crashes again?
|
Just had another crash but I had not seen this post, I've sent you a pm but we will keep an eye on the memory usage.
Although we just patched a leak caused by one of our plugins a few days ago, Raven update our scripts to release 5276 so that could be causing issues.
The Scruffy, AngryCanadian with Vuvuzelas
-Jelly Games admin
|
|
|
|
|
|
|
Re: Server crash dump [message #481678 is a reply to message #481259] |
Thu, 06 June 2013 11:03 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
Crashed in MDB_SSGM_KeyHook_Clone::Destroyed(GameObject *obj) while Calling ::RemoveHook, which I added to the plugin by copying it from the SSGM 2.0.2 source:
void MDB_SSGM_KeyHook_Clone::Destroyed(GameObject *obj) {
if (is_keyhook_set == 1337) {
RemoveHook();
}
}
void MDB_SSGM_KeyHook_Clone::RemoveHook() {
if (hookid != 0 && RemoveKeyHook != 0) {
RemoveKeyHook(hookid);
hookid = 0;
if (k != 0) {
delete[] k->key;
delete k;
k = 0;
}
}
}
70: void MDB_SSGM_KeyHook_Clone::Destroyed(GameObject *obj) {
730F12A0 56 push esi
730F12A1 8B F1 mov esi,ecx
71: if (is_keyhook_set == 1337) {
730F12A3 81 7E 24 39 05 00 00 cmp dword ptr [esi+24h],539h
730F12AA 75 45 jne MDB_SSGM_KeyHook_Clone::Detach+51h (730F12F1h)
72: RemoveHook();
730F12AC 8B 46 20 mov eax,dword ptr [esi+20h]
730F12AF 85 C0 test eax,eax
730F12B1 74 3E je MDB_SSGM_KeyHook_Clone::Detach+51h (730F12F1h)
730F12B3 8B 0D F0 20 0F 73 mov ecx,dword ptr [__imp_RemoveKeyHook (730F20F0h)]
730F12B9 8B 09 mov ecx,dword ptr [ecx]
730F12BB 85 C9 test ecx,ecx
730F12BD 74 32 je MDB_SSGM_KeyHook_Clone::Detach+51h (730F12F1h)
730F12BF 50 push eax
730F12C0 FF D1 call ecx
730F12C2 8B 46 1C mov eax,dword ptr [esi+1Ch]
730F12C5 83 C4 04 add esp,4
730F12C8 C7 46 20 00 00 00 00 mov dword ptr [esi+20h],0
730F12CF 85 C0 test eax,eax
730F12D1 74 1E je MDB_SSGM_KeyHook_Clone::Detach+51h (730F12F1h)
730F12D3 8B 50 04 mov edx,dword ptr [eax+4] // CRASHES HERE
730F12D6 52 push edx
730F12D7 FF 15 80 20 0F 73 call dword ptr [__imp_operator delete[] (730F2080h)]
730F12DD 8B 46 1C mov eax,dword ptr [esi+1Ch]
730F12E0 50 push eax
730F12E1 FF 15 88 20 0F 73 call dword ptr [__imp_operator delete (730F2088h)]
730F12E7 83 C4 08 add esp,8
730F12EA C7 46 1C 00 00 00 00 mov dword ptr [esi+1Ch],0
730F12F1 5E pop esi
73: }
74: }
Registers:
EDX 730F22F0
EAX 0000001F
EBP 0018FAF0
AL 1F
The value of the 'k' pointer variable (which is of type KeyHookStruct )somehow was set to 0x1F instead of a valid pointer address, then the code tries to access memory address variable 'k' + 4 (0x1f + 4) which is invalid and the server crashed.
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
|
|
|
|
|
|
|
Re: Server crash dump [message #481717 is a reply to message #481711] |
Fri, 07 June 2013 06:07 |
Lazy5686
Messages: 254 Registered: November 2007
Karma: 0
|
Recruit |
|
|
iRANian wrote on Fri, 07 June 2013 00:48 | So SFPS drops are fixed now?
|
Looks like it.
The Scruffy, AngryCanadian with Vuvuzelas
-Jelly Games admin
|
|
|
|
Re: Server crash dump [message #481735 is a reply to message #481259] |
Fri, 07 June 2013 16:56 |
raven
Messages: 595 Registered: January 2007 Location: Toronto, Ontario
Karma: 0
|
Colonel |
|
|
Wouldn't that be funny? Iran complaining that my scripts were causing SFPS drops, yet it turns out to be his.
-Jelly Administrator
-Exodus Administrator
|
|
|
|
|
|