Closed Bug 333252 Opened 19 years ago Closed 14 years ago

"Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed" on startup

Categories

(Core :: Graphics, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dbaron, Unassigned)

Details

On startup, I see two of the following assertion: (Gecko:30558): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed and then I continue to see them during the running of the builds. This is a regression from enabling cairo-gtk2 as the default on Linux. I also saw these assertions in tinderbox logs.
[Not sure what the right severity for assertions is, but I'm sure Normal isn't. increasing] Stack: #0 0x0072b3c2 in g_log () from /usr/lib/libglib-2.0.so.0 #1 0x0072b521 in g_return_if_fail_warning () from /usr/lib/libglib-2.0.so.0 #2 0x006c7f7f in gdk_window_get_origin () from /usr/lib/libgdk-x11-2.0.so.0 #3 0x04095e8f in nsThebesDeviceContext::FindScreen (this=0x9ff27b8, outScreen=0xbfc0a918) at /home/chb/mozilla/gfx/src/thebes/nsThebesDeviceContext.cpp:722 #4 0x04097189 in nsThebesDeviceContext::ComputeClientRectUsingScreen (this=0x9ff27b8, outRect=0xbfc0a9ac) at /home/chb/mozilla/gfx/src/thebes/nsThebesDeviceContext.cpp:652 #5 0x04097386 in nsThebesDeviceContext::GetClientRect (this=0x9ff27b8, aRect=@0xbfc0a9ac) at /home/chb/mozilla/gfx/src/thebes/nsThebesDeviceContext.cpp:493 [...] The problem is: #3 0x04095e8f in nsThebesDeviceContext::FindScreen (this=0x9ff27b8, outScreen=0xbfc0a918) at /home/chb/mozilla/gfx/src/thebes/nsThebesDeviceContext.cpp:722 722 gdk_window_get_origin(GDK_WINDOW(mWidget), &x, &y); (gdb) p mWidget $1 = 0x0
Severity: normal → major
The GTK gfx code handles this case, apparently: http://lxr.mozilla.org/seamonkey/source/gfx/src/gtk/nsDeviceContextGTK.cpp#507 Maybe thebes should do the same?
Debian bug 354234 may be the same or similar: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=354234 Scroll down there to my email of Tue, 09 May 2006 18:05:15 -0400 which reports errors with mozilla.org firefox 1.5.0.3 binary (not debian's) AND thunderbird's 1.5.0.2 (debian backported to sarge from backports.org). Firefox talkback Incident ID TB18496193W. Excerpting from my debian report: Symptoms: ======== - firefox: url appears to load (reloading pages, actually) but Nothing appears in tabbed windows. Closing firefox results in: ~$ (Gecko:3622): Gdk-CRITICAL **: gdk_window_peek_children: assertion `GDK_IS_WINDOW (window)' failed (Gecko:3622): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed pure virtual method called bin/firefox/run-mozilla.sh: line 424: 3622 Aborted "$prog" ${1+"$@"} - thunderbird: email message shows no body text. Closing application results in: :~$ (Gecko:3628): Gdk-CRITICAL **: gdk_window_peek_children: assertion `GDK_IS_WINDOW (window)' failed (Gecko:3628): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed pure virtual method called /usr/lib/thunderbird/run-mozilla.sh: line 424: 3628 Aborted "$prog" ${1+"$@"} Regards.
I've got it too (Gecko:11011): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed /usr/libexec/mozilla-launcher: line 117: 11011 Segmentation fault "$mozbin" "$@" firefox-bin exited with non-zero status (139) This happened with a large number of open tabs or when i submitted in a javascript-opened window, but it's intermittent. Also, the same error crops up in thunderbird, see #323200
comment 3 and comment 4 don't look at all like this bug...
This doesn't seem to be happening for me any longer on Ubuntu Linux 11.04 64-bit on Nightly 2011-10-07. If you still see these assertion failures in the future, please reopen.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Firefox is closing after a while. These are the last lines from the output just before closing. (firefox:9855): Gdk-CRITICAL **: gdk_window_peek_children: assertion 'GDK_IS_WINDOW (window)' failed ExceptionHandler::GenerateDump cloned child 23514 ExceptionHandler::WaitForContinueSignal waiting for continue signal... ExceptionHandler::SendContinueSignalToChild sent continue signal to child [Child 9987] ###!!! ABORT: Aborting on channel error.: file /builds/slave/m-aurora-l64-ntly-000000000000/build/src/ipc/glue/MessageChannel.cpp, line 2008 [Child 9987] ###!!! ABORT: Aborting on channel error.: file /builds/slave/m-aurora-l64-ntly-000000000000/build/src/ipc/glue/MessageChannel.cpp, line 2008 I'm running Firefox 47.0a2 on Archlinux 4.4.5-1. It takes like 10 minutes before closing :/
You need to log in before you can comment on or make changes to this bug.