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 


bug when saving cheat tables

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Tue Jan 28, 2014 10:42 pm    Post subject: bug when saving cheat tables Reply with quote

Not sure if its in the bugtracker(couldn't find it) already but when you are saving a ct and in the save dialog try to make a new folder or go to the New menu by right clicking, cheat engine instantly crashes. Pretty annoying as i just lost the whole table while trying to save it in a new folder.

I am using the latest ce on windows 8.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed Jan 29, 2014 12:02 am    Post subject: Reply with quote

Try the 32-bit client
And make sure you have no shell extensions installed like daemon tools

_________________
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
View user's profile Send private message MSN Messenger
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Wed Jan 29, 2014 12:50 am    Post subject: Reply with quote

Yeah the 32bit works fine. I don't use daemon tools but have a modded win 8 so maybe thats causing the issue.

Anyway, the table saves fine and everything just that you can't create a folder while in that save dialog so i thought i'd let you know.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed Jan 29, 2014 1:24 am    Post subject: Reply with quote

Try this build:
https://drive.google.com/uc?export=download&id=0BwMAnE6mjogMcW0yOXI2NXdwU28
(overwrite the files. Make a backup as these are beta files)

I did make a change to the way unhandled exceptions are dispatched a while back which is in this build. Perhaps it fixes the crash

_________________
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
View user's profile Send private message MSN Messenger
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Wed Jan 29, 2014 9:08 am    Post subject: Reply with quote

Nope same result.

I tried debugging it with windbg and it throws an exception here

00000000`0045786b 48899d08ffffff mov qword ptr [rbp-0F8h],rbx ss:00000000`00cf3f28=0000000000000000

This is what the output says
Code:
(41c.1c7c): C++ EH exception - code e06d7363 (first chance)
(41c.1c7c): Unknown exception - code c0150014 (first chance)
(41c.1c7c): Unknown exception - code c0150014 (first chance)
(41c.1c7c): Stack overflow - code c00000fd (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
cheatengine_x86_64+0x5786b:
00000000`0045786b 48899d08ffffff  mov     qword ptr [rbp-0F8h],rbx ss:00000000`00cf3f28=0000000000000000


I tried to find out where the stack overflow happened but i am guessing its in earlier calls (backtracing one or two didn't yield anything useful). It happens with openfile dialog too and i came across this before the crash (through Process List > Openfile )

00000000`00441539 488b00 mov rax,qword ptr [rax] ds:00000000`00000000=????????????????
00000000`0044153c ff9018010000 call qword ptr [rax+118h]


Trying to access a non-valid address apparently. This crash happens at a different location than at save/load table dialog and also not stack related. I am guessing a variable somewhere is missing a value and not checked before being called/used.

More code around the breakpoint
Code:
00000000`004414fc 4883f800        cmp     rax,0
00000000`00441500 7e11            jle     image00000000_00400000+0x41513 (00000000`00441513)
00000000`00441502 488b4df0        mov     rcx,qword ptr [rbp-10h]
00000000`00441506 488b45f0        mov     rax,qword ptr [rbp-10h]
00000000`0044150a 488b00          mov     rax,qword ptr [rax]
00000000`0044150d ff9090000000    call    qword ptr [rax+90h]
00000000`00441513 488b4df0        mov     rcx,qword ptr [rbp-10h]
00000000`00441517 ba00000000      mov     edx,0
00000000`0044151c e8bf94ffff      call    image00000000_00400000+0x3a9e0 (00000000`0043a9e0)

00000000`00441521 488b55f0        mov     rdx,qword ptr [rbp-10h]
00000000`00441525 488b0d94405700  mov     rcx,qword ptr [image00000000_00400000+0x174094 (00000000`00574094)]
00000000`0044152c 41b801000000    mov     r8d,1

; rax is supposed to get a valid address here but doesn't.
00000000`00441532 488b0587405700  mov     rax,qword ptr [image00000000_00400000+0x174087 (00000000`00574087)]

;breakpoint > bad access
00000000`00441539 488b00          mov     rax,qword ptr [rax] ds:00000000`00000000=????????????????

00000000`0044153c ff9018010000    call    qword ptr [rax+118h]
00000000`00441542 488b55f0        mov     rdx,qword ptr [rbp-10h]
00000000`00441546 488b0d530d5800  mov     rcx,qword ptr [image00000000_00400000+0x180d53 (00000000`00580d53)]
00000000`0044154d e8aec30200      call    image00000000_00400000+0x6d900 (00000000`0046d900)
00000000`00441552 488b45f0        mov     rax,qword ptr [rbp-10h]
00000000`00441556 488b8090010000  mov     rax,qword ptr [rax+190h]
00000000`0044155d 4885c0          test    rax,rax
00000000`00441560 0f849d000000    je      image00000000_00400000+0x41603 (00000000`00441603)
00000000`00441566 488b45f0        mov     rax,qword ptr [rbp-10h]
00000000`0044156a 488b8090010000  mov     rax,qword ptr [rax+190h]
00000000`00441571 f7405008000000  test    dword ptr [rax+50h],8
00000000`00441578 0f8585000000    jne     image00000000_00400000+0x41603 (00000000`00441603)
00000000`0044157e 488b45f0        mov     rax,qword ptr [rbp-10h]
00000000`00441582 488b8890010000  mov     rcx,qword ptr [rax+190h]
00000000`00441589 4c8b45f0        mov     r8,qword ptr [rbp-10h]
00000000`0044158d 48ba0000000000000000 mov rdx,0


If you can't replicate the error, i doubt the above assembly is going to help. Unfortunately due to olly lacking 64bit support and me being pretty useless with windbg, that is all the information i could gather.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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