Android_server is bad since android 14

Hi again! Please try to debug any apps via android_server since android 14, it can’t be possible. You will get crashes or many exceptions.
If i use lldb-server
and lldb client with

settings set plugin.jit-loader.gdb.enable off
process handle SIGSEGV -s false -p true -n false
process handle SIGBUS -s false -p true -n false

it will work perfect.
How can i use ida instead of lldb client for lldb-server?

You can try configuring exceptions in IDA’s debugger options to behave similarly (don’t suspend, pass to application).

I did it, but app still crashes. How can i log the reason of crash?

well, bypassing the signals in the runtime initialization will bypass the real crashes too. Perhaps you need to bypass the signals only until the app starts up, then restore the settings so that you can catch the crashes in the app.

Enabling the log option might help you to track down the cutoff point (e.g. when addresses starts to change).

1 Like