Summary: | [GTK] Crash observed with nspluginwrapper and flash | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Martin Robinson <mrobinson> | ||||||||||||||
Component: | WebKitGTK | Assignee: | Martin Robinson <mrobinson> | ||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||
Severity: | Normal | CC: | andersca, aroben, dglazkov, webkit.review.bot, xan.lopez | ||||||||||||||
Priority: | P3 | Keywords: | Gtk | ||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||||
Hardware: | PC | ||||||||||||||||
OS: | Linux | ||||||||||||||||
Attachments: |
|
Description
Martin Robinson
2011-06-07 16:23:22 PDT
The fix for this issue should be merged into the WebKitGTK+ 1.4.x stable branch. Created attachment 98394 [details]
Work in progress patch
Created attachment 98436 [details]
Patch
CCing some Apple people who might be in a good position to review this patch, since it touches other ports. Comment on attachment 98436 [details]
Patch
Have you already checked the Mac WebKit1 plugin implementation?
(In reply to comment #5) > (From update of attachment 98436 [details]) > Have you already checked the Mac WebKit1 plugin implementation? (It's in Source/WebKit/mac/Plugins.) Comment on attachment 98436 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=98436&action=review > Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:601 > + // NSPluginWrapper will sometimes give us a null NPP here. > + if (!npp) > + return; > RefPtr<NetscapePlugin> plugin = NetscapePlugin::fromNPP(npp); > plugin->invalidate(invalidRect); Please be more specific about what NSPluginWrapper is here, and what architectures it might run on. Do we need an #if PLUGIN_ARCHITECTURE(X11) here too? Comment on attachment 98436 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=98436&action=review >> Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:601 >> plugin->invalidate(invalidRect); > > Please be more specific about what NSPluginWrapper is here, and what architectures it might run on. > Do we need an #if PLUGIN_ARCHITECTURE(X11) here too? Sure. I don't mind intensifying the comment at all. NSPluginWrapper runs only in X11 as far as I know. If I add #if PLUGIN_ARCHITECTURE(X11) should I make a similar change to the WebKit1 implementation as well? If that's the case, I should probably make the test GTK+/Qt only. (In reply to comment #6) > (In reply to comment #5) > > (From update of attachment 98436 [details] [details]) > > Have you already checked the Mac WebKit1 plugin implementation? > > (It's in Source/WebKit/mac/Plugins.) I didn't make any changes there, but I when I tested the change on OS X, my test passed. Created attachment 99202 [details]
Patch making the change and test X11 only
Comment on attachment 99202 [details] Patch making the change and test X11 only Attachment 99202 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/8966281 New failing tests: platform/gtk/plugins/invalidate-rect-with-null-npp-argument.html Created attachment 99221 [details]
Archive of layout-test-results from ec2-cr-linux-03
The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: ec2-cr-linux-03 Port: Chromium Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
(In reply to comment #11) > (From update of attachment 99202 [details]) > Attachment 99202 [details] did not pass chromium-ews (chromium-xvfb): > Output: http://queues.webkit.org/results/8966281 > > New failing tests: > platform/gtk/plugins/invalidate-rect-with-null-npp-argument.html I'm not exactly sure why the chromium bot ran a test that's in platform/gtk. Comment on attachment 99202 [details]
Patch making the change and test X11 only
Thanks for the review!
Comment on attachment 99202 [details] Patch making the change and test X11 only Rejecting attachment 99202 [details] from commit-queue. Failed to run "['./Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=ec2-cq-03', '--port..." exit_code: 2 Last 500 characters of output: shes ( 0.5%) 5 tests timed out ( 0.4%) 51 text diff mismatch ( 4.1%) 340 skipped (27.2%) => Tests that will only be fixed if they crash (WONTFIX) (8129): 1 DumpRenderTree crash ( 0.0%) 1 test timed out ( 0.0%) 109 text diff mismatch ( 1.3%) 7969 skipped (98.0%) Regressions: Unexpected DumpRenderTree crashes : (1) platform/gtk/plugins/invalidate-rect-with-null-npp-argument.html = CRASH Full output: http://queues.webkit.org/results/8957808 Created attachment 99341 [details]
Archive of layout-test-results from ec2-cq-03
The attached test failures were seen while running run-webkit-tests on the commit-queue.
Bot: ec2-cq-03 Port: Chromium Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Committed r90148: <http://trac.webkit.org/changeset/90148> Created attachment 102625 [details]
wip
Comment on attachment 102625 [details]
wip
Obsoleting the patch because bug id was wrong. Sorry.
|