Details
Description
The test crashes in a deterministic way:
/Users/qt/work/qt/qtbase/tests/auto/widgets/widgets/qopenglwidget/target_wrapper.sh ./tst_qopenglwidget.app/Contents/MacOS/tst_qopenglwidget -o /Users/qt/work/testresults/tests/auto/widgets/widgets/qopenglwidget963529775,xml -o -,txt ********* Start testing of tst_QOpenGLWidget ********* Config: Using QtTest library 5.7.1, Qt 5.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 7.0.2 (clang-700.1.81) (Apple)) PASS : tst_QOpenGLWidget::initTestCase() PASS : tst_QOpenGLWidget::create() PASS : tst_QOpenGLWidget::clearAndGrab() PASS : tst_QOpenGLWidget::clearAndResizeAndGrab() PASS : tst_QOpenGLWidget::createNonTopLevel() PASS : tst_QOpenGLWidget::painter() PASS : tst_QOpenGLWidget::reparentToAlreadyCreated() PASS : tst_QOpenGLWidget::reparentToNotYetCreated() PASS : tst_QOpenGLWidget::asViewport() ========= Received signal, dumping stack ============== (lldb) process attach --pid 40706 Process 40706 stopped * thread #1: tid = 0xdedca, 0x00007fff857ad4de libsystem_kernel.dylib`mach_msg_trap + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP frame #0: 0x00007fff857ad4de libsystem_kernel.dylib`mach_msg_trap + 10 libsystem_kernel.dylib`mach_msg_trap: -> 0x7fff857ad4de <+10>: retq 0x7fff857ad4df <+11>: nop libsystem_kernel.dylib`mach_msg_overwrite_trap: 0x7fff857ad4e0 <+0>: movq %rcx, %r10 0x7fff857ad4e3 <+3>: movl $0x1000020, %eax Executable module set to "/Users/qt/work/qt/qtbase/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.app/Contents/MacOS/tst_qopenglwidget". Architecture set to: x86_64-apple-macosx. (lldb) bt all * thread #1: tid = 0xdedca, 0x00007fff857ad4de libsystem_kernel.dylib`mach_msg_trap + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP * frame #0: 0x00007fff857ad4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007fff857ac64f libsystem_kernel.dylib`mach_msg + 55 frame #2: 0x00007fff859e2fc8 CoreGraphics`_CGSSynchronizeWindowBackingStore + 110 frame #3: 0x00007fff859a4576 CoreGraphics`CGSWindowSynchronizeBacking + 40 frame #4: 0x00007fff859a424f CoreGraphics`lock_window_backing + 910 frame #5: 0x00007fff85aa666f CoreGraphics`CGSLockWindowRectBits + 72 frame #6: 0x00007fff85aa67c1 CoreGraphics`CGSLockWindowBits + 34 frame #7: 0x00007fff917fa3f2 GLRendererFloat`glsAssignDrawable + 4024 frame #8: 0x00007fff917ebefe GLRendererFloat`gldAttachDrawable + 192 frame #9: 0x00007fff9313e7e8 GLEngine`gliAttachDrawableWithOptions + 257 frame #10: 0x00007fff84c5d870 OpenGL`___lldb_unnamed_function37$$OpenGL + 1144 frame #11: 0x00007fff84c62513 OpenGL`CGLUpdateContext + 291 frame #12: 0x00007fff8c3b4639 AppKit`-[NSOpenGLContext update] + 239 frame #13: 0x000000010fee6abf libqcocoa.dylib`QCocoaGLContext::makeCurrent(QPlatformSurface*) + 79 frame #14: 0x000000010d1ccaa2 QtGui`QOpenGLContext::makeCurrent(QSurface*) + 162 frame #15: 0x000000010d40791c QtGui`QPlatformBackingStore::composeAndFlush(QWindow*, QRegion const&, QPoint const&, QPlatformTextureList*, QOpenGLContext*, bool) + 92 frame #16: 0x000000010cb21214 QtWidgets`QWidgetBackingStore::qt_flush(QWidget*, QRegion const&, QBackingStore*, QWidget*, QPoint const&, QPlatformTextureList*, QWidgetBackingStore*) + 740 frame #17: 0x000000010cb21535 QtWidgets`QWidgetBackingStore::flush(QWidget*) + 197 frame #18: 0x000000010cb26241 QtWidgets`QWidgetBackingStore::doSync() + 5105 frame #19: 0x000000010cb58fbc QtWidgets`QWidget::event(QEvent*) + 2716 frame #20: 0x000000010cb188bd QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269 frame #21: 0x000000010cb1b202 QtWidgets`QApplication::notify(QObject*, QEvent*) + 5906 frame #22: 0x000000010d89d7c4 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164 frame #23: 0x000000010d89e3f8 QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 600 frame #24: 0x000000010febac2e libqcocoa.dylib`QCocoaEventDispatcherPrivate::processPostedEvents() + 190 frame #25: 0x000000010feba160 libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1568 frame #26: 0x000000010d89dcbd QtCore`QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>, int) + 93 frame #27: 0x000000010caf4599 tst_qopenglwidget`tst_QOpenGLWidget::requestUpdate() + 409 frame #28: 0x000000010d8a7194 QtCore`QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const + 1348 frame #29: 0x000000010dc8d818 QtTest`QTest::TestMethods::invokeTestOnData(int) const + 1160 frame #30: 0x000000010dc8e404 QtTest`QTest::TestMethods::invokeTest(int, char const*, QTest::WatchDog*) const + 788 frame #31: 0x000000010dc8f224 QtTest`QTest::TestMethods::invokeTests(QObject*) const + 1060 frame #32: 0x000000010dc8fd37 QtTest`QTest::qExec(QObject*, int, char**) + 1143 frame #33: 0x000000010caf605c tst_qopenglwidget`main + 124 frame #34: 0x00007fff8e7d05c9 libdyld.dylib`start + 1 thread #2: tid = 0xdedcb, 0x00007fff857b3232 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager' frame #0: 0x00007fff857b3232 libsystem_kernel.dylib`kevent64 + 10 frame #1: 0x00007fff8f187d91 libdispatch.dylib`_dispatch_mgr_invoke + 247 frame #2: 0x00007fff8f187a6a libdispatch.dylib`_dispatch_mgr_thread + 52 thread #3: tid = 0xdedd1, 0x00007fff857b291a libsystem_kernel.dylib`__wait4_nocancel + 10, name = 'QThread' frame #0: 0x00007fff857b291a libsystem_kernel.dylib`__wait4_nocancel + 10 frame #1: 0x00007fff8898321c libsystem_c.dylib`system + 459 frame #2: 0x000000010dc8f667 QtTest`stackTrace() + 151 frame #3: 0x000000010dc94dcf QtTest`QTest::WatchDog::run() + 79 frame #4: 0x000000010d6e0b9a QtCore`QThreadPrivate::start(void*) + 362 frame #5: 0x00007fff8d9a405a libsystem_pthread.dylib`_pthread_body + 131 frame #6: 0x00007fff8d9a3fd7 libsystem_pthread.dylib`_pthread_start + 176 frame #7: 0x00007fff8d9a13ed libsystem_pthread.dylib`thread_start + 13 thread #4: tid = 0xdede0, 0x00007fff857ad4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #0: 0x00007fff857ad4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007fff857ac64f libsystem_kernel.dylib`mach_msg + 55 frame #2: 0x00007fff8f57eeb4 CoreFoundation`__CFRunLoopServiceMachPort + 212 frame #3: 0x00007fff8f57e37b CoreFoundation`__CFRunLoopRun + 1371 frame #4: 0x00007fff8f57dbd8 CoreFoundation`CFRunLoopRunSpecific + 296 frame #5: 0x00007fff8c1da56b AppKit`_NSEventThread + 137 frame #6: 0x00007fff8d9a405a libsystem_pthread.dylib`_pthread_body + 131 frame #7: 0x00007fff8d9a3fd7 libsystem_pthread.dylib`_pthread_start + 176 frame #8: 0x00007fff8d9a13ed libsystem_pthread.dylib`thread_start + 13 (lldb) quit ========= End of stack trace ============== QFATAL : tst_QOpenGLWidget::requestUpdate() Test function timed out FAIL! : tst_QOpenGLWidget::requestUpdate() Received a fatal error. Loc: [Unknown file(0)] Totals: 9 passed, 1 failed, 0 skipped, 0 blacklisted, 305291ms ********* Finished testing of tst_QOpenGLWidget ********* make: *** [check] Abort trap: 6 agent:2017/01/11 12:45:10 build.go:202: Process finished with error: exit status 2 agent:2017/01/11 12:45:10 build.go:154: Error reading from stdout/err: exit status 2 agent:2017/01/11 12:45:30 build.go:272: [make check -j1] 900 1200 /Users/qt/work/qt/qtbase/tests/auto/widgets/widgets/qopenglwidget/target_wrapper.sh ./tst_qopenglwidget.app/Contents/MacOS/tst_qopenglwidget requestUpdate 2017-01-11 12:45:30.608 tst_qopenglwidget[40783:914081] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/f4/sg17js0s5gb3zkrcwf1zz70m0000gn/T/com.yourcompany.tst-qopenglwidget.savedState ********* Start testing of tst_QOpenGLWidget ********* Config: Using QtTest library 5.7.1, Qt 5.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 7.0.2 (clang-700.1.81) (Apple)) PASS : tst_QOpenGLWidget::initTestCase() ========= Received signal, dumping stack ============== (lldb) process attach --pid 40783 Process 40783 stopped * thread #1: tid = 0xdf2a1, 0x00007fff857ad4de libsystem_kernel.dylib`mach_msg_trap + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP frame #0: 0x00007fff857ad4de libsystem_kernel.dylib`mach_msg_trap + 10 libsystem_kernel.dylib`mach_msg_trap: -> 0x7fff857ad4de <+10>: retq 0x7fff857ad4df <+11>: nop libsystem_kernel.dylib`mach_msg_overwrite_trap: 0x7fff857ad4e0 <+0>: movq %rcx, %r10 0x7fff857ad4e3 <+3>: movl $0x1000020, %eax Executable module set to "/Users/qt/work/qt/qtbase/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.app/Contents/MacOS/tst_qopenglwidget". Architecture set to: x86_64-apple-macosx. (lldb) bt all * thread #1: tid = 0xdf2a1, 0x00007fff857ad4de libsystem_kernel.dylib`mach_msg_trap + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP * frame #0: 0x00007fff857ad4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007fff857ac64f libsystem_kernel.dylib`mach_msg + 55 frame #2: 0x00007fff859e2fc8 CoreGraphics`_CGSSynchronizeWindowBackingStore + 110 frame #3: 0x00007fff859a4576 CoreGraphics`CGSWindowSynchronizeBacking + 40 frame #4: 0x00007fff859a424f CoreGraphics`lock_window_backing + 910 frame #5: 0x00007fff85aa666f CoreGraphics`CGSLockWindowRectBits + 72 frame #6: 0x00007fff85aa67c1 CoreGraphics`CGSLockWindowBits + 34 frame #7: 0x00007fff917fa3f2 GLRendererFloat`glsAssignDrawable + 4024 frame #8: 0x00007fff917ebefe GLRendererFloat`gldAttachDrawable + 192 frame #9: 0x00007fff9313e7e8 GLEngine`gliAttachDrawableWithOptions + 257 frame #10: 0x00007fff84c5d870 OpenGL`___lldb_unnamed_function37$$OpenGL + 1144 frame #11: 0x00007fff84c62513 OpenGL`CGLUpdateContext + 291 frame #12: 0x00007fff8c3b4639 AppKit`-[NSOpenGLContext update] + 239 frame #13: 0x000000010e4e6abf libqcocoa.dylib`QCocoaGLContext::makeCurrent(QPlatformSurface*) + 79 frame #14: 0x000000010b7f6aa2 QtGui`QOpenGLContext::makeCurrent(QSurface*) + 162 frame #15: 0x000000010ba3191c QtGui`QPlatformBackingStore::composeAndFlush(QWindow*, QRegion const&, QPoint const&, QPlatformTextureList*, QOpenGLContext*, bool) + 92 frame #16: 0x000000010b149214 QtWidgets`QWidgetBackingStore::qt_flush(QWidget*, QRegion const&, QBackingStore*, QWidget*, QPoint const&, QPlatformTextureList*, QWidgetBackingStore*) + 740 frame #17: 0x000000010b149535 QtWidgets`QWidgetBackingStore::flush(QWidget*) + 197 frame #18: 0x000000010b14e241 QtWidgets`QWidgetBackingStore::doSync() + 5105 frame #19: 0x000000010b180fbc QtWidgets`QWidget::event(QEvent*) + 2716 frame #20: 0x000000010b1408bd QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269 frame #21: 0x000000010b143202 QtWidgets`QApplication::notify(QObject*, QEvent*) + 5906 frame #22: 0x000000010bec77c4 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164 frame #23: 0x000000010bec83f8 QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 600 frame #24: 0x000000010e4bac2e libqcocoa.dylib`QCocoaEventDispatcherPrivate::processPostedEvents() + 190 frame #25: 0x000000010e4ba160 libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1568 frame #26: 0x000000010bec7cbd QtCore`QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>, int) + 93 frame #27: 0x000000010b118599 tst_qopenglwidget`tst_QOpenGLWidget::requestUpdate() + 409 frame #28: 0x000000010bed1194 QtCore`QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const + 1348 frame #29: 0x000000010c2b2818 QtTest`QTest::TestMethods::invokeTestOnData(int) const + 1160 frame #30: 0x000000010c2b3404 QtTest`QTest::TestMethods::invokeTest(int, char const*, QTest::WatchDog*) const + 788 frame #31: 0x000000010c2b4224 QtTest`QTest::TestMethods::invokeTests(QObject*) const + 1060 frame #32: 0x000000010c2b4d37 QtTest`QTest::qExec(QObject*, int, char**) + 1143 frame #33: 0x000000010b11a05c tst_qopenglwidget`main + 124 frame #34: 0x00007fff8e7d05c9 libdyld.dylib`start + 1 thread #2: tid = 0xdf2a2, 0x00007fff857b3232 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager' frame #0: 0x00007fff857b3232 libsystem_kernel.dylib`kevent64 + 10 frame #1: 0x00007fff8f187d91 libdispatch.dylib`_dispatch_mgr_invoke + 247 frame #2: 0x00007fff8f187a6a libdispatch.dylib`_dispatch_mgr_thread + 52 thread #3: tid = 0xdf2d5, 0x00007fff857b291a libsystem_kernel.dylib`__wait4_nocancel + 10, name = 'QThread' frame #0: 0x00007fff857b291a libsystem_kernel.dylib`__wait4_nocancel + 10 frame #1: 0x00007fff8898321c libsystem_c.dylib`system + 459 frame #2: 0x000000010c2b4667 QtTest`stackTrace() + 151 frame #3: 0x000000010c2b9dcf QtTest`QTest::WatchDog::run() + 79 frame #4: 0x000000010bd0ab9a QtCore`QThreadPrivate::start(void*) + 362 frame #5: 0x00007fff8d9a405a libsystem_pthread.dylib`_pthread_body + 131 frame #6: 0x00007fff8d9a3fd7 libsystem_pthread.dylib`_pthread_start + 176 frame #7: 0x00007fff8d9a13ed libsystem_pthread.dylib`thread_start + 13 thread #4: tid = 0xdf2dd, 0x00007fff857ad4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #0: 0x00007fff857ad4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007fff857ac64f libsystem_kernel.dylib`mach_msg + 55 frame #2: 0x00007fff8f57eeb4 CoreFoundation`__CFRunLoopServiceMachPort + 212 frame #3: 0x00007fff8f57e37b CoreFoundation`__CFRunLoopRun + 1371 frame #4: 0x00007fff8f57dbd8 CoreFoundation`CFRunLoopRunSpecific + 296 frame #5: 0x00007fff8c1da56b AppKit`_NSEventThread + 137 frame #6: 0x00007fff8d9a405a libsystem_pthread.dylib`_pthread_body + 131 frame #7: 0x00007fff8d9a3fd7 libsystem_pthread.dylib`_pthread_start + 176 frame #8: 0x00007fff8d9a13ed libsystem_pthread.dylib`thread_start + 13 (lldb) quit ========= End of stack trace ============== QFATAL : tst_QOpenGLWidget::requestUpdate() Test function timed out FAIL! : tst_QOpenGLWidget::requestUpdate() Received a fatal error. Loc: [Unknown file(0)] Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 303154ms ********* Finished testing of tst_QOpenGLWidget ********* make: *** [check] Abort trap: 6 agent:2017/01/11 12:50:34 build.go:202: Process finished with error: exit status 2 agent:2017/01/11 12:50:34 agent.go:168: Test failed agent:2017/01/11 12:50:34 agent.go:123: ERROR building: exit status 2 agent:2017/01/11 12:50:34 build.go:154: Error reading from stdout/err: exit status 2
Attachments
Issue Links
- relates to
-
COIN-88 [OpenNebula][5.6] tst_qmlwebsockets_compat times out on macOS 10.10
- Closed
For Gerrit Dashboard: COIN-84 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
196519,2 | Disable tests on macOS 10.10 | 5.6 | qt/qt5 | Status: MERGED | +2 | 0 |