Bug 54863 - REGRESSION(r79157): plugins/get-url-with-javascript-destroying-plugin.html make the next test crash
Summary: REGRESSION(r79157): plugins/get-url-with-javascript-destroying-plugin.html ma...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P1 Critical
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on: 54884
Blocks: 54837
  Show dependency treegraph
 
Reported: 2011-02-21 02:25 PST by Csaba Osztrogonác
Modified: 2011-02-21 11:08 PST (History)
8 users (show)

See Also:


Attachments
crash log (6.10 KB, text/plain)
2011-02-21 02:25 PST, Csaba Osztrogonác
no flags Details
Proposed patch (2.46 KB, patch)
2011-02-21 06:11 PST, Alejandro G. Castro
no flags Details | Formatted Diff | Diff
GDB backtrace in debug mode (on Qt) (4.08 KB, text/plain)
2011-02-21 07:11 PST, Csaba Osztrogonác
no flags Details
Proposed patch (1.31 KB, patch)
2011-02-21 10:56 PST, Alejandro G. Castro
ossy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2011-02-21 02:25:07 PST
Created attachment 83141 [details]
crash log

crash log: <attached>
Comment 1 Csaba Osztrogonác 2011-02-21 02:43:16 PST
I made buildbot happy: http://trac.webkit.org/changeset/79202

But it doesn't mean that we don't need to fix this bug ...
Comment 2 Csaba Osztrogonác 2011-02-21 03:11:32 PST
It causes crash on GTK too.
Comment 3 Csaba Osztrogonác 2011-02-21 03:16:35 PST
plugins/get-url-with-javascript-destroying-plugin.html introduced in r79157
and make the next test crash.
Comment 4 Csaba Osztrogonác 2011-02-21 03:27:58 PST
One more attempt to make Qt buildbot happy: http://trac.webkit.org/changeset/79207
Comment 5 Alejandro G. Castro 2011-02-21 06:11:15 PST
Created attachment 83156 [details]
Proposed patch

This patch fixes the issue for GTK, ossy is this enough for Qt?
Comment 6 Csaba Osztrogonác 2011-02-21 06:21:04 PST
(In reply to comment #5)
> Created an attachment (id=83156) [details]
> Proposed patch
> 
> This patch fixes the issue for GTK, ossy is this enough for Qt?

Unfortunately QtWebKit still crashes with this patch.
Comment 7 Alejandro G. Castro 2011-02-21 06:27:52 PST
(In reply to comment #6)
> (In reply to comment #5)
> > Created an attachment (id=83156) [details] [details]
> > Proposed patch
> > 
> > This patch fixes the issue for GTK, ossy is this enough for Qt?
> 
> Unfortunately QtWebKit still crashes with this patch.

For the crash log it seems it does not find the plugin, probably we have to add the source file to the make file?
Comment 8 Csaba Osztrogonác 2011-02-21 07:11:33 PST
Created attachment 83162 [details]
GDB backtrace in debug mode (on Qt)

$ Tools/Scripts/run-webkit-tests --verbose --debug plugins/get-url-with-javascript-destroying-plugin.html plugins/get-user-agent-with-null-npp-from-npp-new.html
Comment 9 Csaba Osztrogonác 2011-02-21 07:15:11 PST
(In reply to comment #7)
> For the crash log it seems it does not find the plugin, probably we have to add the source file to the make file?

r79157 added Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp to the project:
http://trac.webkit.org/changeset/79157/trunk/Tools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro
Comment 10 Alejandro G. Castro 2011-02-21 09:55:57 PST
aroben fixed the issue apparently.

*** This bug has been marked as a duplicate of bug 54884 ***
Comment 11 Adam Roben (:aroben) 2011-02-21 09:57:26 PST
Whoops, sorry for not noticing this bug before filing bug 54884.
Comment 12 Alejandro G. Castro 2011-02-21 10:39:55 PST
And it still fails in GTK :), we need to add the file to the makefile. I'm going to reopen, add a dependency on the other bug and update the patch.
Comment 13 Csaba Osztrogonác 2011-02-21 10:41:58 PST
Unskip test for Qt: http://trac.webkit.org/changeset/79235
Comment 14 Alejandro G. Castro 2011-02-21 10:56:22 PST
Created attachment 83191 [details]
Proposed patch
Comment 15 Csaba Osztrogonác 2011-02-21 10:57:23 PST
Comment on attachment 83191 [details]
Proposed patch

LGTM, r=me.
Comment 16 Alejandro G. Castro 2011-02-21 11:08:29 PST
Landed http://trac.webkit.org/changeset/79237

Hrm, not sure what EWS tested.