frida/frida-gum

Fatal signal 11 (SIGSEGV), code 1, fault addr 0x38 in tid 16884

2361788963 opened this issue · 3 comments

I am using frida-gum directly in my android project
I just use
GumAddress address = gum_module_find_base_address("libart.so");
It cause an error. -> Fatal signal 11 (SIGSEGV), code 1, fault addr 0x38 in tid 16884
Not only that, I used other gum_module_xxx function,and it report the same error
-> Fatal signal 11 (SIGSEGV), code 1, fault addr 0x38 in tid 16884
I switched to the latest version and this is what happened too.
Why is this happening? It works fine with frida-service, but not with frida-gum in an Android project.

Sorry, it was my mistake, I didn't use gum_init_embedded () Initialize

But now I have a new problem, why I can get the symbols in the emulator at frida-service using Module.enumerateSymbols("libart.so").
Use gum_module_enumerate_symbols in frida-gum but can't get symbols.The real machine is fine, but not the simulator.

s1341 commented

Does your binary contain symbols?

Closing anyway, as your original issue is resolved.