Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to get rid of INVALID_POINTER_READ ....game crash

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
Twistedfate
Expert Cheater
Reputation: 1

Joined: 11 Mar 2016
Posts: 212

PostPosted: Mon Feb 12, 2018 3:11 pm    Post subject: How to get rid of INVALID_POINTER_READ ....game crash Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 352

Joined: 09 May 2003
Posts: 20500
Location: The netherlands

PostPosted: Mon Feb 12, 2018 4:05 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message MSN Messenger
Twistedfate
Expert Cheater
Reputation: 1

Joined: 11 Mar 2016
Posts: 212

PostPosted: Mon Feb 12, 2018 4:18 pm    Post subject: Reply with quote

What is the solution if that's occur ?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 352

Joined: 09 May 2003
Posts: 20500
Location: The netherlands

PostPosted: Mon Feb 12, 2018 4:52 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites