dlopen failed: cannot locate symbol 错误
paopao-chen opened this issue · comments
本地跑2.2.1的demo没问题,但是集成到项目中dump后开始分析时就会报这个错,还麻烦问下是什么原因导致的呢?
E dlopen failed: cannot locate symbol "_ZNKSt6__ndk119__shared_weak_count13__get_deleterERKSt9type_info" referenced by "/data/app/~~PSi0MIBx-_3SNLaJ2wqLCg==/com.dubox.drive-XSh7G_OblN0gIXSKAXBG_w==/lib/arm64/libkwai-android-base.so"...
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZNKSt6__ndk119__shared_weak_count13__get_deleterERKSt9type_info" referenced by "/data/app/~~PSi0MIBx-_3SNLaJ2wqLCg==/com.dubox.drive-XSh7G_OblN0gIXSKAXBG_w==/lib/arm64/libkwai-android-base.so"...
at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
at java.lang.System.loadLibrary(System.java:1664)
at com.kwai.koom.base.CommonConfig$Builder$build$6.invoke(CommonConfig.kt:145)
at com.kwai.koom.base.CommonConfig$Builder$build$6.invoke(CommonConfig.kt:53)
at com.kwai.koom.base.Monitor_SoKt.loadSoQuietly(Monitor_So.kt:30)
at com.kwai.koom.fastdump.ForkJvmHeapDumper.init(ForkJvmHeapDumper.java:53)
at com.kwai.koom.fastdump.ForkJvmHeapDumper.dump(ForkJvmHeapDumper.java:65)
at com.kwai.koom.javaoom.monitor.OOMMonitor.dumpAndAnalysis(OOMMonitor.kt:309)
at com.kwai.koom.javaoom.monitor.OOMMonitor.access$dumpAndAnalysis(OOMMonitor.kt:40)
at com.kwai.koom.javaoom.monitor.OOMMonitor$trackOOM$1.invoke(OOMMonitor.kt:172)
at com.kwai.koom.javaoom.monitor.OOMMonitor$trackOOM$1.invoke(OOMMonitor.kt:40)
at com.kwai.koom.base.Monitor_ThreadKt$async$2.invoke(Monitor_Thread.kt:35)
at com.kwai.koom.base.Monitor_ThreadKt$async$2.invoke(Unknown Source:0)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)