Testing on Pixel 2... The crash logs aren't that explicit: > 12-07 13:58:24.817 E/AndroidRuntime( 5941): FATAL EXCEPTION: main 12-07 13:58:24.817 E/AndroidRuntime( 5941): Process: org.mozilla.fenix, PID: 5941 12-07 13:58:24.817 E/AndroidRuntime( 5941): java.lang.RuntimeException: GeckoRuntime is shutting down 12-07 13:58:24.817 E/AndroidRuntime( 5941): at mozilla.components.browser.engine.gecko.GeckoEngine$2.onShutdown(GeckoEngine.kt:1) 12-07 13:58:24.817 E/AndroidRuntime( 5941): at org.mozilla.geckoview.GeckoRuntime$1.handleMessage(GeckoRuntime.java:3) The file copied to my device, `/data/local/tmp/org.mozilla.fenix-geckoview-config.yaml`, is: ``` ## GeckoView configuration YAML ## ## Auto-generated by geckodriver. ## See https://mozilla.github.io/geckoview/consumer/docs/automation. --- env: MOZ_CRASHREPORTER: "1" MOZ_CRASHREPORTER_NO_REPORT: "1" MOZ_CRASHREPORTER_SHUTDOWN: "1" args: - "--marionette" - "--profile" - /data/data/org.mozilla.fenix/test_root/org.mozilla.fenix-geckodriver-profile ``` That last line shows the profile is being added to the data directory of the app. However, if the device is not rooted, as far as I know this should be impossible (unless it's created by the app itself but that would affect perf and thus I doubt that we'd do that). My speculation is that Gecko is crashing because it's unable to access the profile directory but, since it's in native code, we don't get to see the results of that.
Bug 1680407 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Testing on Pixel 2... The crash logs aren't that explicit: > 12-07 13:58:24.817 E/AndroidRuntime( 5941): FATAL EXCEPTION: main 12-07 13:58:24.817 E/AndroidRuntime( 5941): Process: org.mozilla.fenix, PID: 5941 12-07 13:58:24.817 E/AndroidRuntime( 5941): java.lang.RuntimeException: GeckoRuntime is shutting down 12-07 13:58:24.817 E/AndroidRuntime( 5941): at mozilla.components.browser.engine.gecko.GeckoEngine$2.onShutdown(GeckoEngine.kt:1) 12-07 13:58:24.817 E/AndroidRuntime( 5941): at org.mozilla.geckoview.GeckoRuntime$1.handleMessage(GeckoRuntime.java:3) The file copied to my device, `/data/local/tmp/org.mozilla.fenix-geckoview-config.yaml`, is: ``` ## GeckoView configuration YAML ## ## Auto-generated by geckodriver. ## See https://mozilla.github.io/geckoview/consumer/docs/automation. --- env: MOZ_CRASHREPORTER: "1" MOZ_CRASHREPORTER_NO_REPORT: "1" MOZ_CRASHREPORTER_SHUTDOWN: "1" args: - "--marionette" - "--profile" - /data/data/org.mozilla.fenix/test_root/org.mozilla.fenix-geckodriver-profile ``` That last line shows the profile is being added to the data directory of the app. However, if the device is not rooted, as far as I know this should be impossible (unless it's created by the app itself but that would affect perf and thus I doubt that we'd do that). My speculation is that Gecko is crashing because it's unable to access the profile directory (since it doesn't exist) but, since the read is in native code, we don't get to see the logs for that.