View previous topic :: View next topic |
Author |
Message |
Twistedfate Expert Cheater Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Mon Feb 12, 2018 3:11 pm Post subject: How to get rid of INVALID_POINTER_READ ....game crash |
|
|
The game crash some times not Always .... with no reason ...
I used dmp files after game crash to view the reason But I dont understand
I used call isbadreadptr ....
but the dump analysis says the reason of crash is
INVALID_POINTER_READ on this instruction
mov ecx,[esi+00000A28]
Code: |
newmem2:
mov esi,[enemy_base]
pushfd
pushad
push 4
lea eax,[esi+000001A4]
push eax
call isbadreadptr
cmp eax,0
jne invalidmemory
mov ecx,[esi+00000A28] // game crashed in this instruction
mov edx,[_player]
mov edx,[edx+00000A28]
cmp edx,ecx
jne codezero
|
Dump Analysis:
FAULTING_IP:
+443
055d001f 8b8e280a0000 mov ecx,dword ptr [esi+00000A28]
EXCEPTION_RECORD: ffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 055d001f
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 00000000
Parameter[1]: 1df465b0
Attempt to read from address 1df465b0
DEFAULT_BUCKET_ID: INVALID_POINTER_READ
ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at "0x%08lx" referenced memory at "0x%08lx". The memory could not be "%s".
EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at "0x%08lx" referenced memory at "0x%08lx". The memory could not be "%s".
EXCEPTION_PARAMETER1: 00000000
EXCEPTION_PARAMETER2: 1df465b0
READ_ADDRESS: 1df465b0
FOLLOWUP_IP:
mfc90!CWnd::OnWndMsg+443
77bebeb3 ?? ???
FAULTING_THREAD: 00002e3c
PRIMARY_PROBLEM_CLASS: INVALID_POINTER_READ
BUGCHECK_STR: APPLICATION_FAULT_INVALID_POINTER_READ
-------------------------------------------
CONTEXT: 00195cdc -- (.cxr 0x195cdc)
eax=00000000 ebx=0b290078 ecx=73d03d4d edx=1df45000 esi=1df45b88 edi=0000002a
eip=055d001f esp=0019613c ebp=001965d8 iopl=0 nv up ei pl zr na pe nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00210246
055d001f ?? ???
Resetting default scope
READ_ADDRESS: 1df465b0
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Mon Feb 12, 2018 4:05 pm Post subject: |
|
|
it's possible that the memory gets freed between the call isbadreadptr and mov ecx,[esi+00000A28]
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Twistedfate Expert Cheater Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Mon Feb 12, 2018 4:18 pm Post subject: |
|
|
What is the solution if that's occur ?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Mon Feb 12, 2018 4:52 pm Post subject: |
|
|
try low level exception handling (that [fs:0] stuff or rtladdvectoredexceptionhandler)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
|