Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453784 - =www-client/firefox-17.0.2 with =dev-java/icedtea-web-1.3.1[-gtk2] - with some plugins: firefox: Gdk-CRITICAL **: gdk_window_get_display: assertion `GDK_IS_WINDOW (window)' failed
Summary: =www-client/firefox-17.0.2 with =dev-java/icedtea-web-1.3.1[-gtk2] - with som...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-24 10:01 UTC by cyberbat
Modified: 2013-10-25 15:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cyberbat 2013-01-24 10:01:50 UTC
How to reproduce:

1) One of "adblock plus" or "requestpolicy" firefox plugins should be installed and active. Also icedtea-web[-gtk2,-gtk3] should be installed (active or inactive in firefox plugins section doesn't depend).

2) Start firefox not from terminal and without "Run in terminal option". For example from krunner. kde application menu (kickoff) or kde session restore.

3) We have firefox process but no firefox window.

When I try to enter "firefox > /tmp/log 2>&1" in krunner (not terminal, issue can't be replayed when starting from konsole or so on!) I got this output in log:

(firefox:1723): GLib-GObject-WARNING **: cannot register existing type `GdkWindow'

(firefox:1723): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(firefox:1723): Gdk-CRITICAL **: gdk_window_get_display: assertion `GDK_IS_WINDOW (window)' failed

I've found similar bug in redhat bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=895197 and I got that I should reemerge icedtea-web with USE=gtk2 and it fix the issue. I have not try icedtea-web with USE=gtk3. I haven't try icedtea-web >1.3.1 cause I use icedtea-6.

May be icedtea-web with USE=nsplugin should turn also turn on USE=gtk2 (or may be gtk3)?
Comment 1 Ralph Sennhauser (RETIRED) gentoo-dev 2013-02-01 15:05:52 UTC
icedtea-web depends on gtk, either of 2 and 3 work. You get gtk 2 if you enable gtk2 and disable gtk3, else you will be using gtk3.


Looks like the solution was to strip gtk entirely from icedtea-web.

http://icedtea.classpath.org/hg/icedtea-web/rev/3960d2a46f51
Comment 2 Ralph Sennhauser (RETIRED) gentoo-dev 2013-10-25 15:34:57 UTC
The above mentioned commit is now released and icedtea-web-1.4.1 in tree.