WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
71803
[Qt] Flash Player GTK Crash
https://bugs.webkit.org/show_bug.cgi?id=71803
Summary
[Qt] Flash Player GTK Crash
Nicholas Smith
Reported
2011-11-08 05:24:41 PST
If you browse to any video on the BBC iPlayer (
http://www.bbc.co.uk/iplayer/episode/b0175nh5/The_Choir_Military_Wives_Military_Wives/
as an example link), QtWebKit will fail to load the video (occasionally will load sound), it will then usually crash with a GTK error which GDB shows is in magazine_chain_pop_head. It appears as though GTK has created window space for the video plugin, as if you scroll it shows the bounds of the player. Occasionally when relaunching the browser it will allow you to play the last video attempted on crash, but will promptly fail for any other video. This issue occurs in Qt versions 4.7.1-4.7.4, and also in Qt 4.8.0, so it doesn't appear to be a new issue and also occurs with Flash Player plugins 10 & 11, issue has been tested on Ubuntu 10.04, 10.10 and 11.04.
Attachments
Attachment is GDB full backtrace of crashed stack
(
deleted
)
2011-11-08 05:25 PST
,
Nicholas Smith
no flags
Details
More GDB logging on issue
(10.39 KB, text/plain)
2011-11-23 06:07 PST
,
Nicholas Smith
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Nicholas Smith
Comment 1
2011-11-08 05:25:33 PST
Created
attachment 114048
[details]
Attachment is GDB full backtrace of crashed stack
Nicholas Smith
Comment 2
2011-11-09 01:45:41 PST
Further to the initial report I've done some further testing. I've used Arora (
http://code.google.com/p/arora/
) which is based on QtWebKit as well, and the issue with Flash video playback on specific pages was present there, however Arora also has a ClickToFlash function which if it's enabled stops the flash plugin from being loaded with the page, if you then use click the 'Enable flash' button it'll start playing the video correctly without crashes. I've been told from a few people that the issue is with the Flash Player plugin, but this would seem to refute that as when the plugin is called after page load it appears to work fine.
Nicholas Smith
Comment 3
2011-11-23 06:07:00 PST
Created
attachment 116349
[details]
More GDB logging on issue Attachment contains a GDB run with a break attached to setNPWindowIfNeeded.
Nicholas Smith
Comment 4
2011-11-23 06:43:04 PST
More information: If I run within GDB and try loading one of the Flash videos that cause issues from iPlayer it seems to run the first time, however any further attempts results in no Flash player being drawn, and WebCore::PluginClientWrapper::PluginClientWrapper is never recalled, on something like YouTube any time a new Flash Video is encountered it'll always be called.
Nicholas Smith
Comment 5
2011-12-01 02:45:29 PST
Issue now affects all video on BBC website. Issue persists in latest beta releases of Flash Player 11 and through out the 10.x Flash Player range.
Nicholas Smith
Comment 6
2011-12-05 05:33:35 PST
Adding export G_SLICE=always-malloc before starting any Qt WebKit based browser will get the video to actually play routinely, but will cause segmentation faults fairly regularly. It appears as if the Plugin system is incorrectly managing the memory for very, very specific Flash plugin setups.
Jocelyn Turcotte
Comment 7
2014-02-03 03:19:12 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at
https://bugreports.qt-project.org
and add a link to this issue. See
http://qt-project.org/wiki/ReportingBugsInQt
for additional guidelines.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug