[Webkit-unassigned] [Bug 95968] [Qt][WK2] API tests crashes with Qt 5.0-beta1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 2 13:44:00 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=95968





--- Comment #14 from Csaba Osztrogonac <ossy at webkit.org>  2012-10-02 13:44:22 PST ---
(In reply to comment #13)
> valid on Qt5: d3a55bf0aa240a26cedd2e8415f81849d6d65fc1 (Jocelyn's fix introduced with this hash)
> 
> bbandix told me that on Qt5:e4d841490b91b87a07f8b46768ac2b87d87ab3fe + fix cherry picked he can't see this crash.
> 
> I'll continue bisecting tomorrow.

I tried Qt5:e4d841490b91b87a07f8b46768ac2b87d87ab3fe + fix cherry picked, and
Qt5-beta1 + fix cherry picked and the crash was still valid on both of them.

Here is the gdb backtrace with trunk developer-build Qt5 (508072fb031ffb6beea94c77d41b29bfedf3874f):

$ gdb WebKitBuild/Debug/Source/WebKit2/UIProcess/API/qt/tests/qmltests/tst_qmltests_WebView
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/oszi/WebKit/WebKitBuild/Debug/Source/WebKit2/UIProcess/API/qt/tests/qmltests/tst_qmltests_WebView...done.
(gdb) run
Starting program: /home/oszi/WebKit/WebKitBuild/Debug/Source/WebKit2/UIProcess/API/qt/tests/qmltests/tst_qmltests_WebView
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffe1af7700 (LWP 31587)]
[New Thread 0x7ffff7ff7700 (LWP 31588)]
[New Thread 0x7fffa11c3700 (LWP 31589)]
[New Thread 0x7fffa10c2700 (LWP 31590)]
********* Start testing of qmltests *********
Config: Using QTest library 5.0.0, Qt 5.0.0
PASS   : qmltests::WebViewApplicationSchemes::initTestCase()
[New Thread 0x7fffa0fc1700 (LWP 31591)]
[New Thread 0x7fffa0ec0700 (LWP 31593)]
PASS   : qmltests::WebViewApplicationSchemes::test_applicationScheme()
PASS   : qmltests::WebViewApplicationSchemes::test_charsets()
PASS   : qmltests::WebViewApplicationSchemes::test_multipleSchemes()
PASS   : qmltests::WebViewApplicationSchemes::test_multipleUrlsForScheme()
PASS   : qmltests::WebViewApplicationSchemes::cleanupTestCase()
[New Thread 0x7fffa074d700 (LWP 31601)]
[New Thread 0x7fffa01f6700 (LWP 31604)]
PASS   : qmltests::WebViewColorChooser::initTestCase()
PASS   : qmltests::WebViewColorChooser::test_accept()
PASS   : qmltests::WebViewColorChooser::test_currentValue()
PASS   : qmltests::WebViewColorChooser::test_reject()
PASS   : qmltests::WebViewColorChooser::cleanupTestCase()
[New Thread 0x7fff9ba3b700 (LWP 31620)]
PASS   : qmltests::DevicePixelRatio::initTestCase()
[New Thread 0x7fff9b93a700 (LWP 31622)]
[New Thread 0x7fff9b839700 (LWP 31627)]
[Thread 0x7fff9b839700 (LWP 31627) exited]
PASS   : qmltests::DevicePixelRatio::test_devicePixelRatio()
[New Thread 0x7fff9b839700 (LWP 31628)]
[Thread 0x7fff9b839700 (LWP 31628) exited]
PASS   : qmltests::DevicePixelRatio::test_devicePixelRatioMediaQuery()
PASS   : qmltests::DevicePixelRatio::cleanupTestCase()
[New Thread 0x7fff9b839700 (LWP 31629)]
[New Thread 0x7fff9bb75700 (LWP 31631)]
PASS   : qmltests::DoubleTapToZoom::initTestCase()
[New Thread 0x7fff9b738700 (LWP 31637)]
[Thread 0x7fff9b738700 (LWP 31637) exited]
[New Thread 0x7fff9b738700 (LWP 31640)]
[Thread 0x7fff9b738700 (LWP 31640) exited]
PASS   : qmltests::DoubleTapToZoom::test_basic()
PASS   : qmltests::DoubleTapToZoom::cleanupTestCase()
[New Thread 0x7fff9b738700 (LWP 31641)]
[New Thread 0x7fff9b637700 (LWP 31643)]
PASS   : qmltests::WebViewDownload::initTestCase()
PASS   : qmltests::WebViewDownload::test_downloadRequest()
PASS   : qmltests::WebViewDownload::test_expectedLength()
PASS   : qmltests::WebViewDownload::test_succeeded()
PASS   : qmltests::WebViewDownload::cleanupTestCase()
[New Thread 0x7fff9b536700 (LWP 31663)]
PASS   : qmltests::JavaScriptEvaluation::initTestCase()

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff74c2a3e in QMapData<unsigned long, QWebDownloadItem*>::root (this=0x0) at /usr/local/Trolltech/Qt5/Qt-5.0.0-r37/include/QtCore/qmap.h:200
200         Node *root() const { return static_cast<Node *>(header.left); }
(gdb) bt
#0  0x00007ffff74c2a3e in QMapData<unsigned long, QWebDownloadItem*>::root (this=0x0) at /usr/local/Trolltech/Qt5/Qt-5.0.0-r37/include/QtCore/qmap.h:200
#1  0x00007ffff74c2842 in QMapData<unsigned long, QWebDownloadItem*>::findNode (this=0x0, akey=@0x7fffffffaf20)
    at /usr/local/Trolltech/Qt5/Qt-5.0.0-r37/include/QtCore/qmap.h:291
#2  0x00007ffff74c26e2 in QMap<unsigned long, QWebDownloadItem*>::value (this=0x785f00, akey=@0x7fffffffaf20, adefaultValue=@0x7fffffffaf18)
    at /usr/local/Trolltech/Qt5/Qt-5.0.0-r37/include/QtCore/qmap.h:586
#3  0x00007ffff74c200f in WebKit::QtDownloadManager::downloadCreatedDestination (this=0x785f00, download=0xd065a0, path=...)
    at /home/oszi/WebKit/Source/WebKit2/UIProcess/qt/QtDownloadManager.cpp:73
#4  0x00007ffff74c2486 in WebKit::QtDownloadManager::didCreateDestination (download=0xd065a0, path=0xc19100, clientInfo=0x785f00)
    at /home/oszi/WebKit/Source/WebKit2/UIProcess/qt/QtDownloadManager.cpp:127
#5  0x00007ffff72e3c59 in WebKit::WebDownloadClient::didCreateDestination (this=0x77b0b8, webContext=0x77ada0, downloadProxy=0xd065a0, path=...)
    at /home/oszi/WebKit/Source/WebKit2/UIProcess/WebDownloadClient.cpp:91
#6  0x00007ffff727f1d1 in WebKit::DownloadProxy::didCreateDestination (this=0xd065a0, path=...)
    at /home/oszi/WebKit/Source/WebKit2/UIProcess/Downloads/DownloadProxy.cpp:147
#7  0x00007ffff74e9a43 in CoreIPC::callMemberFunction<WebKit::DownloadProxy, void (WebKit::DownloadProxy::*)(WTF::String const&), WTF::String> (args=...,
    object=0xd065a0, function=0x7ffff727f188 <WebKit::DownloadProxy::didCreateDestination(WTF::String const&)>)
    at /home/oszi/WebKit/Source/WebKit2/Platform/CoreIPC/HandleMessage.h:19
