Closed Bug 35112 Opened 26 years ago Closed 26 years ago

Gdk-CRITICAL 'gc != NULL' and 'window != NULL' errors from closing browser window

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: cks+mozilla, Assigned: danm.moz)

Details

Recipee for reproduction: start today's Linux drop on http://www.mozilla.org/ (build ID 2000040708). Pick the 'Report Bugs' link. Select something in the bug reports database to search on that will yield results, like 'character'; click Search, and it opens in a second window. Alt-W to close the first window. The second window will now report: Gdk-CRITICAL **: file gdkwindow.c: line 1707 (gdk_window_get_parent): assertion `window != NULL' failed. and Gdk-CRITICAL **: file gdkgc.c: line 288 (gdk_gc_unref): assertion `gc != NULL' failed. in various quantities, depending on what you try to do in the remaining window (click on the scrollbar, click in the window, etc). Sometimes, but not always, the window can be closed with Alt-W, but sometimes Mozilla must be ^C'd. It appears to require having the non-closed window be opened via Javascript; button-2'ing a random link failed to reproduce this, but I can do it all the time with the 'Report Bugs' page and the Javascript bug searcher. Environment: Redhat Linux 6.1 (updated to errata GNOME RPMs) and Redhat Linux 6.2.
confirming and reassigning to danm for consideration, cc pavlov. Does this cause any real problems in the opt builds?
Assignee: trudelle → danm
Target Milestone: --- → M17
Status: UNCONFIRMED → NEW
Ever confirmed: true
moving to m18
Target Milestone: M17 → M18
mass-moving all bugs to m21 that are not dofood+, or nsbeta2+
Target Milestone: M18 → M21
Today's build oddly opens three windows, two of which are the same page of search results. But all can be closed with Alt-W and none cause errors when closed. RedHat 6.0.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
Yep, not seeing this error. Verified worksforme. (By the way, the duplicate windows are due to the JS in the page -- there is an onchange handler for the text field which calls the same handler as the submit button -- so typing in text and clicking on submit means that (ultimately) two window.open()s are called. Not a bug in mozilla, but not the right logic in the page).
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.