Bug 54863

Summary: REGRESSION(r79157): plugins/get-url-with-javascript-destroying-plugin.html make the next test crash
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Critical CC: alex, andersca, aroben, gustavo, kbalazs, mjs, mrobinson, xan.lopez
Priority: P1 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 54884    
Bug Blocks: 54837    
Attachments:
Description Flags
crash log
none
Proposed patch
none
GDB backtrace in debug mode (on Qt)
none
Proposed patch ossy: review+

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.