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

在android 6.0.1 版本,机型OPPO R9S crash问题 #435

Open
youjiaxichenyun opened this issue Sep 13, 2023 · 0 comments
Open

在android 6.0.1 版本,机型OPPO R9S crash问题 #435

youjiaxichenyun opened this issue Sep 13, 2023 · 0 comments
Assignees

Comments

@youjiaxichenyun
Copy link
Contributor

初始化js
代码如下:
GXJSEngineFactory.Companion.getInstance().init(CommonUtil.getContext());
GXJSEngineFactory.Companion.getInstance().registerModule(JSDynamicModule.class);
GXJSEngineFactory.Companion.getInstance().startEngine(new Function0() {
@OverRide
public Unit invoke() {
return null;
}
});
在android 6.0.1 版本,机型OPPO R9S crash
日志如下:

FATAL EXCEPTION: Anchors Thread #6
Process: cn.caocaokeji.user, PID: 5228
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "js_realloc_rt" referenced by "/data/app/cn.caocaokeji.user-2/lib/arm64/libgaiaxjs.so"...
at java.lang.Runtime.loadLibrary(Runtime.java:372)
at java.lang.System.loadLibrary(System.java:1076)
at com.youku.gaiax.quickjs.QuickJS.(QuickJS.java:8)
at com.youku.gaiax.quickjs.QuickJS$b.b(QuickJS.java:1)
at com.youku.gaiax.js.impl.qjs.f.a(QuickJSEngine.kt:2)
at com.youku.gaiax.js.core.GaiaXEngine.d(GaiaXEngine.kt:5)
at com.youku.gaiax.js.GXJSEngineFactory.p(GXJSEngineFactory.kt:6)
at com.youku.gaiax.js.GXJSEngineFactory.c(GXJSEngineFactory.kt:1)
at com.youku.gaiax.js.GXJSEngineFactory$startEngine$2$1.invoke(GXJSEngineFactory.kt:4)
at com.youku.gaiax.js.GXJSEngineFactory$startEngine$2$1.invoke(GXJSEngineFactory.kt:1)
at com.youku.gaiax.js.b.c.a(Aop.kt:2)
at com.youku.gaiax.js.GXJSEngineFactory.v(GXJSEngineFactory.kt:7)
at caocaokeji.sdk.dynamic.i.a.b(JSEngine.java:5)
at caocaokeji.sdk.dynamic.b.d(DynamicSDK.java:12)
at caocaokeji.sdk.dynamic.b$a.a(DynamicSDK.java:1)
at cn.caocaokeji.common.utils.k.a(DynamicUtils.java:14)
at cn.caocaokeji.common.utils.s.g(LibraryUtils.java:1)
at g.a.l.t.b.d.A(InitConfigManagerTask.java:1)
at g.a.l.t.b.b0.t(InitTask.java:2)
at h.e.a.a.e.b.run(Task.kt:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)

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