#8  0x00007ffff74e9387 in CoreIPC::handleMessage<Messages::DownloadProxy::DidCreateDestination, WebKit::DownloadProxy, void (WebKit::DownloadProxy::*)(WTF::String const&)> (argumentDecoder=0x7fff9c001030, object=0xd065a0, function=0x7ffff727f188 <WebKit::DownloadProxy::didCreateDestination(WTF::String const&)>)
    at /home/oszi/WebKit/Source/WebKit2/Platform/CoreIPC/HandleMessage.h:302
#9  0x00007ffff74e8d91 in WebKit::DownloadProxy::didReceiveDownloadProxyMessage (this=0xd065a0, messageID=..., arguments=0x7fff9c001030)
    at generated/DownloadProxyMessageReceiver.cpp:60
#10 0x00007ffff72cc3c0 in WebKit::WebContext::didReceiveMessage (this=0x77ada0, process=0x79cf30, messageID=..., arguments=0x7fff9c001030)
    at /home/oszi/WebKit/Source/WebKit2/UIProcess/WebContext.cpp:722
#11 0x00007ffff7345493 in WebKit::WebProcessProxy::didReceiveMessage (this=0x79cf30, connection=0x77efc0, messageID=..., arguments=0x7fff9c001030)
    at /home/oszi/WebKit/Source/WebKit2/UIProcess/WebProcessProxy.cpp:405
