Open Bug 1681502 Opened 4 years ago Updated 4 years ago

Firefox 83.0-r1 x86_64: Crash Annotation GraphicsCriticalError: |[C0][GFX1]

Categories

(Core :: Graphics: Text, defect)

Firefox 83
defect

Tracking

()

UNCONFIRMED

People

(Reporter: lopeslobo, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:83.0) Gecko/20100101 Firefox/83.0

Steps to reproduce:

S/O: Alpine edge
Firefox 83.0-r1 x86_64
geckodriver-v0.28.0
headless=true

Actual results:

I'm trying to run firefox in headless mode with selenium.
I'm getting the following error in the last version:
1607339934953 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "--headless" "--no-remote" "-foreground" "-profile" "/tmp/rust_mozprofile6wgbbq"
*** You are running in headless mode.
Crash Annotation GraphicsCriticalError: |[C0][GFX1]: no fonts - init: 1 fonts: 14 loader: 0 (t=0.318426) [GFX1]: no fonts - init: 1 fonts: 14 loader: 0
console.warn: SearchSettings: "get: No settings file exists, new profile?" (new Error("", "(unknown module)"))
Crash Annotation GraphicsCriticalError: |[C0][GFX1]: no fonts - init: 1 fonts: 14 loader: 0 (t=0.371525) [GFX1]: no fonts - init: 1 fonts: 14 loader: 0
###!!! [Parent][MessageChannel] Error: (msgtype=0x3A0028,name=PContent::Msg_PreferenceUpdate) Channel error: cannot send/recv
###!!! [Parent][MessageChannel] Error: (msgtype=0x3A0028,name=PContent::Msg_PreferenceUA content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down
pdate) Channel error: cannot send/recv
JavaScript error: resource://activity-stream/lib/ActivityStreamPrefs.jsm, line 27: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIPrefBranch.removeObserver]
JavaScript error: resource:///modules/sessionstore/SessionStore.jsm, line 2303: TypeError: subject.QueryInterface is not a function
A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down
console.error: Region.jsm: "Error fetching region" (new TypeError("NetworkError when attempting to fetch resource.", ""))
console.error: Region.jsm: "Failed to fetch region" (new Error("NO_RESULT", "resource://gre/modules/Region.jsm", 376))
console.warn: SearchService: "_init: abandoning init due to shutting down"
JavaScript error: , line 0: uncaught exception: 2147500036
JavaScript error: , line 0: uncaught exception: 2147500036
JavaScript error: , line 0: uncaught exception: 2147500036
JavaScript error: , line 0: uncaught exception: 2147500036
JavaScript error: , line 0: uncaught exception: 2147500036
JavaScript error: , line 0: uncaught exception: 2147500036
org.openqa.selenium.WebDriverException: Process unexpectedly closed with status 0
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'dev-selenium-alpine-ba4634dd-c921-49a5-b7fb-0b25f2459876', ip: '10.116.11.217', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-862.14.4.el7.x86_64', java.version: '1.8.0_272'
org.openqa.selenium.WebDriverException: Process unexpectedly closed with status 0(..)

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

As it's GraphicsCriticalError, move this bug to gfx.

Component: Audio/Video: Playback → Graphics
Component: Graphics → Graphics: Text

Seeing the same issue log on my Samsung Tab S6 via ArchLinux / Termux. It's an odd environment to the say the least but upgrading was the only possible cause.

Based on the error messages, the problem is related to loading of fonts. Can you try a newer version of Firefox, outside of the distro package management if necessary?

Severity: -- → S3

Same issue with 84 locally. Exact same log.

Hi, in the Alpine edge repository only 83.0-r1 version is available.

Same problem in version 84.0.1-r0.
Any idea?

Log:

1609150026290 geckodriver INFO Listening on 127.0.0.1:10924
1609150026650 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "--headless" "--no-remote" "-foreground" "-profile" "/tmp/rust_mozprofilef2Ap0u"
*** You are running in headless mode.

(firefox:1391): GLib-GObject-WARNING **: 10:07:07.118: invalid (NULL) pointer instance

(firefox:1391): GLib-GObject-CRITICAL **: 10:07:07.119: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(/usr/lib/firefox/firefox:1546): GLib-GObject-WARNING **: 10:07:07.733: invalid (NULL) pointer instance

(/usr/lib/firefox/firefox:1546): GLib-GObject-CRITICAL **: 10:07:07.733: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(/usr/lib/firefox/firefox:1571): GLib-GObject-WARNING **: 10:07:07.863: invalid (NULL) pointer instance

(/usr/lib/firefox/firefox:1571): GLib-GObject-CRITICAL **: 10:07:07.863: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
console.warn: SearchSettings: "get: No settings file exists, new profile?" (new Error("", "(unknown module)"))
console.error: Region.jsm: "Error fetching region" (new TypeError("NetworkError when attempting to fetch resource.", ""))
console.error: Region.jsm: "Failed to fetch region" (new Error("NO_RESULT", "resource://gre/modules/Region.jsm", 376))

(/usr/lib/firefox/firefox:1651): GLib-GObject-WARNING **: 10:07:09.179: invalid (NULL) pointer instance

(/usr/lib/firefox/firefox:1651): GLib-GObject-CRITICAL **: 10:07:09.180: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
1609150029180 Marionette INFO Listening on port 36399
1609150029294 Marionette WARN TLS certificate errors will be ignored for this session
Dec 28, 2020 10:07:09 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C

org.openqa.selenium.TimeoutException:
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'dev-selenium-alpine-fcc7cbc2-0471-4101-92a6-05a151589e60', ip: '10.118.43.117', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-862.14.4.el7.x86_64', java.version: '1.8.0_272'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 84.0.1, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20201223211833, moz:geckodriverVersion: 0.28.0, moz:headless: true, moz:processID: 1391, moz:profile: /tmp/rust_mozprofilef2Ap0u, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 3.10.0-862.14.4.el7.x86_64, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore}
Session ID: 07d5cdf6-4d32-4cb8-8078-a7d49ef8fa25
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:277)
at org.openqa.selenium.remote.RemoteWebDriver$RemoteNavigation.to(RemoteWebDriver.java:857)

I'm not too sure this latest log is at all related to the 83/84 logs I've seen alas.

On 84.0.1 I am still getting the original log - specifically: Crash Annotation GraphicsCriticalError: |[C0][GFX1]: no fonts - init: 1 fonts: 230 loader: 0 (t=0.711786) [GFX1]: no fonts - init: 1 fonts: 230 loader: 0.

I've since found a workaround for my specific situation via https://github.com/termux/proot/issues/139#issuecomment-748635682
Setting MOZ_FAKE_NO_SANDBOX=1 previous to running firefox helps me get passed the errors that 84 has introduced.

With set MOZ_FAKE_NO_SANDBOX=1 I have a new error:

Log:
1609157334432 Marionette INFO Stopped listening on port 33030
JavaScript error: resource://activity-stream/lib/ASRouter.jsm, line 987: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIObserverService.removeObserver]

Any idea?

You need to log in before you can comment on or make changes to this bug.