Skip navigation
3282 Views 7 Replies Latest reply: Dec 1, 2012 1:19 PM by megaDee RSS
Demonic669 Newbie 14 posts since
Oct 14, 2012
Currently Being Moderated

Oct 14, 2012 4:29 AM

Activision Please Read This It Will Tell You How To Fix The Memory Leak

I figured what I would do is come here and explain to you all about this crash. I looked at the log crash file that Dr Watson created and it was basic and plain but I also took the crash dumb file and analyzed the crash. What I found was understandable to why this game crashed. I will not post the entire error log nor the entire crash dumb log because that is really pointless. I will however post the most important areas.

In the log of the crash this part is important.

 

Application exception occurred:

        App: C:\Program Files\Activision\Prototype 2\prototype2.exe (pid=1644)

        When: 10/14/2012 @ 01:14:26.687

        Exception number: c0000005 (access violation)

 

This tells that the program crashed at the time given with the code access violation.

Here is what crashed.

 

function: prototype2engine

        1099fa6f 52               push    edx

        1099fa70 4c               dec     esp

        1099fa71 6a10             push    0x10

        1099fa73 6a00             push    0x0

        1099fa75 8d442424         lea     eax,[esp+0x24]

        1099fa79 50               push    eax

        1099fa7a 51               push    ecx

        1099fa7b 57               push    edi

        1099fa7c ffd2             call    edx

        1099fa7e 8b464c           mov     eax,[esi+0x4c]

FAULT ->1099fa81 8b08             mov     ecx,[eax]         ds:0023:00000000=????????

        1099fa83 6a00             push    0x0

        1099fa85 6a00             push    0x0

        1099fa87 8d542418         lea     edx,[esp+0x18]

        1099fa8b 52               push    edx

        1099fa8c 53               push    ebx

        1099fa8d 50               push    eax

        1099fa8e 8b414c           mov     eax,[ecx+0x4c]

        1099fa91 ffd0             call    eax

        1099fa93 8b5648           mov     edx,[esi+0x48]

        1099fa96 8b44da04         mov     eax,[edx+ebx*8+0x4]

 

Here is why it crashed.

 

*----> Stack Back Trace <----*

WARNING: Stack unwind information not available. Following frames may be wrong.

ChildEBP RetAddr  Args to Child             

1839f688 1099a827 1839f6c8 1773f9d0 1839f6c8 prototype2engine+0x99fa81

1839f748 1839f7a8 1773f9d0 0000001a 00000000 prototype2engine+0x99a827

00000000 00000000 00000000 00000000 00000000 0x1839f7a8

 

Now that to most dont explain anything but if you dig deeper and go and study the crash dump.

 

This is from the crash dump and this shows clearly what is actaully doing the crash.

 

FAULTING_IP:

prototype2engine!EngineInitialize+2b8bb1

1099fa81 8b08            mov     ecx,dword ptr [eax]

 

The prototype2engine.dll file has a function in side of it or a call called EngineInitialize. That function or that call what ever it maybe could even be a method or variable or whatever is what is causing this error.

Now here is why. Again this is from the crash dump.

 

STACK_TEXT: 

WARNING: Stack unwind information not available. Following frames may be wrong.

1839f688 1099a827 1839f6c8 1773f9d0 1839f6c8 prototype2engine!EngineInitialize+0x2b8bb1

1839f748 1839f7a8 1773f9d0 0000001a 00000000 prototype2engine!EngineInitialize+0x2b3957

00000000 00000000 00000000 00000000 00000000 0x1839f7a8

 

Now to be most honest any real programmer can see something is wrong here including me.

I am assuming that the EngineInitialize function or sub route or what ever it is is used to initialize the engine or dll or what not. The issue is simple.

This is trying to run twice back to back which if I am correct when its ran once its already initialized yet nothing is sent to that dll to say hey buddy its already done so fall back on this or whatever thus causing the prototype2engine.dll file to become unstable thus causing The error that we all have seen ever sence this game was released.

 

So with my understanding somewhat of this type of error I am assuming two things here. 1 that function that is trying to run twice cant or needs to be ran only one time or it does not check first if its already ran. 2 It is trying to access the codes from written memory yet there is no codes to access.

 

Trust me I will cause this game to error 40 times today and sit and study the codes and I will come back and once again display each and every code.

For those that do read this if your crash logs look the same then study them and perhaps we can help activision do their job lol or hell perhaps we can do their job for them and make them look bad.

Bookmarked By (0)