#12 0x00007ffff72c2366 in WebKit::WebConnectionToWebProcess::didReceiveMessage (this=0x772930, connection=0x77efc0, messageID=..., arguments=0x7fff9c001030)
    at /home/oszi/WebKit/Source/WebKit2/UIProcess/WebConnectionToWebProcess.cpp:92
#13 0x00007ffff71cee97 in CoreIPC::Connection::dispatchMessage (this=0x77efc0, message=...)
    at /home/oszi/WebKit/Source/WebKit2/Platform/CoreIPC/Connection.cpp:691
#14 0x00007ffff71cf079 in CoreIPC::Connection::dispatchOneMessage (this=0x77efc0) at /home/oszi/WebKit/Source/WebKit2/Platform/CoreIPC/Connection.cpp:717
#15 0x00007ffff71d96cf in WTF::FunctionWrapper<void (CoreIPC::Connection::*)()>::operator() (this=0x7fff9c00f3e0, c=0x77efc0)
    at /home/oszi/WebKit/Source/WTF/wtf/Functional.h:174
#16 0x00007ffff71d93d8 in WTF::BoundFunctionImpl<WTF::FunctionWrapper<void (CoreIPC::Connection::*)()>, void ()(CoreIPC::Connection*)>::operator()() (
    this=0x7fff9c00f3d0) at /home/oszi/WebKit/Source/WTF/wtf/Functional.h:406
#17 0x00007ffff7274f4c in WTF::Function<void ()()>::operator()() const (this=0x7fffffffb4b0) at /home/oszi/WebKit/Source/WTF/wtf/Functional.h:614
#18 0x00007ffff4856d0b in WebCore::RunLoop::performWork (this=0x6b6ae0) at /home/oszi/WebKit/Source/WebCore/platform/RunLoop.cpp:87
#19 0x00007ffff4bd382e in WebCore::RunLoop::TimerObject::performWork (this=0x6b6bc0) at /home/oszi/WebKit/Source/WebCore/platform/qt/RunLoopQt.cpp:48
#20 0x00007ffff4bd4641 in WebCore::RunLoop::TimerObject::qt_static_metacall (_o=0x6b6bc0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff9c002d70)
    at ./RunLoopQt.moc:69
#21 0x00007fffe90b1fb2 in QMetaCallEvent::placeMetaCall (this=0x7fff9c002310, object=0x6b6bc0) at kernel/qobject.cpp:479
#22 0x00007fffe90b3f82 in QObject::event (this=0x6b6bc0, e=0x7fff9c002310) at kernel/qobject.cpp:1070
#23 0x00007fffe9075e50 in QCoreApplicationPrivate::notify_helper (this=0x61d180, receiver=0x6b6bc0, event=0x7fff9c002310) at kernel/qcoreapplication.cpp:840
#24 0x00007fffe9075b44 in QCoreApplication::notify (this=0x7fffffffe270, receiver=0x6b6bc0, event=0x7fff9c002310) at kernel/qcoreapplication.cpp:785
#25 0x00007fffe96294f2 in QGuiApplication::notify (this=0x7fffffffe270, object=0x6b6bc0, event=0x7fff9c002310) at kernel/qguiapplication.cpp:1080
---Type <return> to continue, or q <return> to quit---
#26 0x00007fffe9075a48 in QCoreApplication::notifyInternal (this=0x7fffffffe270, receiver=0x6b6bc0, event=0x7fff9c002310) at kernel/qcoreapplication.cpp:723
#27 0x00007fffe9079aa3 in QCoreApplication::sendEvent (receiver=0x6b6bc0, event=0x7fff9c002310) at kernel/qcoreapplication.h:207
#28 0x00007fffe9076d42 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x61d280) at kernel/qcoreapplication.cpp:1324
#29 0x00007fffe90766f9 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1184
#30 0x00007fffe90ef327 in postEventSourceDispatch (s=0x62a680) at kernel/qeventdispatcher_glib.cpp:278
#31 0x00007fffec9ce6f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x00007fffec9d2568 in ?? () from /lib/libglib-2.0.so.0
#33 0x00007fffec9d271c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x00007fffe90f051f in QEventDispatcherGlib::processEvents (this=0x61f610, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#35 0x00007fffe9075f43 in QCoreApplication::processEvents (flags=..., maxtime=50) at kernel/qcoreapplication.cpp:921
#36 0x00007fffea2974be in qWait (ms=50) at /usr/local/Trolltech/Qt5/Qt-5.0.0-r37/include/QtTest/qtestsystem.h:66
#37 0x00007fffea298efd in QuickTestResult::wait (this=0xc1be70, ms=50) at quicktestresult.cpp:570
#38 0x00007fffea29d1d8 in QuickTestResult::qt_static_metacall (_o=0xc1be70, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0x7fffffffbff0)
    at .moc/debug-shared/moc_quicktestresult_p.cpp:288
