The Flash Player 10.1 plugin crashes when called from any QtWebkit-based application (e.g., Quassel IRC). This is because the plugin wrongly assumes that the host application has already initialized glib - which is not necessarily the case for non-GTK applications. See the upstream bug (https://bugs.webkit.org/show_bug.cgi?id=40567) for details. Reproducible: Always Steps to Reproduce: 1. Start up a QtWebkit-based application such as Quassel IRC. 2. Load a webpage that contains Flash objects (in Quassel: hover over a YouTube URL pasted in some random channel). 3. See your application go down in flames. Actual Results: The Flash plugin makes the process crash. Expected Results: No segfault.
Created attachment 242337 [details, diff] Patch This is a patch created from the upstream commit to work around the segfault. It makes sure that glib is initialized correctly before calling the Flash plugin.
Created attachment 242339 [details] Updated ebuild Updated ebuild that incorporates the patch.
+*qt-webkit-4.6.3-r1 (12 Aug 2010) + + 12 Aug 2010; Markos Chandras <hwoarang@gentoo.org> + +qt-webkit-4.6.3-r1.ebuild, + +files/qt-webkit-4.6.3-flash-plugin-segfault.patch: + Apply upstream patch to fix Qt-webkit based application crashes due to + glib. Upstream bug https://bugs.webkit.org/show_bug.cgi?id=40567. Fixes + bug #332155. Thanks to Christoph Erhardt <ChristophErhardt@gmx.de> for + backporting and attaching the patch +