You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**sir, I am trying your old version of the code, something from the 0.14 world, and now there is a problem that it no longer works on the advanced Android version(14), is native crash。 What is the reason for this? Can you briefly tell me the direction of the problem? I mean elf soinfo got...
I don't know where the problem lies with things like that,**
Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x84ca8209
for (int i = 0; i < mcpelibhandle->phnum; i++) {
const Elf32_Phdr *phdr = mcpelibhandle->phdr + i;
if (phdr->p_type ==
PT_DYNAMIC) { // .got always comes after .dynamic in every Android lib I've seen
got = (void **) (((uintptr_t) mcpelibhandle->base) + phdr->p_vaddr + phdr->p_memsz);
break;
}
}
phnum is crash.
The text was updated successfully, but these errors were encountered:
Android 7.0 and above returns a random number for dlopen() if your app targets API v24 or above.
Later BlockLauncher versions temporarily lowers the API target back to 23 during dlopen() to avoid this:
Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x84ca8209
for (int i = 0; i < mcpelibhandle->phnum; i++) {
const Elf32_Phdr *phdr = mcpelibhandle->phdr + i;
if (phdr->p_type ==
PT_DYNAMIC) { // .got always comes after .dynamic in every Android lib I've seen
got = (void **) (((uintptr_t) mcpelibhandle->base) + phdr->p_vaddr + phdr->p_memsz);
break;
}
}
phnum is crash.
The text was updated successfully, but these errors were encountered: