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 


Ceserver Debugger Doesn't Work

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Akillibirisi
How do I cheat?
Reputation: 0

Joined: 06 Jan 2019
Posts: 8
Location: Turkey

PostPosted: Wed Jul 26, 2023 8:13 am    Post subject: Ceserver Debugger Doesn't Work Reply with quote

Alright, been plagued by this for weeks, I'm also open to all other debugger suggestions for dynamic debugging that does it in a manner CE does. I read through many other related topics but to no avail.

The app becomes unresponsive and eventually crashes as soon as the debugger is attached regardless of what app I attach the debugger to, sometimes giving "All registers are used up. Free some and try again" error, and other times not. Using CE 7.5 and ceserver 7.5:

I first tried CE in 32 bit Bluestacks, and I guess that's the worst possible emulator for this anyway, then moved onto Nox as is suggested in other threads.

In 32 bit Nox emulator running on Android 7 and using ceserver_x86, this time CE managed to get several readings from Find Out What Accesses This Address right before crashing the app again.

In the final attempt I set up 64 bit Nox simulator running Android 9 and installed ceserver. Though for some reason it did not run ceserver_x86_64 giving this error message:

process_vm_readv=0x79feb1c002b0
process_vm_writev=0x79feb1c002d0
listening on port 52736
---
&s=0x7fff4a93cdb8
main=0x5e853ab3b5f0
sizeof(off_t)=8
sizeof(off64_t)=8
sizeof(uintptr_t)=8
sizeof(long)=8
CESERVERPATH=/system/xbin/ceserver_x86_64/
Segmentation fault

So then I initialized ceserver_arm64 instead, crashing the app all the same. ADB Shell fills up with error messages as the debugger tries to attach to process , here's the same repeating error message on the Shell until crash. It somehow looks like Android OS is trying to fight back the debugger:

CMD_GETTHREADCONTEXT:
Going to call GetThreadContext(1, 13169, 0x78e111801028)
GetThreadContext(13169)
Inside debuggerthread
Getting context of thread 13169
context=0x78e111801028
context->structsize=0x78e111801028
context->type=0x78e11180102c
context->regs=0x78e111801030
context->fp=0x78e111801140
iov_base=0x78e111801030 sizeof(CONTEXT_REGS)=272
CEServer Debugger Thread: ptrace called (PTRACE_GETREGSET(4204), 13169, 0x1, 0x78e111800f10)
ptrace error(Invalid argument (22))!
getRegisters() returned -1
result=0
Virtual event. Ignore
Returning queued event (sig=-1, thread=13215)

Simple scans and modifications to memory work just fine so long as debugger isn't involved. I also tried changing breakpoint and debugger methods in CE settings. Any help is greatly appreciated.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 465

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

PostPosted: Wed Oct 23, 2024 1:50 am    Post subject: Reply with quote

compile ceserver from the sourcecode (and the client as well)
_________________
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
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