Bug 121825

Summary: [Qt][WK1]API tests fails after Qt 5.1.1.
Product: WebKit Reporter: Gábor Ábrahám <abrhm>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: andersca, kadam, ossy, zarvai
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 38654    

Description Gábor Ábrahám 2013-09-24 00:43:20 PDT
After using Qt 5.1.1 tst_Loading::load(apple) test fails on WK1. 


backtrace: 
#0  0x00007ffff30b44e8 in WTF::HashTable<WTF::RefPtr<WebCore::Geolocation>, WTF::RefPtr<WebCore::Geolocation>, WTF::IdentityExtractor, WTF::PtrHash<WTF::RefPtr<WebCore::Geolocation> >, WTF::HashTraits<WTF::RefPtr<WebCore::Geolocation> >, WTF::HashTraits<WTF::RefPtr<WebCore::Geolocation> > >::contains<WTF::IdentityHashTranslator<WTF::PtrHash<WTF::RefPtr<WebCore::Geolocation> > >, WTF::RefPtr<WebCore::Geolocation> > (
    this=0x20, key=...) at /home/abrhm/webkit/WebKitQt/Source/WTF/wtf/HashTable.h:989
#1  0x00007ffff30b3b03 in WTF::HashTable<WTF::RefPtr<WebCore::Geolocation>, WTF::RefPtr<WebCore::Geolocation>, WTF::IdentityExtractor, WTF::PtrHash<WTF::RefPtr<WebCore::Geolocation> >, WTF::HashTraits<WTF::RefPtr<WebCore::Geolocation> >, WTF::HashTraits<WTF::RefPtr<WebCore::Geolocation> > >::contains (this=0x20, key=...) at /home/abrhm/webkit/WebKitQt/Source/WTF/wtf/HashTable.h:409
#2  0x00007ffff30b33c3 in WTF::HashSet<WTF::RefPtr<WebCore::Geolocation>, WTF::PtrHash<WTF::RefPtr<WebCore::Geolocation> >, WTF::HashTraits<WTF::RefPtr<WebCore::Geolocation> > >::contains (this=0x20, value=...) at /home/abrhm/webkit/WebKitQt/Source/WTF/wtf/HashSet.h:167
#3  0x00007ffff30b2d45 in WebCore::GeolocationController::removeObserver (this=0x0, observer=0xecc460)
    at /home/abrhm/webkit/WebKitQt/Source/WebCore/Modules/geolocation/GeolocationController.cpp:76
#4  0x00007ffff30a9c2e in WebCore::Geolocation::stopUpdating (this=0xecc460)
    at /home/abrhm/webkit/WebKitQt/Source/WebCore/Modules/geolocation/Geolocation.cpp:648
#5  0x00007ffff30a863d in WebCore::Geolocation::stop (this=0xecc460)
    at /home/abrhm/webkit/WebKitQt/Source/WebCore/Modules/geolocation/Geolocation.cpp:269
#6  0x00007ffff343912b in WebCore::ScriptExecutionContext::stopActiveDOMObjects (this=0x12b7d40)
    at /home/abrhm/webkit/WebKitQt/Source/WebCore/dom/ScriptExecutionContext.cpp:225
#7  0x00007ffff336ff5f in WebCore::Document::destroyRenderTree (this=0x12b7c90)
    at /home/abrhm/webkit/WebKitQt/Source/WebCore/dom/Document.cpp:2087
#8  0x00007ffff3370238 in WebCore::Document::prepareForDestruction (this=0x12b7c90)
    at /home/abrhm/webkit/WebKitQt/Source/WebCore/dom/Document.cpp:2153
#9  0x00007ffff3838b5e in WebCore::Frame::setView (this=0x10b04f0, view=...)
    at /home/abrhm/webkit/WebKitQt/Source/WebCore/page/Frame.cpp:250
#10 0x00007ffff3788b1c in WebCore::FrameLoader::detachFromParent (this=0x10b0580)
    at /home/abrhm/webkit/WebKitQt/Source/WebCore/loader/FrameLoader.cpp:2419
#11 0x00007ffff2d66864 in QWebPageAdapter::deletePage (this=0x697370)
    at /home/abrhm/webkit/WebKitQt/Source/WebKit/qt/WebCoreSupport/QWebPageAdapter.cpp:297