#39 0x00007fffea29d736 in QuickTestResult::qt_metacall (this=0xc1be70, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0x7fffffffbff0)
    at .moc/debug-shared/moc_quicktestresult_p.cpp:397
#40 0x00007fffe907eeb3 in QMetaObject::metacall (object=0xc1be70, cl=QMetaObject::InvokeMetaMethod, idx=28, argv=0x7fffffffbff0)
    at kernel/qmetaobject.cpp:307
#41 0x00007fffeb8bd90a in CallMethod (object=0xc1be70, index=28, returnType=43, argCount=1, argTypes=0x6ac294, engine=0x654d90, callArgs=...)
    at qml/v8/qv8qobjectwrapper.cpp:1590
#42 0x00007fffeb8be58d in CallPrecise (object=0xc1be70, data=..., engine=0x654d90, callArgs=...) at qml/v8/qv8qobjectwrapper.cpp:1837
#43 0x00007fffeb8bf564 in QV8QObjectWrapper::Invoke (args=...) at qml/v8/qv8qobjectwrapper.cpp:2055
#44 0x00007fffe664d94a in HandleApiCallHelper<false> (args=..., isolate=0x60f070) at ../3rdparty/v8/src/builtins.cc:1120
#45 0x00007fffe6648976 in Builtin_Impl_HandleApiCall (args=..., isolate=0x60f070) at ../3rdparty/v8/src/builtins.cc:1137
#46 0x00007fffe6648947 in Builtin_HandleApiCall (args=..., isolate=0x60f070) at ../3rdparty/v8/src/builtins.cc:1136
#47 0x000021209f60618e in ?? ()
#48 0x00007fff00000006 in ?? ()
#49 0x000021209f6060e1 in ?? ()
#50 0x00007fffffffc7a0 in ?? ()
#51 0x00007fffffffc820 in ?? ()
#52 0x000021209f62af5f in ?? ()
#53 0x0000037a7d157dc1 in ?? ()
#54 0x00001883b6fd8079 in ?? ()
#55 0x0000000100000000 in ?? ()
#56 0x0000037a7d104121 in ?? ()
#57 0x0000001c00000000 in ?? ()
#58 0x00001883b6fd7fc1 in ?? ()
#59 0x0000037a7d157251 in ?? ()
#60 0x0000037a7d157dc1 in ?? ()
#61 0x00001883b6fd8079 in ?? ()
#62 0x00001883b6fd8031 in ?? ()
#63 0x00001883b6fd7fe1 in ?? ()
#64 0x00007fffffffc850 in ?? ()
#65 0x000021209f6098ee in ?? ()
#66 0x00001883b6fd7fc1 in ?? ()
#67 0x0000000100000000 in ?? ()
#68 0x00001883b6fd8031 in ?? ()
#69 0x0000000800000000 in ?? ()
#70 0x00007fffffffc898 in ?? ()
#71 0x000021209f64195e in ?? ()
#72 0x0000003200000000 in ?? ()
#73 0x00001883b6fd7fc1 in ?? ()
#74 0x00001883b6fd7f59 in ?? ()
#75 0x0000138800000000 in ?? ()
#76 0x0000000000000000 in ?? ()
(gdb)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list