Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在开启了16KB页大小的android 15模拟器上运行崩溃 #2680

Open
fhbianling opened this issue Feb 17, 2025 · 1 comment
Open

在开启了16KB页大小的android 15模拟器上运行崩溃 #2680

fhbianling opened this issue Feb 17, 2025 · 1 comment
Assignees

Comments

@fhbianling
Copy link

Which Version of libpag are you using?

libpag 4.4.20

What Platform are you on?

android studio虚拟机,Pixel 8a ,系统镜像: arm64-v8a Android 15.0(16KB Page Size Google APIs PlayStore)

Expected Behavior

  1. 新建一个空项目,仅添加libpag依赖;
  2. 在activity_main.xml中声明一个<org.libpag.PAGView/>;
  3. 不再加入其他任何额外逻辑。

期望应用应能够正常启动进入首页。

Actual Behavior

  1. 依赖版本为4.4.15时,应用可正常进入首页
  2. 依赖版本为4.4.20时,应用必崩溃。

报错信息

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/sdk_gphone16k_arm64/emu64a16k:15/AE3A.240806.019/12368160:user/dev-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2025-02-17 14:52:14.954955776+0800
Process uptime: 1s
Page size: 16384 bytes
Cmdline: com.bian.study.demo.fuckinglib
pid: 5190, tid: 5190, name: demo.fuckinglib  >>> com.bian.study.demo.fuckinglib <<<
uid: 10204
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x0000742f531171c8
    x0  0000000000000000  x1  0000742f531171b8  x2  0000000000000001  x3  0000743325f9de80
    x4  0000743325f9df00  x5  0000000000000004  x6  0000000001414d4c  x7  0000743325f9c004
    x8  000000003f800000  x9  0000743324718000  x10 00007433235e3f58  x11 0000000000004000
    x12 0000000000000016  x13 0000000000000002  x14 000000000000000c  x15 00007433234fc2f8
    x16 0000000000000001  x17 00007433235699e0  x18 0000743326d94000  x19 0000742f53117000
    x20 0000743325f97b00  x21 0000742f53101ce0  x22 0000000000000000  x23 0000742f52e58be0
    x24 00007433272db000  x25 000000000000003c  x26 00007433272d3000  x27 00007433272d3000
    x28 00007433272d3000  x29 00007ffff8267800
    lr  0000742f52e58c0c  sp  00007ffff82677f0  pc  0000742f52e58c18  pst 0000000080001000

11 total frames
backtrace:
      #00 pc 0000000000048c18  /data/app/~~gWr7SrguaCQtL-mwdie4dQ==/com.bian.study.demo.fuckinglib-Wp8utgU4sc8dz7Dy3zNLFg==/base.apk!libpag.so (offset 0x178000) (BuildId: 2ca1e6aa88fcb4ca7a8afc82e02bfa770757d5b7)
      #01 pc 00000000000e855c  /apex/com.android.runtime/bin/linker64 (__dl__ZN6soinfo17call_constructorsEv+704) (BuildId: 2d71b6257dee5bc0bb7a6bbc0cdda30f)
      #02 pc 00000000000cdc2c  /apex/com.android.runtime/bin/linker64 (__dl__Z9do_dlopenPKciPK17android_dlextinfoPKv+752) (BuildId: 2d71b6257dee5bc0bb7a6bbc0cdda30f)
      #03 pc 00000000000c8b6c  /apex/com.android.runtime/bin/linker64 (__dl__ZL10dlopen_extPKciPK17android_dlextinfoPKv.__uniq.234527301065430621646263515731762262959+72) (BuildId: 2d71b6257dee5bc0bb7a6bbc0cdda30f)
      #04 pc 00000000000040c8  /apex/com.android.runtime/lib64/bionic/libdl.so (android_dlopen_ext+16) (BuildId: bb1360f0eae574e04d1e293e6681cea3)
      #05 pc 0000000000019898  /apex/com.android.art/lib64/libnativeloader.so (android::NativeLoaderNamespace::Load(char const*) const+140) (BuildId: 24d166579be78837067c8dcf28e7231b)
      #06 pc 0000000000009344  /apex/com.android.art/lib64/libnativeloader.so (OpenNativeLibrary+1572) (BuildId: 24d166579be78837067c8dcf28e7231b)
      #07 pc 000000000066b8b0  /apex/com.android.art/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, _jobject*, _jclass*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*)+604) (BuildId: 05bfa63ad29b97d7dde4e764ce193f37)
      #08 pc 0000000000005914  /apex/com.android.art/lib64/libopenjdkjvm.so (JVM_NativeLoad+356) (BuildId: 52e480f4d160d1f919dafa72cae26e8a)
      #09 pc 000000000037f570  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 05bfa63ad29b97d7dde4e764ce193f37)
      #10 pc 0000000000021488  [anon_shmem:dalvik-jit-code-cache] (offset 0x2000000)
@kevingpqi123
Copy link
Collaborator

明天会发布一个版本,支持该特性

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants