Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332155 - [PATCH] x11-libs/qt-webkit-4.6.3: Segfault with Flash Player 10.1
Summary: [PATCH] x11-libs/qt-webkit-4.6.3: Segfault with Flash Player 10.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Qt Bug Alias
URL: https://bugs.webkit.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-10 22:28 UTC by Christoph Erhardt
Modified: 2010-08-12 22:14 UTC (History)
0 users

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


Attachments
Patch (qt-webkit-4.6.3-flash-plugin-segfault.patch,1.75 KB, patch)
2010-08-10 22:31 UTC, Christoph Erhardt
Details | Diff
Updated ebuild (qt-webkit-4.6.3-r1.ebuild,1.43 KB, text/plain)
2010-08-10 22:34 UTC, Christoph Erhardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Erhardt 2010-08-10 22:28:42 UTC
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.
Comment 1 Christoph Erhardt 2010-08-10 22:31:56 UTC
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.
Comment 2 Christoph Erhardt 2010-08-10 22:34:38 UTC
Created attachment 242339 [details]
Updated ebuild

Updated ebuild that incorporates the patch.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-08-12 22:14:36 UTC
+*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
+