Open Bug 1460857 Opened 8 years ago Updated 2 years ago

ASSERTION: Need a GTK window for dialog to be modal.: 'gtkParent', file /builds/worker/workspace/build/src/widget/gtk/nsPrintDialogGTK.cpp, line 168

Categories

(Firefox :: Headless, defect, P3)

59 Branch
defect

Tracking

()

People

(Reporter: whimboo, Unassigned)

Details

(Keywords: assertion, crash)

Originally found in https://github.com/mozilla/geckodriver/issues/1266 The github issue is about using Selenium and geckodriver to run automated tests in Firefox. In this case it was done on Ubuntu and with headless mode. Hereby a test opens a website which automatically opens the print dialog. At this stage Firefox crashes because it fails to handle the dialog: > [Parent 6073, Main Thread] ###!!! ASSERTION: Need a GTK window for dialog to be modal.: 'gtkParent', file /builds/worker/workspace/build/src/widget/gtk/nsPrintDialogGTK.cpp, line 168 > > (firefox:6073): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed > > (firefox:6073): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed > ExceptionHandler::GenerateDump cloned child 6217 > ExceptionHandler::WaitForContinueSignal waiting for continue signal... > ExceptionHandler::SendContinueSignalToChild sent continue signal to child > Hit MOZ_CRASH(Aborting on channel error.) at /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:2555
Priority: -- → P3
Severity: critical → S2

Doing platform-wide re-triage of all S2 bugs that haven't been touched in a while: this looks to be an S3 (normal bug, not a major one causing churn). Please chime in and needinfo me if this assessment is wrong. Thanks!

Severity: S2 → S3
You need to log in before you can comment on or make changes to this bug.