gpt4 book ai didi

android - GeckoView Android Pixel 2 错误

转载 作者:行者123 更新时间:2023-11-30 04:58:10 28 4
gpt4 key购买 nike

我每晚将 GeckoView 版本 70.0.20190712095934 集成到示例应用中。它在我装有 Android 6 的旧 Nexus 5 上运行良好(-> 网站显示)。但是如果我在我的 Pixel 2 上运行相同的应用程序,该页面根本不会加载。我已经尝试使用最新的稳定 GeckoView 版本,它们在 Nexus 上都运行良好,但在 Pixel 2 上崩溃。使用最新版本,我什至遇到 SIGSEV 错误并在 Pixel 2 上完全崩溃。

这是日志:

2019-11-08 12:50:30.262 14939-14982/? W/GeckoLinker: /data/app/com.geckoengine.example-790VO6zYdwJy299N7lcXcA==/lib/arm64/libnss3.so: unhandled flags #8 not handled
2019-11-08 12:50:30.264 14939-14982/? W/GeckoLinker: /data/app/com.geckoengine.example-790VO6zYdwJy299N7lcXcA==/lib/arm64/libxul.so: unhandled flags #8 not handled
2019-11-08 12:50:30.264 14939-14982/? W/GeckoLinker: /data/app/com.geckoengine.example-790VO6zYdwJy299N7lcXcA==/lib/arm64/liblgpllibs.so: unhandled flags #8 not handled
2019-11-08 12:50:30.921 14939-14939/com.geckoengine.example D/GeckoNetworkManager: Incoming event enableNotifications for state OnNoListeners -> OnWithListeners
2019-11-08 12:50:30.922 14939-14939/com.geckoengine.example D/GeckoNetworkManager: New network state: UP, WIFI, WIFI
2019-11-08 12:50:30.923 14939-14939/com.geckoengine.example D/GeckoNetworkManager: Incoming event receivedUpdate for state OnWithListeners -> OnWithListeners
2019-11-08 12:50:30.924 14939-14939/com.geckoengine.example D/GeckoNetworkManager: New network state: UP, WIFI, WIFI
2019-11-08 12:50:30.928 14939-14982/com.geckoengine.example D/GeckoViewTelemetryController: observed internal-telemetry-geckoview-load-complete - ready to handle telemetry requests
2019-11-08 12:50:30.938 14939-15019/com.geckoengine.example I/GeckoConsole: OpenGL compositor Initialized Succesfully.
Version: OpenGL ES 3.2 V@385.0 (GIT@bc00834, I609ab310b2) (Date:04/11/19)
Vendor: Qualcomm
Renderer: Adreno (TM) 540
FBO Texture Target: TEXTURE_2D
2019-11-08 12:50:30.943 14939-14982/com.geckoengine.example W/GeckoLinker: /data/app/com.geckoengine.example-790VO6zYdwJy299N7lcXcA==/lib/arm64/libsoftokn3.so: unhandled flags #8 not handled
2019-11-08 12:50:30.944 14939-14982/com.geckoengine.example W/GeckoLinker: /data/app/com.geckoengine.example-790VO6zYdwJy299N7lcXcA==/lib/arm64/libfreebl3.so: unhandled flags #8 not handled
2019-11-08 12:50:30.956 14939-15013/com.geckoengine.example W/GeckoLinker: /data/app/com.geckoengine.example-790VO6zYdwJy299N7lcXcA==/lib/arm64/libnssckbi.so: unhandled flags #8 not handled
2019-11-08 12:50:31.109 14939-14982/com.geckoengine.example W/oengine.exampl: Accessing hidden field Ljava/lang/Boolean;->value:Z (greylist-max-p, JNI, denied)
2019-11-08 12:50:31.109 14939-14982/com.geckoengine.example W/oengine.exampl: Accessing hidden field Ljava/lang/Integer;->value:I (greylist-max-p, JNI, denied)
2019-11-08 12:50:31.109 14939-14982/com.geckoengine.example W/oengine.exampl: Accessing hidden field Ljava/lang/Double;->value:D (greylist-max-p, JNI, denied)
2019-11-08 12:50:31.132 14939-14982/com.geckoengine.example I/Gecko: [Parent 14939, Main Thread] WARNING: failed to open shm: Permission denied: file /builds/worker/workspace/build/src/ipc/chromium/src/base/shared_memory_posix.cc, line 106
2019-11-08 12:50:31.127 14939-14939/com.geckoengine.example W/Gecko: type=1400 audit(0.0:7680): avc: denied { open } for path="/dev/ashmem" dev="tmpfs" ino=16646 scontext=u:r:untrusted_app:s0:c90,c257,c512,c768 tcontext=u:object_r:ashmem_device:s0 tclass=chr_file permissive=0
2019-11-08 12:50:31.136 14939-14982/com.geckoengine.example I/Gecko: [Parent 14939, Main Thread] WARNING: failed to open shm: Permission denied: file /builds/worker/workspace/build/src/ipc/chromium/src/base/shared_memory_posix.cc, line 106
2019-11-08 12:50:31.130 14939-14939/com.geckoengine.example W/Gecko: type=1400 audit(0.0:7681): avc: denied { open } for path="/dev/ashmem" dev="tmpfs" ino=16646 scontext=u:r:untrusted_app:s0:c90,c257,c512,c768 tcontext=u:object_r:ashmem_device:s0 tclass=chr_file permissive=0
2019-11-08 12:50:31.136 14939-14982/com.geckoengine.example E/GeckoConsole: [JavaScript Error: "NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIScriptSecurityManager.getLoadContextContentPrincipal]" {file: "chrome://global/content/elements/browser-custom-element.js" line: 1231}]
construct@chrome://global/content/elements/browser-custom-element.js:1231:38
connectedCallback@chrome://global/content/elements/browser-custom-element.js:381:12
init@chrome://geckoview/content/geckoview.js:69:37
startup@chrome://geckoview/content/geckoview.js:449:17
2019-11-08 12:50:31.137 14939-14982/com.geckoengine.example E/GeckoConsole: [JavaScript Error: "TypeError: this.messageManager is null" {file: "chrome://geckoview/content/geckoview.js" line: 77}]
init@chrome://geckoview/content/geckoview.js:77:5
startup@chrome://geckoview/content/geckoview.js:449:17
2019-11-08 12:50:31.138 14939-14982/com.geckoengine.example D/GeckoThread: State changed to RUNNING
2019-11-08 12:50:31.138 14939-14982/com.geckoengine.example I/GeckoSession: zerdatime 307605471 - chrome startup finished
2019-11-08 12:50:31.143 14939-14982/com.geckoengine.example D/GeckoViewStartup: onEvent GeckoView:SetLocale
2019-11-08 12:50:31.144 14939-15019/com.geckoengine.example E/Gecko: ShmemAndroid::Create():open: Permission denied (13)
2019-11-08 12:50:31.144 14939-15019/com.geckoengine.example E/Gecko: ShmemAndroid::Map(): Bad file descriptor (9)
2019-11-08 12:50:31.145 14939-14982/com.geckoengine.example D/GeckoViewStartup: onEvent GeckoView:ResetUserPrefs
2019-11-08 12:50:31.140 14939-14939/com.geckoengine.example W/Thread-3: type=1400 audit(0.0:7682): avc: denied { open } for path="/dev/ashmem" dev="tmpfs" ino=16646 scontext=u:r:untrusted_app:s0:c90,c257,c512,c768 tcontext=u:object_r:ashmem_device:s0 tclass=chr_file permissive=0
2019-11-08 12:50:31.160 14939-14982/com.geckoengine.example D/GeckoViewXUL: onEvent GeckoView:UpdateModuleState {"enabled":true,"module":"GeckoViewSelectionAction"}
2019-11-08 12:50:31.161 14939-14982/com.geckoengine.example E/GeckoConsole: [JavaScript Error: "TypeError: this._manager.messageManager is null" {file: "chrome://geckoview/content/geckoview.js" line: 358}]
_loadFrameScript@chrome://geckoview/content/geckoview.js:358:5
set enabled@chrome://geckoview/content/geckoview.js:391:12
onEvent@chrome://geckoview/content/geckoview.js:218:11
2019-11-08 12:50:31.217 14939-14982/com.geckoengine.example E/GeckoConsole: [JavaScript Error: "undefined"]

来自 Github 的所有其他示例 GeckoView 项目也没有工作,同样的错误。任何想法将不胜感激。

最佳答案

这听起来像是 GeckoView 中的错误,你能在 https://bugzilla.mozilla.org/enter_bug.cgi?product=GeckoView&component=General 打开一个吗?

关于android - GeckoView Android Pixel 2 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58766092/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com