Bug 107239

Summary: [Qt][WK2] New PerformanceTests/DOM/TraverseChildNodes.html crashes
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: darin, hausmann, kadam, ossy, rniwa, zarvai
Priority: P2 Keywords: Qt, QtTriaged
Version: 420+   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 79668    

Description Csaba Osztrogonác 2013-01-18 01:08:14 PST
PerformanceTests/DOM/TraverseChildNodes.html introduced in 
http://trac.webkit.org/changeset/140070 and crashes on Qt-WK2

Here is the c++filt-ed crash log:
----------------------------------
$ WebKitBuild/Release/bin/WebKitTestRunner --no-timeout PerformanceTests/DOM/TraverseChildNodes.html
1   0x7f4457b6e8a8 /home/oszi/WebKit/WebKitBuild/Release/lib/libWTF.so.1(+0x178a8) [0x7f4457b6e8a8]
2   0x7f444f9d9230 /lib/libc.so.6(+0x32230) [0x7f444f9d9230]
3   0x7f445b25d0f0 /home/oszi/WebKit/WebKitBuild/Release/lib/libWebKit2.so.1(WebKit::WebFrame::url() const+0) [0x7f445b25d0f0]
4   0x7f445b1ebee3 /home/oszi/WebKit/WebKitBuild/Release/lib/libWebKit2.so.1(WKBundleFrameCopyURL+0x13) [0x7f445b1ebee3]
5   0x7f440971aa0e /home/oszi/WebKit/WebKitBuild/Release/lib/libWTRInjectedBundle.so(WTR::InjectedBundlePage::willSendRequestForFrame(OpaqueWKBundlePage const*, OpaqueWKBundleFrame const*, unsigned long, OpaqueWKURLRequest const*, OpaqueWKURLResponse const*)+0xf7e) [0x7f440971aa0e]
6   0x7f445b1fd902 /home/oszi/WebKit/WebKitBuild/Release/lib/libWebKit2.so.1(WebKit::InjectedBundlePageResourceLoadClient::willSendRequestForFrame(WebKit::WebPage*, WebKit::WebFrame*, unsigned long, WebCore::ResourceRequest&, WebCore::ResourceResponse const&)+0x82) [0x7f445b1fd902]
7   0x7f445b238b7b /home/oszi/WebKit/WebKitBuild/Release/lib/libWebKit2.so.1(WebKit::WebFrameLoaderClient::dispatchWillSendRequest(WebCore::DocumentLoader*, unsigned long, WebCore::ResourceRequest&, WebCore::ResourceResponse const&)+0x5b) [0x7f445b238b7b]
8   0x7f4459d5d411 /home/oszi/WebKit/WebKitBuild/Release/lib/libWebCore.so.1(WebCore::ResourceLoadNotifier::dispatchWillSendRequest(WebCore::DocumentLoader*, unsigned long, WebCore::ResourceRequest&, WebCore::ResourceResponse const&)+0x211) [0x7f4459d5d411]
9   0x7f4459d59035 /home/oszi/WebKit/WebKitBuild/Release/lib/libWebCore.so.1(WebCore::ResourceLoader::willSendRequest(WebCore::ResourceRequest&, WebCore::ResourceResponse const&)+0x55) [0x7f4459d59035]
10  0x7f4459d64207 /home/oszi/WebKit/WebKitBuild/Release/lib/libWebCore.so.1(WebCore::SubresourceLoader::willSendRequest(WebCore::ResourceRequest&, WebCore::ResourceResponse const&)+0x127) [0x7f4459d64207]
11  0x7f4459d5bca4 /home/oszi/WebKit/WebKitBuild/Release/lib/libWebCore.so.1(WebCore::ResourceLoader::init(WebCore::ResourceRequest const&)+0x2c4) [0x7f4459d5bca4]
12  0x7f4459d63569 /home/oszi/WebKit/WebKitBuild/Release/lib/libWebCore.so.1(WebCore::SubresourceLoader::init(WebCore::ResourceRequest const&)+0x9) [0x7f4459d63569]
13  0x7f4459d63d3f /home/oszi/WebKit/WebKitBuild/Release/lib/libWebCore.so.1(WebCore::SubresourceLoader::create(WebCore::Frame*, WebCore::CachedResource*, WebCore::ResourceRequest const&, WebCore::ResourceLoaderOptions const&)+0x5f) [0x7f4459d63d3f]
14  0x7f4459d60467 /home/oszi/WebKit/WebKitBuild/Release/lib/libWebCore.so.1(WebCore::ResourceLoadScheduler::scheduleSubresourceLoad(WebCore::Frame*, WebCore::CachedResource*, WebCore::ResourceRequest const&, WebCore::ResourceLoadPriority, WebCore::ResourceLoaderOptions const&)+0x37) [0x7f4459d60467]
15  0x7f4459cfeed4 /home/oszi/WebKit/WebKitBuild/Release/lib/libWebCore.so.1(WebCore::CachedResource::load(WebCore::CachedResourceLoader*, WebCore::ResourceLoaderOptions const&)+0x584) [0x7f4459cfeed4]
16  0x7f4459868e15 /home/oszi/WebKit/WebKitBuild/Release/lib/libWebCore.so.1(WebCore::CSSFontSelector::beginLoadTimerFired(WebCore::Timer<WebCore::CSSFontSelector>*)+0x65) [0x7f4459868e15]
17  0x7f4459ec603e /home/oszi/WebKit/WebKitBuild/Release/lib/libWebCore.so.1(WebCore::ThreadTimers::sharedTimerFiredInternal()+0xae) [0x7f4459ec603e]
18  0x7f4450db9439 /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5(QObject::event(QEvent*)+0x99) [0x7f4450db9439]
19  0x7f4451f708cc /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Widgets.so.5(QApplicationPrivate::notify_helper(QObject*, QEvent*)+0xac) [0x7f4451f708cc]
20  0x7f4451f76beb /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Widgets.so.5(QApplication::notify(QObject*, QEvent*)+0x11b) [0x7f4451f76beb]
21  0x7f4450d94c04 /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5(QCoreApplication::notifyInternal(QObject*, QEvent*)+0x84) [0x7f4450d94c04]
22  0x7f4450de00f2 /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5(QTimerInfoList::activateTimers()+0x3d2) [0x7f4450de00f2]
23  0x7f4450de0b5d /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5(+0x27cb5d) [0x7f4450de0b5d]
24  0x7f44540396f2 /lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f2) [0x7f44540396f2]
25  0x7f445403d568 /lib/libglib-2.0.so.0(+0x42568) [0x7f445403d568]
26  0x7f445403d71c /lib/libglib-2.0.so.0(g_main_context_iteration+0x6c) [0x7f445403d71c]
27  0x7f4450de081b /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5(QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x6b) [0x7f4450de081b]
28  0x7f4450d93e4b /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5(QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0x11b) [0x7f4450d93e4b]
29  0x7f4450d99e4d /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5(QCoreApplication::exec()+0xbd) [0x7f4450d99e4d]
30  0x7f445a11f90c /home/oszi/WebKit/WebKitBuild/Release/lib/libWebCore.so.1(WebCore::RunLoop::run()+0x6c) [0x7f445a11f90c]
31  0x7f445b27d03b /home/oszi/WebKit/WebKitBuild/Release/lib/libWebKit2.so.1(WebKit::WebProcessMainQt(QGuiApplication*)+0x16b) [0x7f445b27d03b]
#CRASHED - WebProcess
Comment 1 Ryosuke Niwa 2013-01-18 01:45:09 PST
This has been disabled in http://trac.webkit.org/changeset/140088.
Comment 2 Ryosuke Niwa 2013-01-18 01:45:38 PST
Oh, sorry, I guess you just wanted to track the crash.
Comment 3 Csaba Osztrogonác 2013-01-18 01:48:19 PST
(In reply to comment #1)
> This has been disabled in http://trac.webkit.org/changeset/140088.

It is about DOM/TraverseChildNodes.html, not Parser/html-parser-srcdoc.html
Comment 4 Ryosuke Niwa 2013-01-18 01:49:23 PST
(In reply to comment #1)
> This has been disabled in http://trac.webkit.org/changeset/140088.

Ugh... I mean in http://trac.webkit.org/changeset/140110.
Comment 5 Ryosuke Niwa 2013-01-18 01:52:38 PST
Note you can still run the test manually by
run-perf-tests --force PerformanceTests/DOM/TraverseChildNodes.html
Comment 6 Csaba Osztrogonác 2013-01-18 03:38:52 PST
(In reply to comment #4)
> (In reply to comment #1)
> > This has been disabled in http://trac.webkit.org/changeset/140088.
> 
> Ugh... I mean in http://trac.webkit.org/changeset/140110.
Really, I didn't notice it. But it shouldn't crash apart from it is skipped or not. Am I right? ("Don't enable this test for now since it's really a micro benchmark specifically designed to test this patch.")
Comment 7 Ryosuke Niwa 2013-01-18 03:41:51 PST
(In reply to comment #6)
> (In reply to comment #4)
> > (In reply to comment #1)
> > > This has been disabled in http://trac.webkit.org/changeset/140088.
> > 
> > Ugh... I mean in http://trac.webkit.org/changeset/140110.
> Really, I didn't notice it. But it shouldn't crash apart from it is skipped or not. Am I right? ("Don't enable this test for now since it's really a micro benchmark specifically designed to test this patch.")

Right, it shouldn't. You guys should figure out why it's crashing on Qt because it doesn't crash on Mac port at least.
Comment 8 Jocelyn Turcotte 2014-02-03 03:24:23 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.