Closed Bug 1678324 Opened 4 years ago Closed 3 years ago

[Linux] Firefox throws GLib-GObject-WARNING **: 12:04:41.268: invalid (NULL) pointer instance

Categories

(Core :: Graphics, defect)

defect

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: stransky, Assigned: stransky)

Details

Attachments

(1 file)

Firefox throws:

GLib-GObject-WARNING **: 12:04:41.268: invalid (NULL) pointer instance
GLib-GObject-CRITICAL **: 12:04:41.268: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

Regression from Bug 1675908, gdk_screen_get_default() returns null.

Assignee: nobody → stransky

Mike, can we test the somehow? Is there a testsuite which can catch errors on terminal?
Thanks.

Flags: needinfo?(mh+mozilla)
Pushed by btara@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6e656ac10bf4
[Linux] Check GdkScreen before we use it, r=jhorak
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch

(In reply to Martin Stránský [:stransky] from comment #3)

Mike, can we test the somehow? Is there a testsuite which can catch errors on terminal?
Thanks.

Aren't at least the critical ones supposed to crash when they happen?

Flags: needinfo?(mh+mozilla)

No, it crashes when G_DEBUG=fatal-criticals is set.

It's good to catch GLib-GObject-CRITICAL because it indicates problems in future (initialized variables/wrong types etc.) so it would be great to ensure that any new patch does not introduce it.

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

Attachment

General

Created:
Updated:
Size: