Bug 118134

Summary: [Qt][WK2] tst_qmltests_WebView API test crashed.
Product: WebKit Reporter: Gábor Ábrahám <abrhm>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: abecsi, hausmann, jturcotte, kadam, ossy, zarvai
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 70236, 79668    

Description Gábor Ábrahám 2013-06-27 07:45:22 PDT
This API test fails on WK2.

Here is the backtrace:
#0  0x00007ffff4b7bac9 in WebCore::SubresourceLoader::didReceiveDataOrBuffer (this=0x8f2530, 
    data=0x8e5498 "<frameset cols=\"25%,75%\">\n   <frame src=\"frame_a.html\" name=\"frame_a\">\n   <frame src=\"frame_b.html\" name=\"frame_b\">\n</frameset>\n", length=128, prpBuffer=..., encodedDataLength=-1, dataPayloadType=WebCore::DataPayloadBytes)
    at /home/abrhm/webkit/WebKit/Source/WebCore/loader/SubresourceLoader.cpp:247
#1  0x00007ffff4b7b857 in WebCore::SubresourceLoader::didReceiveData (this=0x8f2530, 
    data=0x8e5498 "<frameset cols=\"25%,75%\">\n   <frame src=\"frame_a.html\" name=\"frame_a\">\n   <frame src=\"frame_b.html\" name=\"frame_b\">\n</frameset>\n", length=128, encodedDataLength=-1, dataPayloadType=WebCore::DataPayloadBytes)
    at /home/abrhm/webkit/WebKit/Source/WebCore/loader/SubresourceLoader.cpp:221
#2  0x00007ffff4b72703 in WebCore::ResourceLoader::didReceiveData (this=0x8f2530, 
    data=0x8e5498 "<frameset cols=\"25%,75%\">\n   <frame src=\"frame_a.html\" name=\"frame_a\">\n   <frame src=\"frame_b.html\" name=\"frame_b\">\n</frameset>\n", length=128, encodedDataLength=-1) at /home/abrhm/webkit/WebKit/Source/WebCore/loader/ResourceLoader.cpp:475
#3  0x00007ffff500d95b in WebCore::QNetworkReplyHandler::forwardData (this=0x67d270)
    at /home/abrhm/webkit/WebKit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:679
#4  0x00007ffff500afe5 in WebCore::QNetworkReplyHandlerCallQueue::flush (this=0x67d2a8)
    at /home/abrhm/webkit/WebKit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:250
#5  0x00007ffff500ad36 in WebCore::QNetworkReplyHandlerCallQueue::unlock (this=0x67d2a8)
    at /home/abrhm/webkit/WebKit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:230
#6  0x00007ffff500b07f in WebCore::QueueLocker::~QueueLocker (this=0x7fffffffc550, __in_chrg=<optimized out>)
    at /home/abrhm/webkit/WebKit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:258
#7  0x00007ffff500bbf6 in WebCore::QNetworkReplyWrapper::emitMetaDataChanged (this=0x895e80)
    at /home/abrhm/webkit/WebKit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:395
#8  0x00007ffff500b9ac in WebCore::QNetworkReplyWrapper::receiveSniffedMIMEType (this=0x895e80)
    at /home/abrhm/webkit/WebKit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:359
#9  0x00007ffff500e658 in WebCore::QNetworkReplyWrapper::qt_static_metacall (_o=0x895e80, _c=QMetaObject::InvokeMetaMethod, _id=3, 
    _a=0x7fffffffc710) at .moc/release-shared/moc_QNetworkReplyHandler.cpp:177
#10 0x00007ffff27da0e1 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#11 0x00007ffff583862b in QtMIMETypeSniffer::finished (this=0x8e4fc0) at .moc/release-shared/moc_QtMIMETypeSniffer.cpp:130
#12 0x00007ffff500a078 in QtMIMETypeSniffer::trySniffing (this=0x8e4fc0)
    at /home/abrhm/webkit/WebKit/Source/WebCore/platform/network/qt/QtMIMETypeSniffer.cpp:65
#13 0x00007ffff583848f in QtMIMETypeSniffer::qt_static_metacall (_o=0x8e4fc0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffffc900)
    at .moc/release-shared/moc_QtMIMETypeSniffer.cpp:75
#14 0x00007ffff27da0e1 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#15 0x00007ffff27db73e in QObject::event(QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#16 0x00007ffff35051f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Widgets.so.5
#17 0x00007ffff35085d1 in QApplication::notify(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Widgets.so.5
#18 0x00007ffff27b4a24 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#19 0x00007ffff27b6961 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#20 0x00007ffff27fc1f3 in ?? () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#21 0x00007fffef545d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fffef5460a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fffef546164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff27fc634 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#25 0x00007ffff27b4e2c in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>, int) ()
   from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#26 0x00000000004056a2 in QTest::qWait (ms=0) at /usr/local/Trolltech/Qt5/Qt-5.0.1/include/QtTest/qtestsystem.h:68
#27 0x0000000000408979 in tst_QWebView::crashTests (this=0x7fffffffdf50)
    at /home/abrhm/webkit/WebKit/Source/WebKit/qt/tests/qwebview/tst_qwebview.cpp:204
#28 0x000000000040b88f in tst_QWebView::qt_static_metacall (_o=0x7fffffffdf50, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffffffd470)
    at .moc/release-shared/tst_qwebview.moc:125
#29 0x00007ffff27bd19b in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) cons---Type <return> to continue, or q <return> to quit---
t () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#30 0x00007ffff27c082e in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#31 0x00007ffff31b4e5a in ?? () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Test.so.5
#32 0x00007ffff31b5bdc in QTest::qExec(QObject*, int, char**) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Test.so.5
#33 0x000000000040b753 in main (argc=1, argv=0x7fffffffe058)
    at /home/abrhm/webkit/WebKit/Source/WebKit/qt/tests/qwebview/tst_qwebview.cpp:521

Could you check it please?
Comment 1 Jocelyn Turcotte 2014-02-03 03:26:24 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.