Bug 92862 - [Qt][WK2] PerformanceTests/DOM/CreateNodes.html crashes intermittently
Summary: [Qt][WK2] PerformanceTests/DOM/CreateNodes.html crashes intermittently
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P1 Critical
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
: 110945 (view as bug list)
Depends on:
Blocks: 77037 79668
  Show dependency treegraph
 
Reported: 2012-08-01 04:25 PDT by Csaba Osztrogonác
Modified: 2014-02-03 03:21 PST (History)
11 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2012-08-01 04:25:42 PDT
PerformanceTests/DOM/CreateNodes.html crashes intermittently
on the Qt5 WK2 performance bot with the following message:

Running DOM/CreateNodes.html (25 of 99)
error: DOM/CreateNodes.html
Received an invalid message from the web process with message ID 27004d

FAILED

--------------------------------------------------------------------------

The bug is easily reproducible manually:
$ WebKitBuild/Release/bin/WebKitTestRunner --no-timeout PerformanceTests/DOM/CreateNodes.html
or
$ Tools/Scripts/run-perf-tests -2 --platform qt-5.0-wk2 DOM/CreateNodes.html
Comment 1 Csaba Osztrogonác 2012-08-06 04:19:18 PDT
WK2 guys, have you got any idea what can be this strange error message?
Comment 2 Csaba Osztrogonác 2012-09-11 03:59:47 PDT
ping?
Comment 3 Allan Sandfeld Jensen 2012-09-12 06:01:51 PDT
It means that either one of the MESSAGE_CHECK assertions in WebProcessProxy failed, or that the arguments could not be decoded. The first is more likely.
Comment 4 Balazs Kelemen 2012-09-13 09:41:33 PDT
I can take a look.
Comment 5 Balazs Kelemen 2012-09-27 04:29:02 PDT
Pretty strange bug. It is not the MESSAGE_CHECK macro but an argument coding issue. Not only it is flaky but I couldn't reproduce it in gdb (no matter whether release or debug build) or with a debug build. Maybe valgrind can help here.
Comment 6 Balazs Kelemen 2012-09-28 03:39:41 PDT
Ok, I missed it, not sure how confused myself, but in fact this is a failing MESSAGE_CHECK in WebPageProxy::didStartProvisionalLoadForFrame. The frame has already been removed, so it looks like a loader bug. This is not fatal as it does not crash in release and probably not very harmful anyway (this is just a theory). I wonder whether it is qt specific at all.
Comment 7 Balazs Kelemen 2012-09-28 09:39:22 PDT
This seems to be very tricky and I'm not sure I could fix, so feel free to reassign.
Comment 8 Balazs Kelemen 2012-10-01 01:43:00 PDT
I could not reproduce it on Mac (Mac port).
Comment 9 Allan Sandfeld Jensen 2012-10-02 03:20:03 PDT
I can not reproduce it at all locally (Qt5 Linux).
Comment 11 Csaba Osztrogonác 2012-10-30 00:01:21 PDT
The bug is still valid, it still crashes and perf test bot is red almost always because of this bug.
Comment 12 Csaba Osztrogonác 2012-11-05 04:52:21 PST
Fortunately WTR dumps the name of the message now:

Running DOM/CreateNodes.html (31 of 106)
error: DOM/CreateNodes.html
Received an invalid message "WebPageProxy.DidStartProvisionalLoadForFrame" from the web process.

FAILED
Finished: 1.305343 s
------------------------------------------------------------------------------
Running DOM/CreateNodes.html (31 of 106)
error: DOM/CreateNodes.html
Received an invalid message "WebPageProxy.DidInitiateLoadForResource" from the web process.

FAILED
Finished: 11.734229 s
------------------------------------------------------------------------------
Running DOM/CreateNodes.html (31 of 106)
error: DOM/CreateNodes.html
Received an invalid message "WebPageProxy.DidSendRequestForResource" from the web process.

FAILED
Finished: 25.302365 s
------------------------------------------------------------------------------
Running DOM/CreateNodes.html (31 of 106)
error: DOM/CreateNodes.html
Received an invalid message "WebPageProxy.DidStartProvisionalLoadForFrame" from the web process.

FAILED
Finished: 5.300999 s

...
Comment 13 Zoltan Arvai 2013-02-21 01:20:49 PST
After switching Qt Linux 64-bit Release (WebKit2 Perf) bot to Ubuntu 12.04 the PerformanceTests/DOM/CreateNodes.html fails most of the time.
Comment 14 Balazs Kelemen 2013-02-21 01:51:32 PST
(In reply to comment #13)
> After switching Qt Linux 64-bit Release (WebKit2 Perf) bot to Ubuntu 12.04 the PerformanceTests/DOM/CreateNodes.html fails most of the time.

I can imagine that it is related to bug 107633. Could you try running the test with Rafael's WIP fix from there?
Comment 15 Csaba Osztrogonác 2013-02-21 03:22:19 PST
As I said before, unfortunately we can't reproduce this bug on small
example. If we run only this test, it always passes. But on the bot,
when it runs all tests, it fails almost always. (Previously it failed
only all 5th-10th run)
Comment 16 Csaba Osztrogonác 2013-02-26 23:49:18 PST
*** Bug 110945 has been marked as a duplicate of this bug. ***
Comment 17 Jocelyn Turcotte 2014-02-03 03:21:58 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.