Details
Description
This autotest sometimes passes and sometimes crashes on exit.
Here is a log of two subsequent runs of the autotest.
QObject::connect: Cannot connect (null)::destroyed() to QHostInfoLookupManager::waitForThreadPoolDone() ********* Start testing of tst_QNetworkReply ********* Config: Using QTest library 5.0.0, Qt 5.0.0 PASS : tst_QNetworkReply::initTestCase() PASS : tst_QNetworkReply::stateChecking() PASS : tst_QNetworkReply::invalidProtocol() PASS : tst_QNetworkReply::getFromData() PASS : tst_QNetworkReply::getFromFile() PASS : tst_QNetworkReply::getFromFileSpecial() PASS : tst_QNetworkReply::getFromFtp() PASS : tst_QNetworkReply::getFromHttp() XFAIL : tst_QNetworkReply::getErrors(ftp-is-dir) QFtp cannot provide enough detail Loc: [../tst_qnetworkreply.cpp(1693)] XFAIL : tst_QNetworkReply::getErrors(ftp-dir-not-readable) QFtp cannot provide enough detail Loc: [../tst_qnetworkreply.cpp(1693)] PASS : tst_QNetworkReply::getErrors() PASS : tst_QNetworkReply::putToFile() PASS : tst_QNetworkReply::putToFtp() PASS : tst_QNetworkReply::putToHttp() PASS : tst_QNetworkReply::putToHttpSynchronous() SKIP : tst_QNetworkReply::putToHttpMultipart(empty) test server script cannot handle PUT data yet Loc: [../tst_qnetworkreply.cpp(2206)] PASS : tst_QNetworkReply::postToHttp() PASS : tst_QNetworkReply::postToHttpSynchronous() PASS : tst_QNetworkReply::postToHttpMultipart() PASS : tst_QNetworkReply::deleteFromHttp() PASS : tst_QNetworkReply::putGetDeleteGetFromHttp() PASS : tst_QNetworkReply::sendCustomRequestToHttp() PASS : tst_QNetworkReply::connectToIPv6Address() PASS : tst_QNetworkReply::ioGetFromData() PASS : tst_QNetworkReply::ioGetFromFileSpecial() PASS : tst_QNetworkReply::ioGetFromFile() PASS : tst_QNetworkReply::ioGetFromFtp() PASS : tst_QNetworkReply::ioGetFromFtpWithReuse() PASS : tst_QNetworkReply::ioGetFromHttp() SKIP : tst_QNetworkReply::ioGetFromBuiltinHttp(http+unlimited) Limiting is broken right now, check QTBUG-15065 Loc: [../tst_qnetworkreply.cpp(4331)] PASS : tst_QNetworkReply::ioGetFromHttpWithReuseParallel() PASS : tst_QNetworkReply::ioGetFromHttpWithReuseSequential() PASS : tst_QNetworkReply::ioGetFromHttpWithAuth() PASS : tst_QNetworkReply::ioGetFromHttpWithAuthSynchronous() PASS : tst_QNetworkReply::ioGetFromHttpWithProxyAuth() PASS : tst_QNetworkReply::ioGetFromHttpWithProxyAuthSynchronous() XFAIL : tst_QNetworkReply::ioGetFromHttpWithSocksProxy() QTcpSocket doesn't return enough information yet Loc: [../tst_qnetworkreply.cpp(2985)] PASS : tst_QNetworkReply::ioGetFromHttpWithSocksProxy() PASS : tst_QNetworkReply::ioGetFromHttpsWithSslErrors() PASS : tst_QNetworkReply::ioGetFromHttpsWithIgnoreSslErrors() PASS : tst_QNetworkReply::ioGetFromHttpsWithSslHandshakeError() QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(no-newline) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(no-newline) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(no-newline) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines2) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines2) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines2) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines3) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines3) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines3) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-version) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-version) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-version) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-version2) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-version2) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-version2) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-reply-code) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-reply-code) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-reply-code) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" PASS : tst_QNetworkReply::ioGetFromHttpBrokenServer() PASS : tst_QNetworkReply::ioGetFromHttpStatus100() PASS : tst_QNetworkReply::ioGetFromHttpNoHeaders() PASS : tst_QNetworkReply::ioGetFromHttpWithCache() XFAIL : tst_QNetworkReply::ioGetWithManyProxies(ftp-on-socks) QFtp is too limited and won't accept non-FTP proxies Loc: [../tst_qnetworkreply.cpp(3611)] PASS : tst_QNetworkReply::ioGetWithManyProxies() PASS : tst_QNetworkReply::ioPutToFileFromFile() PASS : tst_QNetworkReply::ioPutToFileFromSocket() PASS : tst_QNetworkReply::ioPutToFileFromLocalSocket() PASS : tst_QNetworkReply::ioPutToFileFromProcess() PASS : tst_QNetworkReply::ioPutToFtpFromFile() PASS : tst_QNetworkReply::ioPutToHttpFromFile() PASS : tst_QNetworkReply::ioPostToHttpFromFile() PASS : tst_QNetworkReply::ioPostToHttpFromSocket() PASS : tst_QNetworkReply::ioPostToHttpFromSocketSynchronous() PASS : tst_QNetworkReply::ioPostToHttpFromMiddleOfFileToEnd() PASS : tst_QNetworkReply::ioPostToHttpFromMiddleOfFileFiveBytes() PASS : tst_QNetworkReply::ioPostToHttpFromMiddleOfQBufferFiveBytes() PASS : tst_QNetworkReply::ioPostToHttpNoBufferFlag() PASS : tst_QNetworkReply::ioPostToHttpUploadProgress() PASS : tst_QNetworkReply::ioPostToHttpEmptyUploadProgress() PASS : tst_QNetworkReply::lastModifiedHeaderForFile() PASS : tst_QNetworkReply::lastModifiedHeaderForHttp() PASS : tst_QNetworkReply::httpCanReadLine() SKIP : tst_QNetworkReply::rateControl(15) Test disabled -- only for manual purposes Loc: [../tst_qnetworkreply.cpp(4578)] QWARN : tst_QNetworkReply::downloadProgress(empty) QNetworkAccessDebugPipeBackend::socketError() 1 QWARN : tst_QNetworkReply::downloadProgress(small) QNetworkAccessDebugPipeBackend::socketError() 1 QWARN : tst_QNetworkReply::downloadProgress(big) QNetworkAccessDebugPipeBackend::socketError() 1 PASS : tst_QNetworkReply::downloadProgress() PASS : tst_QNetworkReply::uploadProgress() PASS : tst_QNetworkReply::chaining() PASS : tst_QNetworkReply::receiveCookiesFromHttp() PASS : tst_QNetworkReply::receiveCookiesFromHttpSynchronous() PASS : tst_QNetworkReply::sendCookies() PASS : tst_QNetworkReply::sendCookiesSynchronous() QDEBUG : tst_QNetworkReply::nestedEventLoops() Takes 16 seconds to run, please wait PASS : tst_QNetworkReply::nestedEventLoops() PASS : tst_QNetworkReply::httpProxyCommands() PASS : tst_QNetworkReply::httpProxyCommandsSynchronous() QDEBUG : tst_QNetworkReply::proxyChange() slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" PASS : tst_QNetworkReply::proxyChange() PASS : tst_QNetworkReply::authorizationError() PASS : tst_QNetworkReply::httpConnectionCount() PASS : tst_QNetworkReply::httpReUsingConnectionSequential() PASS : tst_QNetworkReply::httpReUsingConnectionFromFinishedSlot() PASS : tst_QNetworkReply::httpRecursiveCreation() PASS : tst_QNetworkReply::ioPostToHttpsUploadProgress() PASS : tst_QNetworkReply::ignoreSslErrorsList() PASS : tst_QNetworkReply::ignoreSslErrorsListWithSlot() PASS : tst_QNetworkReply::sslConfiguration() PASS : tst_QNetworkReply::getAndThenDeleteObject() PASS : tst_QNetworkReply::symbianOpenCDataUrlCrash() PASS : tst_QNetworkReply::getFromHttpIntoBuffer() PASS : tst_QNetworkReply::getFromHttpIntoBuffer2() PASS : tst_QNetworkReply::getFromHttpIntoBufferCanReadLine() PASS : tst_QNetworkReply::ioGetFromHttpWithoutContentLength() XFAIL : tst_QNetworkReply::ioGetFromHttpBrokenChunkedEncoding() We should close the socket and not just do nothing Loc: [../tst_qnetworkreply.cpp(5888)] XFAIL : tst_QNetworkReply::ioGetFromHttpBrokenChunkedEncoding() We should close the socket and not just do nothing Loc: [../tst_qnetworkreply.cpp(5890)] PASS : tst_QNetworkReply::ioGetFromHttpBrokenChunkedEncoding() PASS : tst_QNetworkReply::qtbug12908compressedHttpReply() PASS : tst_QNetworkReply::compressedHttpReplyBrokenGzip() PASS : tst_QNetworkReply::getFromUnreachableIp() PASS : tst_QNetworkReply::qtbug4121unknownAuthentication() PASS : tst_QNetworkReply::qtbug13431replyThrottling() PASS : tst_QNetworkReply::httpWithNoCredentialUsage() PASS : tst_QNetworkReply::qtbug15311doubleContentLength() PASS : tst_QNetworkReply::qtbug18232gzipContentLengthZero() PASS : tst_QNetworkReply::synchronousRequest() PASS : tst_QNetworkReply::synchronousRequestSslFailure() PASS : tst_QNetworkReply::httpAbort() PASS : tst_QNetworkReply::dontInsertPartialContentIntoTheCache() PASS : tst_QNetworkReply::httpUserAgent() PASS : tst_QNetworkReply::parentingRepliesToTheApp() PASS : tst_QNetworkReply::cleanupTestCase() Totals: 101 passed, 0 failed, 3 skipped ********* Finished testing of tst_QNetworkReply ********* QtQA::App::TestRunner: ============================== backtrace follows: ============================== QtQA::App::TestRunner: QtQA::App::TestRunner: warning: core file may not match specified executable file. QtQA::App::TestRunner: [New Thread 17571] QtQA::App::TestRunner: [New Thread 16792] QtQA::App::TestRunner: [New Thread 17522] QtQA::App::TestRunner: QtQA::App::TestRunner: warning: Can't read pathname for load map: Input/output error. QtQA::App::TestRunner: Core was generated by `./tst_qnetworkreply'. QtQA::App::TestRunner: Program terminated with signal 11, Segmentation fault. QtQA::App::TestRunner: #0 0x4038c99c in QBasicAtomicPointer<QFreeListElement<void> >::operator QFreeListElement<void>* (this=0x4) QtQA::App::TestRunner: at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:169 QtQA::App::TestRunner: 169 return _q_value; QtQA::App::TestRunner: QtQA::App::TestRunner: Thread 3 (Thread 17522): QtQA::App::TestRunner: #0 0x4001d430 in __kernel_vsyscall () QtQA::App::TestRunner: No symbol table info available. QtQA::App::TestRunner: #1 0x405dc342 in pthread_cond_timedwait@@GLIBC_2.3.2 () QtQA::App::TestRunner: at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #2 0x4026df0f in QWaitConditionPrivate::wait (this=0x83fd530, time=30000) QtQA::App::TestRunner: at thread/qwaitcondition_unix.cpp:84 QtQA::App::TestRunner: tv = {tv_sec = 1314205577, tv_usec = 468582} QtQA::App::TestRunner: ti = {tv_sec = 1314205607, tv_nsec = 468582000} QtQA::App::TestRunner: code = 1079730164 QtQA::App::TestRunner: #3 0x4026dd2e in QWaitCondition::wait (this=0x83fd4fc, mutex=0x83fd4f8, QtQA::App::TestRunner: time=30000) at thread/qwaitcondition_unix.cpp:158 QtQA::App::TestRunner: returnValue = false QtQA::App::TestRunner: #4 0x4025c2bf in QThreadPoolThread::run (this=0x41103338) QtQA::App::TestRunner: at concurrent/qthreadpool.cpp:141 QtQA::App::TestRunner: r = 0x0 QtQA::App::TestRunner: expired = false QtQA::App::TestRunner: locker = {val = 138401017} QtQA::App::TestRunner: #5 0x4026c933 in QThreadPrivate::start (arg=0x41103338) QtQA::App::TestRunner: at thread/qthread_unix.cpp:298 QtQA::App::TestRunner: __clframe = warning: can't find linker symbol for virtual table for `__pthread_cleanup_class' value QtQA::App::TestRunner: warning: found `QThreadPrivate::start(void*)' instead QtQA::App::TestRunner: { QtQA::App::TestRunner: __cancel_routine = 0x4026c97a <QThreadPrivate::finish(void*)>, QtQA::App::TestRunner: __cancel_arg = 0x41103338, __do_it = 1, __cancel_type = 1082642420} QtQA::App::TestRunner: thr = 0x41103338 QtQA::App::TestRunner: data = 0x41101388 QtQA::App::TestRunner: #6 0x405d796e in start_thread (arg=0x4109eb70) at pthread_create.c:300 QtQA::App::TestRunner: __res = <value optimized out> QtQA::App::TestRunner: __ignore1 = <value optimized out> QtQA::App::TestRunner: __ignore2 = <value optimized out> QtQA::App::TestRunner: pd = 0x4109eb70 QtQA::App::TestRunner: now = <value optimized out> QtQA::App::TestRunner: unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1079934964, 0, 4001536, QtQA::App::TestRunner: 1091167352, -867247101, 1702592513}, mask_was_saved = 0}}, QtQA::App::TestRunner: priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, QtQA::App::TestRunner: cleanup = 0x0, canceltype = 0}}} QtQA::App::TestRunner: not_first_call = <value optimized out> QtQA::App::TestRunner: robust = <value optimized out> QtQA::App::TestRunner: freesize = <value optimized out> QtQA::App::TestRunner: __PRETTY_FUNCTION__ = "start_thread" QtQA::App::TestRunner: #7 0x407f4a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: QtQA::App::TestRunner: Thread 2 (Thread 16792): QtQA::App::TestRunner: #0 0x4001d430 in __kernel_vsyscall () QtQA::App::TestRunner: No symbol table info available. QtQA::App::TestRunner: #1 0x405dc015 in pthread_cond_wait@@GLIBC_2.3.2 () QtQA::App::TestRunner: at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #2 0x4026df29 in QWaitConditionPrivate::wait (this=0x411033c0, QtQA::App::TestRunner: time=4294967295) at thread/qwaitcondition_unix.cpp:86 QtQA::App::TestRunner: code = 1079730164 QtQA::App::TestRunner: #3 0x4026dd2e in QWaitCondition::wait (this=0x411033b4, mutex=0x41103398, QtQA::App::TestRunner: time=4294967295) at thread/qwaitcondition_unix.cpp:158 QtQA::App::TestRunner: returnValue = 64 QtQA::App::TestRunner: #4 0x4026d4bb in QThread::wait (this=0x41103338, time=4294967295) QtQA::App::TestRunner: at thread/qthread_unix.cpp:646 QtQA::App::TestRunner: d = 0x41103350 QtQA::App::TestRunner: locker = {val = 1091580825} QtQA::App::TestRunner: #5 0x4025cbfe in QThreadPoolPrivate::reset (this=0x83fd4b0) QtQA::App::TestRunner: at concurrent/qthreadpool.cpp:279 QtQA::App::TestRunner: thread = 0x41103338 QtQA::App::TestRunner: _container_ = {c = {q_hash = {{d = 0x41102060, e = 0x41102060}}}, QtQA::App::TestRunner: brk = 0, i = {i = {i = 0x41103460}}, e = {i = {i = 0x41102060}}} QtQA::App::TestRunner: allThreadsCopy = {q_hash = {{d = 0x41102060, e = 0x41102060}}} QtQA::App::TestRunner: locker = {val = 138401016} QtQA::App::TestRunner: #6 0x4025d790 in QThreadPool::waitForDone (this=0x83fd448) QtQA::App::TestRunner: at concurrent/qthreadpool.cpp:629 QtQA::App::TestRunner: d = 0x83fd4b0 QtQA::App::TestRunner: #7 0x4011bb34 in QHostInfoLookupManager::clear (this=0x83fd408) QtQA::App::TestRunner: at kernel/qhostinfo.cpp:567 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #8 0x4011b942 in ~QHostInfoLookupManager (this=0x83fd408, QtQA::App::TestRunner: __in_chrg=<value optimized out>) at kernel/qhostinfo.cpp:552 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #9 0x4011ce49 in ~QGlobalStaticDeleter (this=0x401e2650, QtQA::App::TestRunner: __in_chrg=<value optimized out>) QtQA::App::TestRunner: at ../../include/QtCore/../../src/corelib/global/qglobal.h:1881 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #10 0x407561bf in __run_exit_handlers (status=0, listp=0x4087d324, QtQA::App::TestRunner: run_list_atexit=true) at exit.c:78 QtQA::App::TestRunner: atfct = <value optimized out> QtQA::App::TestRunner: onfct = <value optimized out> QtQA::App::TestRunner: cxafct = 0x1 QtQA::App::TestRunner: #11 0x4075622f in *__GI_exit (status=0) at exit.c:100 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #12 0x4073dbde in __libc_start_main (main=0x80927f7 <main>, argc=1, QtQA::App::TestRunner: ubp_av=0xbfef6cf4, init=0x80a5ff0 <__libc_csu_init>, QtQA::App::TestRunner: fini=0x80a5fe0 <__libc_csu_fini>, rtld_fini=0x4000e030 <_dl_fini>, QtQA::App::TestRunner: stack_end=0xbfef6cec) at libc-start.c:258 QtQA::App::TestRunner: result = -512 QtQA::App::TestRunner: unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1082642420, 0, 0, QtQA::App::TestRunner: -1074828088, 22109694, 943639041}, mask_was_saved = 0}}, QtQA::App::TestRunner: priv = {pad = {0x0, 0x0, 0x1, 0x8052c40}, data = {prev = 0x0, QtQA::App::TestRunner: cleanup = 0x0, canceltype = 1}}} QtQA::App::TestRunner: not_first_call = <value optimized out> QtQA::App::TestRunner: #13 0x08052c61 in _start () QtQA::App::TestRunner: No symbol table info available. QtQA::App::TestRunner: QtQA::App::TestRunner: Thread 1 (Thread 17571): QtQA::App::TestRunner: #0 0x4038c99c in QBasicAtomicPointer<QFreeListElement<void> >::operator QFreeListElement<void>* (this=0x4) QtQA::App::TestRunner: at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:169 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #1 0x4038c8fe in QFreeList<void, QtTimerIdFreeListConstants>::release ( QtQA::App::TestRunner: this=0x0, id=104) QtQA::App::TestRunner: at ../../include/QtCore/5.0.0/QtCore/private/../../../../../src/corelib/tools/qfreelist_p.h:274 QtQA::App::TestRunner: block = 1 QtQA::App::TestRunner: newid = 1076234940 QtQA::App::TestRunner: at = 40 QtQA::App::TestRunner: v = 0x1 QtQA::App::TestRunner: x = 138537892 QtQA::App::TestRunner: #2 0x4038c162 in QAbstractEventDispatcherPrivate::releaseTimerId (timerId=104) QtQA::App::TestRunner: at kernel/qabstracteventdispatcher.cpp:109 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #3 0x403dc06e in QTimerInfoList::unregisterTimer (this=0x8422c6c, timerId=104) QtQA::App::TestRunner: at kernel/qeventdispatcher_unix.cpp:505 QtQA::App::TestRunner: t = 0x411031a8 QtQA::App::TestRunner: i = 0 QtQA::App::TestRunner: #4 0x403d977c in QEventDispatcherGlib::unregisterTimer (this=0x84286b8, QtQA::App::TestRunner: timerId=104) at kernel/qeventdispatcher_glib.cpp:541 QtQA::App::TestRunner: d = 0x83e8f68 QtQA::App::TestRunner: #5 0x403b6d76 in QObject::killTimer (this=0x841eba0, id=104) QtQA::App::TestRunner: at kernel/qobject.cpp:1511 QtQA::App::TestRunner: d = 0x83fc000 QtQA::App::TestRunner: #6 0x403c3baa in QTimer::stop (this=0x841eba0) at kernel/qtimer.cpp:236 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #7 0x4013f38b in QAbstractSocket::abort (this=0x8422ed8) QtQA::App::TestRunner: at socket/qabstractsocket.cpp:2081 QtQA::App::TestRunner: d = 0x83eb310 QtQA::App::TestRunner: #8 0x4013d350 in ~QAbstractSocket (this=0x8422ed8, QtQA::App::TestRunner: __in_chrg=<value optimized out>) at socket/qabstractsocket.cpp:1294 QtQA::App::TestRunner: d = 0x83eb310 QtQA::App::TestRunner: #9 0x40141daf in ~QTcpSocket (this=0x8422ed8, __in_chrg=<value optimized out>) QtQA::App::TestRunner: at socket/qtcpsocket.cpp:113 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #10 0x400a88cf in ~QHttpNetworkConnectionPrivate (this=0x83ea9d0, QtQA::App::TestRunner: __in_chrg=<value optimized out>) at access/qhttpnetworkconnection.cpp:115 QtQA::App::TestRunner: i = 0 QtQA::App::TestRunner: #11 0x403be923 in QScopedPointerDeleter<QObjectData>::cleanup ( QtQA::App::TestRunner: pointer=0x83ea9d0) QtQA::App::TestRunner: at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #12 0x403bd451 in ~QScopedPointer (this=0x8422f54, QtQA::App::TestRunner: __in_chrg=<value optimized out>) QtQA::App::TestRunner: at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100 QtQA::App::TestRunner: oldD = 0x83ea9d0 QtQA::App::TestRunner: #13 0x403b57f2 in ~QObject (this=0x8422f50, __in_chrg=<value optimized out>) QtQA::App::TestRunner: at kernel/qobject.cpp:919 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #14 0x400ae9df in ~QHttpNetworkConnection (this=0x8422f50, QtQA::App::TestRunner: __in_chrg=<value optimized out>) at access/qhttpnetworkconnection.cpp:1040 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #15 0x400fec4a in ~QNetworkAccessCachedHttpConnection (this=0x8422f50, QtQA::App::TestRunner: __in_chrg=<value optimized out>) at access/qhttpthreaddelegate.cpp:149 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #16 0x400fecaa in QNetworkAccessCachedHttpConnection::dispose (this=0x8422f50) QtQA::App::TestRunner: at access/qhttpthreaddelegate.cpp:169 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #17 0x400c0606 in QNetworkAccessCache::clear (this=0x83fa790) QtQA::App::TestRunner: at access/qnetworkaccesscache.cpp:126 QtQA::App::TestRunner: hashCopy = {{d = 0x83e9098, e = 0x83e9098}} QtQA::App::TestRunner: it = {i = 0x8426a30} QtQA::App::TestRunner: end = {i = 0x83e9098} QtQA::App::TestRunner: #18 0x400c04db in ~QNetworkAccessCache (this=0x83fa790, QtQA::App::TestRunner: __in_chrg=<value optimized out>) at access/qnetworkaccesscache.cpp:113 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #19 0x400feff8 in qThreadStorage_deleteData<QNetworkAccessCache> (d=0x83fa790) QtQA::App::TestRunner: at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:97 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #20 0x400feeb4 in QThreadStorage<QNetworkAccessCache*>::deleteData ( QtQA::App::TestRunner: x=0x83fa790) QtQA::App::TestRunner: at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:140 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #21 0x4026b321 in QThreadStorageData::finish (p=0x8522f44) QtQA::App::TestRunner: at thread/qthreadstorage.cpp:203 QtQA::App::TestRunner: value = @0x83ec3c4 QtQA::App::TestRunner: q = 0x83fa790 QtQA::App::TestRunner: i = 1 QtQA::App::TestRunner: locker = {val = 138305544} QtQA::App::TestRunner: destructor = 0x400fee9b <QThreadStorage<QNetworkAccessCache*>::deleteData(void*)> QtQA::App::TestRunner: tls = 0x8522f44 QtQA::App::TestRunner: #22 0x4026ca24 in QThreadPrivate::finish (arg=0x8424250) QtQA::App::TestRunner: at thread/qthread_unix.cpp:321 QtQA::App::TestRunner: locker = {val = 139603688} QtQA::App::TestRunner: data = 0x8522f44 QtQA::App::TestRunner: eventDispatcher = 0x405b3908 QtQA::App::TestRunner: thr = 0x8424250 QtQA::App::TestRunner: d = 0x8522ea0 QtQA::App::TestRunner: terminated = false QtQA::App::TestRunner: #23 0x4026d7f4 in ~__pthread_cleanup_class (this=0x41601344, QtQA::App::TestRunner: __in_chrg=<value optimized out>) at /usr/include/pthread.h:535 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #24 0x4026c951 in QThreadPrivate::start (arg=0x8424250) QtQA::App::TestRunner: at thread/qthread_unix.cpp:300 QtQA::App::TestRunner: __clframe = warning: can't find linker symbol for virtual table for `__pthread_cleanup_class' value QtQA::App::TestRunner: warning: found `QThreadPrivate::start(void*)' instead QtQA::App::TestRunner: { QtQA::App::TestRunner: __cancel_routine = 0x4026c97a <QThreadPrivate::finish(void*)>, QtQA::App::TestRunner: __cancel_arg = 0x8424250, __do_it = 1, __cancel_type = 1081699953} QtQA::App::TestRunner: thr = 0x8424250 QtQA::App::TestRunner: data = 0x8522f10 QtQA::App::TestRunner: #25 0x405d796e in start_thread (arg=0x41601b70) at pthread_create.c:300 QtQA::App::TestRunner: __res = <value optimized out> QtQA::App::TestRunner: __ignore1 = <value optimized out> QtQA::App::TestRunner: __ignore2 = <value optimized out> QtQA::App::TestRunner: pd = 0x41601b70 QtQA::App::TestRunner: now = <value optimized out> QtQA::App::TestRunner: unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1079934964, 0, 4001536, QtQA::App::TestRunner: 1096815736, 531553283, 1702592513}, mask_was_saved = 0}}, QtQA::App::TestRunner: priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, QtQA::App::TestRunner: cleanup = 0x0, canceltype = 0}}} QtQA::App::TestRunner: not_first_call = <value optimized out> QtQA::App::TestRunner: robust = <value optimized out> QtQA::App::TestRunner: freesize = <value optimized out> QtQA::App::TestRunner: __PRETTY_FUNCTION__ = "start_thread" QtQA::App::TestRunner: #26 0x407f4a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: QtQA::App::TestRunner: ================================================================================ QtQA::App::TestRunner: test failed, running again to see if it is flaky... QObject::connect: Cannot connect (null)::destroyed() to QHostInfoLookupManager::waitForThreadPoolDone() ********* Start testing of tst_QNetworkReply ********* Config: Using QTest library 5.0.0, Qt 5.0.0 PASS : tst_QNetworkReply::initTestCase() PASS : tst_QNetworkReply::stateChecking() PASS : tst_QNetworkReply::invalidProtocol() PASS : tst_QNetworkReply::getFromData() PASS : tst_QNetworkReply::getFromFile() PASS : tst_QNetworkReply::getFromFileSpecial() PASS : tst_QNetworkReply::getFromFtp() PASS : tst_QNetworkReply::getFromHttp() XFAIL : tst_QNetworkReply::getErrors(ftp-is-dir) QFtp cannot provide enough detail Loc: [../tst_qnetworkreply.cpp(1693)] XFAIL : tst_QNetworkReply::getErrors(ftp-dir-not-readable) QFtp cannot provide enough detail Loc: [../tst_qnetworkreply.cpp(1693)] PASS : tst_QNetworkReply::getErrors() PASS : tst_QNetworkReply::putToFile() PASS : tst_QNetworkReply::putToFtp() PASS : tst_QNetworkReply::putToHttp() PASS : tst_QNetworkReply::putToHttpSynchronous() SKIP : tst_QNetworkReply::putToHttpMultipart(empty) test server script cannot handle PUT data yet Loc: [../tst_qnetworkreply.cpp(2206)] PASS : tst_QNetworkReply::postToHttp() PASS : tst_QNetworkReply::postToHttpSynchronous() PASS : tst_QNetworkReply::postToHttpMultipart() PASS : tst_QNetworkReply::deleteFromHttp() PASS : tst_QNetworkReply::putGetDeleteGetFromHttp() PASS : tst_QNetworkReply::sendCustomRequestToHttp() PASS : tst_QNetworkReply::connectToIPv6Address() PASS : tst_QNetworkReply::ioGetFromData() PASS : tst_QNetworkReply::ioGetFromFileSpecial() PASS : tst_QNetworkReply::ioGetFromFile() PASS : tst_QNetworkReply::ioGetFromFtp() PASS : tst_QNetworkReply::ioGetFromFtpWithReuse() PASS : tst_QNetworkReply::ioGetFromHttp() SKIP : tst_QNetworkReply::ioGetFromBuiltinHttp(http+unlimited) Limiting is broken right now, check QTBUG-15065 Loc: [../tst_qnetworkreply.cpp(4331)] PASS : tst_QNetworkReply::ioGetFromHttpWithReuseParallel() PASS : tst_QNetworkReply::ioGetFromHttpWithReuseSequential() PASS : tst_QNetworkReply::ioGetFromHttpWithAuth() PASS : tst_QNetworkReply::ioGetFromHttpWithAuthSynchronous() PASS : tst_QNetworkReply::ioGetFromHttpWithProxyAuth() PASS : tst_QNetworkReply::ioGetFromHttpWithProxyAuthSynchronous() XFAIL : tst_QNetworkReply::ioGetFromHttpWithSocksProxy() QTcpSocket doesn't return enough information yet Loc: [../tst_qnetworkreply.cpp(2985)] PASS : tst_QNetworkReply::ioGetFromHttpWithSocksProxy() PASS : tst_QNetworkReply::ioGetFromHttpsWithSslErrors() PASS : tst_QNetworkReply::ioGetFromHttpsWithIgnoreSslErrors() PASS : tst_QNetworkReply::ioGetFromHttpsWithSslHandshakeError() QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(no-newline) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(no-newline) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(no-newline) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines2) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines2) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines2) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines3) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines3) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(with-newlines3) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-version) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-version) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-version) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-version2) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-version2) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-version2) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-reply-code) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-reply-code) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" QDEBUG : tst_QNetworkReply::ioGetFromHttpBrokenServer(invalid-reply-code) slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" PASS : tst_QNetworkReply::ioGetFromHttpBrokenServer() PASS : tst_QNetworkReply::ioGetFromHttpStatus100() PASS : tst_QNetworkReply::ioGetFromHttpNoHeaders() PASS : tst_QNetworkReply::ioGetFromHttpWithCache() XFAIL : tst_QNetworkReply::ioGetWithManyProxies(ftp-on-socks) QFtp is too limited and won't accept non-FTP proxies Loc: [../tst_qnetworkreply.cpp(3611)] PASS : tst_QNetworkReply::ioGetWithManyProxies() PASS : tst_QNetworkReply::ioPutToFileFromFile() PASS : tst_QNetworkReply::ioPutToFileFromSocket() PASS : tst_QNetworkReply::ioPutToFileFromLocalSocket() PASS : tst_QNetworkReply::ioPutToFileFromProcess() PASS : tst_QNetworkReply::ioPutToFtpFromFile() PASS : tst_QNetworkReply::ioPutToHttpFromFile() PASS : tst_QNetworkReply::ioPostToHttpFromFile() PASS : tst_QNetworkReply::ioPostToHttpFromSocket() PASS : tst_QNetworkReply::ioPostToHttpFromSocketSynchronous() PASS : tst_QNetworkReply::ioPostToHttpFromMiddleOfFileToEnd() PASS : tst_QNetworkReply::ioPostToHttpFromMiddleOfFileFiveBytes() PASS : tst_QNetworkReply::ioPostToHttpFromMiddleOfQBufferFiveBytes() PASS : tst_QNetworkReply::ioPostToHttpNoBufferFlag() PASS : tst_QNetworkReply::ioPostToHttpUploadProgress() PASS : tst_QNetworkReply::ioPostToHttpEmptyUploadProgress() PASS : tst_QNetworkReply::lastModifiedHeaderForFile() PASS : tst_QNetworkReply::lastModifiedHeaderForHttp() PASS : tst_QNetworkReply::httpCanReadLine() SKIP : tst_QNetworkReply::rateControl(15) Test disabled -- only for manual purposes Loc: [../tst_qnetworkreply.cpp(4578)] QWARN : tst_QNetworkReply::downloadProgress(empty) QNetworkAccessDebugPipeBackend::socketError() 1 QWARN : tst_QNetworkReply::downloadProgress(small) QNetworkAccessDebugPipeBackend::socketError() 1 QWARN : tst_QNetworkReply::downloadProgress(big) QNetworkAccessDebugPipeBackend::socketError() 1 PASS : tst_QNetworkReply::downloadProgress() PASS : tst_QNetworkReply::uploadProgress() PASS : tst_QNetworkReply::chaining() PASS : tst_QNetworkReply::receiveCookiesFromHttp() PASS : tst_QNetworkReply::receiveCookiesFromHttpSynchronous() PASS : tst_QNetworkReply::sendCookies() PASS : tst_QNetworkReply::sendCookiesSynchronous() QDEBUG : tst_QNetworkReply::nestedEventLoops() Takes 16 seconds to run, please wait PASS : tst_QNetworkReply::nestedEventLoops() PASS : tst_QNetworkReply::httpProxyCommands() PASS : tst_QNetworkReply::httpProxyCommandsSynchronous() QDEBUG : tst_QNetworkReply::proxyChange() slotError QAbstractSocket::RemoteHostClosedError "The remote host closed the connection" PASS : tst_QNetworkReply::proxyChange() PASS : tst_QNetworkReply::authorizationError() PASS : tst_QNetworkReply::httpConnectionCount() PASS : tst_QNetworkReply::httpReUsingConnectionSequential() PASS : tst_QNetworkReply::httpReUsingConnectionFromFinishedSlot() PASS : tst_QNetworkReply::httpRecursiveCreation() PASS : tst_QNetworkReply::ioPostToHttpsUploadProgress() PASS : tst_QNetworkReply::ignoreSslErrorsList() PASS : tst_QNetworkReply::ignoreSslErrorsListWithSlot() PASS : tst_QNetworkReply::sslConfiguration() PASS : tst_QNetworkReply::getAndThenDeleteObject() PASS : tst_QNetworkReply::symbianOpenCDataUrlCrash() PASS : tst_QNetworkReply::getFromHttpIntoBuffer() PASS : tst_QNetworkReply::getFromHttpIntoBuffer2() PASS : tst_QNetworkReply::getFromHttpIntoBufferCanReadLine() PASS : tst_QNetworkReply::ioGetFromHttpWithoutContentLength() XFAIL : tst_QNetworkReply::ioGetFromHttpBrokenChunkedEncoding() We should close the socket and not just do nothing Loc: [../tst_qnetworkreply.cpp(5888)] XFAIL : tst_QNetworkReply::ioGetFromHttpBrokenChunkedEncoding() We should close the socket and not just do nothing Loc: [../tst_qnetworkreply.cpp(5890)] PASS : tst_QNetworkReply::ioGetFromHttpBrokenChunkedEncoding() PASS : tst_QNetworkReply::qtbug12908compressedHttpReply() PASS : tst_QNetworkReply::compressedHttpReplyBrokenGzip() PASS : tst_QNetworkReply::getFromUnreachableIp() PASS : tst_QNetworkReply::qtbug4121unknownAuthentication() PASS : tst_QNetworkReply::qtbug13431replyThrottling() PASS : tst_QNetworkReply::httpWithNoCredentialUsage() PASS : tst_QNetworkReply::qtbug15311doubleContentLength() PASS : tst_QNetworkReply::qtbug18232gzipContentLengthZero() PASS : tst_QNetworkReply::synchronousRequest() PASS : tst_QNetworkReply::synchronousRequestSslFailure() PASS : tst_QNetworkReply::httpAbort() PASS : tst_QNetworkReply::dontInsertPartialContentIntoTheCache() PASS : tst_QNetworkReply::httpUserAgent() PASS : tst_QNetworkReply::parentingRepliesToTheApp() PASS : tst_QNetworkReply::cleanupTestCase() Totals: 101 passed, 0 failed, 3 skipped ********* Finished testing of tst_QNetworkReply ********* QtQA::App::TestRunner: test failed on first attempt and passed on second attempt! QtQA::App::TestRunner: first attempt: exited with signal 11 QtQA::App::TestRunner: the test seems to be flaky, please fix this
Attachments
Issue Links
- relates to
-
QTBUG-20686 [Crash] tst_qabstractnetworkcache sometimes crashes on exit
- Closed
-
QTBUG-24594 Crash occurs when the internal QNetworkAccessCache deletes any open sockets
- Closed
- replaces
-
QTBUG-21095 tst_qdeclarativepixmapcache sometimes crashes on exit (qpa, xcb)
- Closed
For Gerrit Dashboard: QTBUG-21102 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
209040,10 | tst_qnetworkreply: Replace insignificant_test with blacklisting | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |