Details
Description
This test sometimes crashes on exit. Backtrace points towards network-related code. In fact the test even has a testfunction named "networkCrash", although that doesn't seem to be the thing which crashes
Information of screen 258: width.........: 800 height........: 600 depth.........: 24 white pixel...: ffffff black pixel...: 0 Running window manager: KWin ********* Start testing of tst_qdeclarativepixmapcache ********* Config: Using QTest library 5.0.0, Qt 5.0.0 PASS : tst_qdeclarativepixmapcache::initTestCase() PASS : tst_qdeclarativepixmapcache::single() PASS : tst_qdeclarativepixmapcache::parallel() PASS : tst_qdeclarativepixmapcache::massive() PASS : tst_qdeclarativepixmapcache::cancelcrash() PASS : tst_qdeclarativepixmapcache::shrinkcache() PASS : tst_qdeclarativepixmapcache::networkCrash() PASS : tst_qdeclarativepixmapcache::cleanupTestCase() Totals: 8 passed, 0 failed, 0 skipped ********* Finished testing of tst_qdeclarativepixmapcache ********* 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 9645] QtQA::App::TestRunner: [New Thread 9643] QtQA::App::TestRunner: [New Thread 9642] 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_qdeclarativepixmapcache'. QtQA::App::TestRunner: Program terminated with signal 11, Segmentation fault. QtQA::App::TestRunner: #0 0x420912a6 in QBasicAtomicInt::operator int (this=0x18) QtQA::App::TestRunner: at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:85 QtQA::App::TestRunner: 85 return _q_value; QtQA::App::TestRunner: QtQA::App::TestRunner: Thread 3 (Thread 9642): QtQA::App::TestRunner: #0 0x40008c21 in do_lookup_x (new_hash=<value optimized out>, QtQA::App::TestRunner: old_hash=0xbf9b2464, ref=0x428453a0, result=0xbf9b2458, scope=0x4001ca54, QtQA::App::TestRunner: i=2, flags=5, skip=0x0, undef_map=0x42746bb0) at dl-lookup.c:444 QtQA::App::TestRunner: symtab = 0x4006b914 QtQA::App::TestRunner: sym = 0x8004 QtQA::App::TestRunner: bitmask = <value optimized out> QtQA::App::TestRunner: n = 33 QtQA::App::TestRunner: num_versions = 0 QtQA::App::TestRunner: versioned_sym = 0x0 QtQA::App::TestRunner: map = 0x4004d000 QtQA::App::TestRunner: type_class = 1 QtQA::App::TestRunner: undef_name = 0x428454c0 "__cxa_finalize" QtQA::App::TestRunner: strtab = 0x4008df54 "" QtQA::App::TestRunner: symidx = 0 QtQA::App::TestRunner: version = 0x429e9320 QtQA::App::TestRunner: #1 0x40009222 in _dl_lookup_symbol_x (undef_name=<value optimized out>, QtQA::App::TestRunner: undef_map=<value optimized out>, ref=0xbf9b24a0, symbol_scope=0x42746d68, QtQA::App::TestRunner: version=0x429e9320, type_class=1, flags=5, skip_map=0x0) at dl-lookup.c:721 QtQA::App::TestRunner: res = <value optimized out> QtQA::App::TestRunner: start = <value optimized out> QtQA::App::TestRunner: new_hash = <value optimized out> QtQA::App::TestRunner: old_hash = 4294967295 QtQA::App::TestRunner: current_value = {s = 0x0, m = 0x0} QtQA::App::TestRunner: scope = 0x42746d68 QtQA::App::TestRunner: __PRETTY_FUNCTION__ = "_dl_lookup_symbol_x" QtQA::App::TestRunner: i = <value optimized out> QtQA::App::TestRunner: protected = 1842243024 QtQA::App::TestRunner: #2 0x4000d626 in _dl_fixup (l=<value optimized out>, QtQA::App::TestRunner: reloc_arg=<value optimized out>) at dl-runtime.c:118 QtQA::App::TestRunner: version = <value optimized out> QtQA::App::TestRunner: flags = 5 QtQA::App::TestRunner: reloc = <value optimized out> QtQA::App::TestRunner: sym = 0x428453a0 QtQA::App::TestRunner: result = <value optimized out> QtQA::App::TestRunner: value = <value optimized out> QtQA::App::TestRunner: __PRETTY_FUNCTION__ = "_dl_fixup" QtQA::App::TestRunner: #3 0x40013230 in _dl_runtime_resolve () at ../sysdeps/i386/dl-trampoline.S:37 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #4 0x42845a74 in __do_global_dtors_aux () from /lib/tls/i686/cmov/libdl.so.2 QtQA::App::TestRunner: No symbol table info available. QtQA::App::TestRunner: #5 0x428469a0 in _fini () from /lib/tls/i686/cmov/libdl.so.2 QtQA::App::TestRunner: No symbol table info available. QtQA::App::TestRunner: #6 0x4000e216 in _dl_fini () at dl-fini.c:248 QtQA::App::TestRunner: nloaded = <value optimized out> QtQA::App::TestRunner: i = 46 QtQA::App::TestRunner: l = 0x42746bb0 QtQA::App::TestRunner: ns = 0 QtQA::App::TestRunner: maps = <value optimized out> QtQA::App::TestRunner: maps_size = 64 QtQA::App::TestRunner: do_audit = 0 QtQA::App::TestRunner: __PRETTY_FUNCTION__ = "_dl_fini" QtQA::App::TestRunner: #7 0x426061bf in __run_exit_handlers (status=0, listp=0x4272d324, 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 = 0 QtQA::App::TestRunner: #8 0x4260622f in *__GI_exit (status=0) at exit.c:100 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #9 0x425edbde in __libc_start_main (main=0x8050609 <main>, argc=1, QtQA::App::TestRunner: ubp_av=0xbf9b2774, init=0x8057d80 <__libc_csu_init>, QtQA::App::TestRunner: fini=0x8057d70 <__libc_csu_fini>, rtld_fini=0x4000e030 <_dl_fini>, QtQA::App::TestRunner: stack_end=0xbf9b276c) at libc-start.c:258 QtQA::App::TestRunner: result = 32772 QtQA::App::TestRunner: unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1114820596, 0, 0, QtQA::App::TestRunner: -1080350904, 223725226, -2035330735}, mask_was_saved = 0}}, QtQA::App::TestRunner: priv = {pad = {0x0, 0x0, 0x1, 0x804ca40}, data = {prev = 0x0, QtQA::App::TestRunner: cleanup = 0x0, canceltype = 1}}} QtQA::App::TestRunner: not_first_call = <value optimized out> QtQA::App::TestRunner: #10 0x0804ca61 in _start () QtQA::App::TestRunner: No symbol table info available. QtQA::App::TestRunner: QtQA::App::TestRunner: Thread 2 (Thread 9643): QtQA::App::TestRunner: #0 0x4001d430 in __kernel_vsyscall () QtQA::App::TestRunner: No symbol table info available. QtQA::App::TestRunner: #1 0x4248e245 in sem_wait@@GLIBC_2.1 () QtQA::App::TestRunner: at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_wait.S:80 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #2 0x4084d436 in v8::internal::LinuxSemaphore::Wait (this=0x9ab97d8) QtQA::App::TestRunner: at ../3rdparty/v8/src/platform-linux.cc:754 QtQA::App::TestRunner: result = 1079003393 QtQA::App::TestRunner: #3 0x40744b5a in v8::internal::RuntimeProfiler::WaitForSomeIsolateToEnterJS () QtQA::App::TestRunner: at ../3rdparty/v8/src/runtime-profiler.cc:441 QtQA::App::TestRunner: old_state = 0 QtQA::App::TestRunner: #4 0x40744c86 in v8::internal::RuntimeProfilerRateLimiter::SuspendIfNecessary QtQA::App::TestRunner: (this=0x9b354a8) at ../3rdparty/v8/src/runtime-profiler.cc:480 QtQA::App::TestRunner: kNonJSTicksThreshold = 100 QtQA::App::TestRunner: #5 0x4084e92e in v8::internal::SignalSender::Run() () QtQA::App::TestRunner: from /home/qt/.pulse2-agent/data/recipes/129370968/base/qt/qtbase/lib/libQtDeclarative.so.5 QtQA::App::TestRunner: memcopy_function_mutex = 0x9ab9778 QtQA::App::TestRunner: memcopy_function = 0 QtQA::App::TestRunner: v8::internal::OS::LogFileOpenMode = 0x4095df42 "w" QtQA::App::TestRunner: #6 0x4084d13a in ThreadEntry (arg=0x9b35480) QtQA::App::TestRunner: at ../3rdparty/v8/src/platform-linux.cc:631 QtQA::App::TestRunner: thread = 0x9b35480 QtQA::App::TestRunner: #7 0x4248796e in start_thread (arg=0x44faab70) 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 = 0x44faab70 QtQA::App::TestRunner: now = <value optimized out> QtQA::App::TestRunner: unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1112113140, 0, 4001536, QtQA::App::TestRunner: 1157276792, -832616612, -1410720943}, 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: #8 0x426a4a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: QtQA::App::TestRunner: Thread 1 (Thread 9645): QtQA::App::TestRunner: #0 0x420912a6 in QBasicAtomicInt::operator int (this=0x18) QtQA::App::TestRunner: at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:85 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #1 0x421d7793 in QFreeList<void, QtTimerIdFreeListConstants>::next (this=0x0) QtQA::App::TestRunner: at ../../include/QtCore/5.0.0/QtCore/private/../../../../../src/corelib/tools/qfreelist_p.h:244 QtQA::App::TestRunner: block = 0 QtQA::App::TestRunner: id = 1111494644 QtQA::App::TestRunner: newid = 39 QtQA::App::TestRunner: at = 56 QtQA::App::TestRunner: v = 0x4270a040 QtQA::App::TestRunner: #2 0x421d7145 in QAbstractEventDispatcherPrivate::allocateTimerId () QtQA::App::TestRunner: at kernel/qabstracteventdispatcher.cpp:104 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #3 0x421d74d3 in QAbstractEventDispatcher::registerTimer (this=0x9c20488, QtQA::App::TestRunner: interval=134000, object=0x9c24550) QtQA::App::TestRunner: at kernel/qabstracteventdispatcher.cpp:256 QtQA::App::TestRunner: id = 1112897345 QtQA::App::TestRunner: #4 0x42201d29 in QObject::startTimer (this=0x9c24550, interval=134000) QtQA::App::TestRunner: at kernel/qobject.cpp:1495 QtQA::App::TestRunner: d = 0x9c20d28 QtQA::App::TestRunner: #5 0x421e5385 in QBasicTimer::start (this=0x9c24564, msec=134000, QtQA::App::TestRunner: obj=0x9c24550) at kernel/qbasictimer.cpp:120 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #6 0x41197a47 in QNetworkAccessCache::updateTimer (this=0x9c24550) QtQA::App::TestRunner: at access/qnetworkaccesscache.cpp:209 QtQA::App::TestRunner: interval = 134 QtQA::App::TestRunner: #7 0x41198246 in QNetworkAccessCache::releaseEntry (this=0x9c24550, key=...) QtQA::App::TestRunner: at access/qnetworkaccesscache.cpp:355 QtQA::App::TestRunner: it = {i = 0x9b246d8} QtQA::App::TestRunner: node = 0x9b246e4 QtQA::App::TestRunner: #8 0x411d2255 in ~QHttpThreadDelegate (this=0x9c3cb18, QtQA::App::TestRunner: __in_chrg=<value optimized out>) at access/qhttpthreaddelegate.cpp:187 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #9 0x422073ae in qDeleteInEventHandler (o=0x9c3cb18) QtQA::App::TestRunner: at kernel/qobject.cpp:4023 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #10 0x422013d0 in QObject::event (this=0x9c3cb18, e=0x9bca900) QtQA::App::TestRunner: at kernel/qobject.cpp:1096 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #11 0x4159574a in QApplicationPrivate::notify_helper (this=0x9ae4078, QtQA::App::TestRunner: receiver=0x9c3cb18, e=0x9bca900) at kernel/qapplication.cpp:4497 QtQA::App::TestRunner: consumed = 66 QtQA::App::TestRunner: #12 0x41593009 in QApplication::notify (this=0xbf9b26a8, receiver=0x9c3cb18, QtQA::App::TestRunner: e=0x9bca900) at kernel/qapplication.cpp:3879 QtQA::App::TestRunner: d = 0x9ae4078 QtQA::App::TestRunner: res = false QtQA::App::TestRunner: #13 0x421e87f0 in QCoreApplication::notifyInternal (this=0xbf9b26a8, QtQA::App::TestRunner: receiver=0x9c3cb18, event=0x9bca900) at kernel/qcoreapplication.cpp:839 QtQA::App::TestRunner: threadData = 0x9c21fe0 QtQA::App::TestRunner: returnValue = 9 QtQA::App::TestRunner: result = false QtQA::App::TestRunner: cbdata = {0x9c3cb18, 0x9bca900, 0x4594cf9f} QtQA::App::TestRunner: d = 0x9c3c870 QtQA::App::TestRunner: inc = {variable = @0x9c21ff0} QtQA::App::TestRunner: #14 0x4041d303 in QCoreApplication::sendEvent (receiver=0x9c3cb18, QtQA::App::TestRunner: event=0x9bca900) QtQA::App::TestRunner: at ../../../qtbase/include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #15 0x421e98f2 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, QtQA::App::TestRunner: event_type=0, data=0x9c21fe0) at kernel/qcoreapplication.cpp:1481 QtQA::App::TestRunner: e = {d = 0x9bca900} QtQA::App::TestRunner: pe = @0x9bdf418 QtQA::App::TestRunner: r = 0x9c3cb18 QtQA::App::TestRunner: unlocker = {m = @0x4594d018} QtQA::App::TestRunner: locker = {val = 163717132} QtQA::App::TestRunner: startOffset = 0 QtQA::App::TestRunner: i = @0x9c22004 QtQA::App::TestRunner: cleanup = {receiver = 0x0, event_type = 0, data = 0x9c21fe0, QtQA::App::TestRunner: exceptionCaught = true} QtQA::App::TestRunner: #16 0x421e93c1 in QCoreApplication::sendPostedEvents (receiver=0x0, QtQA::App::TestRunner: event_type=0) at kernel/qcoreapplication.cpp:1351 QtQA::App::TestRunner: data = 0x9c21fe0 QtQA::App::TestRunner: #17 0x4162cecc in QCoreApplication::sendPostedEvents () QtQA::App::TestRunner: at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:217 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #18 0x42223246 in postEventSourceDispatch (s=0x9c20390) QtQA::App::TestRunner: at kernel/qeventdispatcher_glib.cpp:279 QtQA::App::TestRunner: source = 0x9c20390 QtQA::App::TestRunner: #19 0x427915e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 QtQA::App::TestRunner: No symbol table info available. QtQA::App::TestRunner: #20 0x427952d8 in ?? () from /lib/libglib-2.0.so.0 QtQA::App::TestRunner: No symbol table info available. QtQA::App::TestRunner: #21 0x427954b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 QtQA::App::TestRunner: No symbol table info available. QtQA::App::TestRunner: #22 0x422242be in QEventDispatcherGlib::processEvents (this=0x9c20488, QtQA::App::TestRunner: flags=...) at kernel/qeventdispatcher_glib.cpp:424 QtQA::App::TestRunner: d = 0x9c20328 QtQA::App::TestRunner: canWait = true QtQA::App::TestRunner: savedFlags = {i = 0} QtQA::App::TestRunner: result = 148 QtQA::App::TestRunner: #23 0x421e572b in QEventLoop::processEvents (this=0x4594d2d8, flags=...) QtQA::App::TestRunner: at kernel/qeventloop.cpp:149 QtQA::App::TestRunner: d = 0x9c20498 QtQA::App::TestRunner: #24 0x421e5991 in QEventLoop::exec (this=0x4594d2d8, flags=...) QtQA::App::TestRunner: at kernel/qeventloop.cpp:225 QtQA::App::TestRunner: locker = {val = 163710456} QtQA::App::TestRunner: ref = {d = 0x9c20498, locker = @0x4594d298, exceptionCaught = true} QtQA::App::TestRunner: app = 0xbf9b26a8 QtQA::App::TestRunner: d = 0x9c20498 QtQA::App::TestRunner: #25 0x420b5219 in QThread::exec (this=0x9c22890) at thread/qthread.cpp:495 QtQA::App::TestRunner: d = 0x9c205b0 QtQA::App::TestRunner: locker = {val = 163710456} QtQA::App::TestRunner: eventLoop = {<QObject> = {_vptr.QObject = 0x42400348, QtQA::App::TestRunner: static staticMetaObject = {d = {superdata = 0x0, QtQA::App::TestRunner: stringdata = 0x422eed80 "QObject", data = 0x422eecc0, QtQA::App::TestRunner: extradata = 0x423fe8dc}}, static staticMetaObjectExtraData = { QtQA::App::TestRunner: objects = 0x0, QtQA::App::TestRunner: static_metacall = 0x422073b0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, d_ptr = {d = 0x9c20498}, QtQA::App::TestRunner: static staticQtMetaObject = {d = {superdata = 0x0, QtQA::App::TestRunner: stringdata = 0x42368a40 "Qt", data = 0x42366780, QtQA::App::TestRunner: extradata = 0x0}}}, static staticMetaObject = {d = warning: can't find linker symbol for virtual table for `QMetaObject::<anonymous struct>' value QtQA::App::TestRunner: { QtQA::App::TestRunner: superdata = 0x805f3ec, stringdata = 0x42370230 "QEventLoop", QtQA::App::TestRunner: data = 0x423701e0, extradata = 0x4240030c}}, QtQA::App::TestRunner: static staticMetaObjectExtraData = {objects = 0x0, QtQA::App::TestRunner: static_metacall = 0x42270838 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}} QtQA::App::TestRunner: returnCode = 1111494644 QtQA::App::TestRunner: #26 0x420b53ad in QThread::run (this=0x9c22890) at thread/qthread.cpp:562 QtQA::App::TestRunner: No locals. QtQA::App::TestRunner: #27 0x420b7933 in QThreadPrivate::start (arg=0x9c22890) 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 = 0x420b797a <QThreadPrivate::finish(void*)>, QtQA::App::TestRunner: __cancel_arg = 0x9c22890, __do_it = 1, __cancel_type = 0} QtQA::App::TestRunner: thr = 0x9c22890 QtQA::App::TestRunner: data = 0x9c21fe0 QtQA::App::TestRunner: #28 0x4248796e in start_thread (arg=0x4594db70) 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 = 0x4594db70 QtQA::App::TestRunner: now = <value optimized out> QtQA::App::TestRunner: unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1112113140, 0, 4001536, QtQA::App::TestRunner: 1167381624, 314525534, -1410720943}, 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: #29 0x426a4a4e 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... Information of screen 258: width.........: 800 height........: 600 depth.........: 24 white pixel...: ffffff black pixel...: 0 Running window manager: KWin ********* Start testing of tst_qdeclarativepixmapcache ********* Config: Using QTest library 5.0.0, Qt 5.0.0 PASS : tst_qdeclarativepixmapcache::initTestCase() PASS : tst_qdeclarativepixmapcache::single() PASS : tst_qdeclarativepixmapcache::parallel() PASS : tst_qdeclarativepixmapcache::massive() PASS : tst_qdeclarativepixmapcache::cancelcrash() PASS : tst_qdeclarativepixmapcache::shrinkcache() QWARN : tst_qdeclarativepixmapcache::networkCrash() QNetworkReplyImplPrivate::error: Internal problem, this method must only be called once. QWARN : tst_qdeclarativepixmapcache::networkCrash() QNetworkReplyImplPrivate::error: Internal problem, this method must only be called once. PASS : tst_qdeclarativepixmapcache::networkCrash() PASS : tst_qdeclarativepixmapcache::cleanupTestCase() Totals: 8 passed, 0 failed, 0 skipped ********* Finished testing of tst_qdeclarativepixmapcache ********* 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
- is replaced by
-
QTBUG-21102 tst_qnetworkreply sometimes crashes on exit (qpa, xcb)
- Closed