GeckoView Android Pixel 2错误

时间:2019-11-08 11:54:27

标签: android geckoview

我每晚将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项目也不起作用,同样的错误。 任何想法将不胜感激。

1 个答案:

答案 0 :(得分:0)

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