#12 0x00007ffff7fcb86c in QWebPagePrivate::~QWebPagePrivate (this=0x697370, __in_chrg=<optimized out>)
    at /home/abrhm/webkit/WebKitQt/Source/WebKit/qt/WidgetApi/qwebpage.cpp:237
#13 0x00007ffff7fcb900 in QWebPagePrivate::~QWebPagePrivate (this=0x697370, __in_chrg=<optimized out>)
    at /home/abrhm/webkit/WebKitQt/Source/WebKit/qt/WidgetApi/qwebpage.cpp:238
#14 0x00007ffff7fce366 in QWebPage::~QWebPage (this=0x567ef0, __in_chrg=<optimized out>)
    at /home/abrhm/webkit/WebKitQt/Source/WebKit/qt/WidgetApi/qwebpage.cpp:1384
#15 0x00007ffff7fce3a4 in QWebPage::~QWebPage (this=0x567ef0, __in_chrg=<optimized out>)
    at /home/abrhm/webkit/WebKitQt/Source/WebKit/qt/WidgetApi/qwebpage.cpp:1385
#16 0x00007ffff7fd6180 in QWebViewPrivate::detachCurrentPage (this=0x14a2b90)
    at /home/abrhm/webkit/WebKitQt/Source/WebKit/qt/WidgetApi/qwebview.cpp:236
#17 0x00007ffff7fd5d1a in QWebViewPrivate::~QWebViewPrivate (this=0x14a2b90, __in_chrg=<optimized out>)
    at /home/abrhm/webkit/WebKitQt/Source/WebKit/qt/WidgetApi/qwebview.cpp:63
#18 0x00007ffff7fd5d4c in QWebViewPrivate::~QWebViewPrivate (this=0x14a2b90, __in_chrg=<optimized out>)
    at /home/abrhm/webkit/WebKitQt/Source/WebKit/qt/WidgetApi/qwebview.cpp:64
#19 0x00007ffff7fd5fb0 in QWebView::~QWebView (this=0x4ae850, __in_chrg=<optimized out>)
    at /home/abrhm/webkit/WebKitQt/Source/WebKit/qt/WidgetApi/qwebview.cpp:199
#20 0x00007ffff7fd5ff8 in QWebView::~QWebView (this=0x4ae850, __in_chrg=<optimized out>)
    at /home/abrhm/webkit/WebKitQt/Source/WebKit/qt/WidgetApi/qwebview.cpp:200
#21 0x0000000000405d10 in tst_Loading::cleanup (this=0x7fffffffdf30)
    at /home/abrhm/webkit/WebKitQt/Source/WebKit/qt/tests/benchmarks/loading/tst_loading.cpp:66
#22 0x000000000040600d in tst_Loading::qt_static_metacall (_o=0x7fffffffdf30, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffffd680)
    at .moc/release-shared/tst_loading.moc:77
#23 0x00007ffff717528b in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () from /usr/local/Trolltech/Qt5/Qt-5.1.1-qtwe/lib/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#24 0x00007ffff7e2715e in ?? () from /usr/local/Trolltech/Qt5/Qt-5.1.1-qtwe/lib/libQt5Test.so.5
#25 0x00007ffff7e2c2b7 in ?? () from /usr/local/Trolltech/Qt5/Qt-5.1.1-qtwe/lib/libQt5Test.so.5
#26 0x00007ffff7e2cffc in QTest::qExec(QObject*, int, char**) () from /usr/local/Trolltech/Qt5/Qt-5.1.1-qtwe/lib/libQt5Test.so.5
#27 0x0000000000405f8c in main (argc=1, argv=0x7fffffffe068)
    at /home/abrhm/webkit/WebKitQt/Source/WebKit/qt/tests/benchmarks/loading/tst_loading.cpp:94
Comment 1 Gábor Ábrahám 2013-09-24 08:55:40 PDT
QFATAL : tst_QWebPage::geolocationRequestJS() Received signal 11
QFATAL : tst_Loading::load(apple) Received signal 11
QFATAL : tst_QObjectBridge::getSetStaticProperty() Received signal 11

This 3 test probably has the same problems, and it caused by the Qt 5.1.1.