Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-58520

tst_QMdiArea::setViewport() Received a fatal error on OS X

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.6.3, 5.7.1, 5.9.0 Alpha, 5.9
    • Fix Version/s: None
    • Labels:
    • Environment:
      OS X 10.9, OS X 10.10, OS X 10.11
    • Platform/s:
      macOS

      Description

      The test has crashed 15 times in the CI within the last week.

      ========= Received signal, dumping stack ==============
      (lldb) process attach --pid 22161
      Process 22161 stopped
      * thread #1: tid = 0x108d5b, 0x00007fff8cc7591a libsystem_kernel.dylib`__wait4_nocancel + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
          frame #0: 0x00007fff8cc7591a libsystem_kernel.dylib`__wait4_nocancel + 10
      libsystem_kernel.dylib`__wait4_nocancel:
      ->  0x7fff8cc7591a <+10>: jae    0x7fff8cc75924            ; <+20>
          0x7fff8cc7591c <+12>: movq   %rax, %rdi
          0x7fff8cc7591f <+15>: jmp    0x7fff8cc70c53            ; cerror_nocancel
          0x7fff8cc75924 <+20>: retq   
      
      Executable module set to "/Users/qt/work/qt/qtbase/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea".
      Architecture set to: x86_64-apple-macosx.
      (lldb) bt all
      * thread #1: tid = 0x108d5b, 0x00007fff8cc7591a libsystem_kernel.dylib`__wait4_nocancel + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
        * frame #0: 0x00007fff8cc7591a libsystem_kernel.dylib`__wait4_nocancel + 10
          frame #1: 0x00007fff8fe4621c libsystem_c.dylib`system + 459
          frame #2: 0x000000010bcf6264 libQt5Test.5.dylib`___lldb_unnamed_function15$$libQt5Test.5.dylib + 164
          frame #3: 0x000000010bcf6175 libQt5Test.5.dylib`___lldb_unnamed_function14$$libQt5Test.5.dylib + 197
          frame #4: 0x00007fff9899df1a libsystem_platform.dylib`_sigtramp + 26
          frame #5: 0x000000010b278d85 libQt5Widgets.5.dylib`QWidget::setGeometry(QRect const&) + 21
          frame #6: 0x000000010b403b8d libQt5Widgets.5.dylib`QAbstractScrollAreaPrivate::layoutChildren() + 2733
          frame #7: 0x000000010b404bb6 libQt5Widgets.5.dylib`QAbstractScrollArea::event(QEvent*) + 966
          frame #8: 0x000000010b3a2c17 libQt5Widgets.5.dylib`QMdiArea::event(QEvent*) + 727
          frame #9: 0x000000010b23b03d libQt5Widgets.5.dylib`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
          frame #10: 0x000000010b23d942 libQt5Widgets.5.dylib`QApplication::notify(QObject*, QEvent*) + 5906
          frame #11: 0x000000010bf1a954 libQt5Core.5.dylib`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
          frame #12: 0x000000010b29cd98 libQt5Widgets.5.dylib`___lldb_unnamed_function544$$libQt5Widgets.5.dylib + 120
          frame #13: 0x000000010b29b424 libQt5Widgets.5.dylib`___lldb_unnamed_function535$$libQt5Widgets.5.dylib + 1060
          frame #14: 0x000000010b23b03d libQt5Widgets.5.dylib`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
          frame #15: 0x000000010b23d942 libQt5Widgets.5.dylib`QApplication::notify(QObject*, QEvent*) + 5906
          frame #16: 0x000000010bf1a954 libQt5Core.5.dylib`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
          frame #17: 0x000000010b819813 libQt5Gui.5.dylib`QGuiApplicationPrivate::processGeometryChangeEvent(QWindowSystemInterfacePrivate::GeometryChangeEvent*) + 339
          frame #18: 0x000000010b7ff23b libQt5Gui.5.dylib`QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 155
          frame #19: 0x000000010b7fb5cc libQt5Gui.5.dylib`QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 572
          frame #20: 0x000000010e3ef0a5 libqcocoa.dylib`___lldb_unnamed_function356$$libqcocoa.dylib + 2165
          frame #21: 0x000000010bf243a4 libQt5Core.5.dylib`QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const + 1348
          frame #22: 0x000000010e3eb72c libqcocoa.dylib`___lldb_unnamed_function314$$libqcocoa.dylib + 572
          frame #23: 0x00007fff8f40639c Foundation`-[__NSObserver _doit:] + 307
          frame #24: 0x00007fff96aef45c CoreFoundation`__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
          frame #25: 0x00007fff969df634 CoreFoundation`_CFXNotificationPost + 3140
          frame #26: 0x00007fff935a37a9 AppKit`-[NSView _postFrameChangeNotification] + 422
          frame #27: 0x00007fff935a2fab AppKit`-[NSView setFrameSize:] + 2059
          frame #28: 0x00007fff93617311 AppKit`-[NSWindow _oldPlaceWindow:] + 1603
          frame #29: 0x00007fff9361651d AppKit`-[NSWindow _setFrameCommon:display:stashSize:] + 2562
          frame #30: 0x00007fff9371170e AppKit`__25-[NSWindow setStyleMask:]_block_invoke + 2142
          frame #31: 0x00007fff93630bdb AppKit`NSPerformWithScreenUpdatesDisabled + 65
          frame #32: 0x00007fff93710e22 AppKit`-[NSWindow setStyleMask:] + 222
          frame #33: 0x00007fff938a5f90 AppKit`-[NSWindow _resignFullScreenWindowAndExitFullScreen:] + 148
          frame #34: 0x00007fff93e3653d AppKit`-[_NSWindowFullScreenTransition failedToEnterFullScreenWithAnimation:whichIsKitAnimation:] + 64
          frame #35: 0x00007fff938981c6 AppKit`__89-[_NSFullScreenTransition _performEnterFullScreenModeAnimating:activating:customWindows:]_block_invoke384 + 1808
          frame #36: 0x00007fff941f84fc libxpc.dylib`_xpc_connection_reply_callout + 47
          frame #37: 0x00007fff941f8488 libxpc.dylib`_xpc_connection_call_reply + 36
          frame #38: 0x00007fff96647c13 libdispatch.dylib`_dispatch_client_callout + 8
          frame #39: 0x00007fff96653cbf libdispatch.dylib`_dispatch_main_queue_callback_4CF + 861
          frame #40: 0x00007fff96a863f9 CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
          frame #41: 0x00007fff96a4168f CoreFoundation`__CFRunLoopRun + 2159
          frame #42: 0x00007fff96a40bd8 CoreFoundation`CFRunLoopRunSpecific + 296
          frame #43: 0x00007fff9a31756f HIToolbox`RunCurrentEventLoopInMode + 235
          frame #44: 0x00007fff9a3172ea HIToolbox`ReceiveNextEventCommon + 431
          frame #45: 0x00007fff9a31712b HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
          frame #46: 0x00007fff935d58ab AppKit`_DPSNextEvent + 978
          frame #47: 0x00007fff935d4e58 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
          frame #48: 0x000000010e3f9b6a libqcocoa.dylib`___lldb_unnamed_function516$$libqcocoa.dylib + 1050
          frame #49: 0x000000010b19a24f tst_qmdiarea`tst_QMdiArea::setViewport() + 1039
          frame #50: 0x000000010bf243a4 libQt5Core.5.dylib`QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const + 1348
          frame #51: 0x000000010bcf42f8 libQt5Test.5.dylib`___lldb_unnamed_function8$$libQt5Test.5.dylib + 1160
          frame #52: 0x000000010bcf4ee4 libQt5Test.5.dylib`___lldb_unnamed_function9$$libQt5Test.5.dylib + 788
          frame #53: 0x000000010bcf5d14 libQt5Test.5.dylib`___lldb_unnamed_function12$$libQt5Test.5.dylib + 1076
          frame #54: 0x000000010bcf6937 libQt5Test.5.dylib`QTest::qExec(QObject*, int, char**) + 1143
          frame #55: 0x000000010b1ad2b9 tst_qmdiarea`main + 137
          frame #56: 0x00007fff95c935c9 libdyld.dylib`start + 1
          frame #57: 0x00007fff95c935c9 libdyld.dylib`start + 1
      
        thread #2: tid = 0x108d5c, 0x00007fff8cc76232 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
          frame #0: 0x00007fff8cc76232 libsystem_kernel.dylib`kevent64 + 10
          frame #1: 0x00007fff9664ad91 libdispatch.dylib`_dispatch_mgr_invoke + 247
          frame #2: 0x00007fff9664aa6a libdispatch.dylib`_dispatch_mgr_thread + 52
      
        thread #3: tid = 0x108d5d, 0x00007fff8cc7594a libsystem_kernel.dylib`__workq_kernreturn + 10
          frame #0: 0x00007fff8cc7594a libsystem_kernel.dylib`__workq_kernreturn + 10
          frame #1: 0x00007fff94e66b29 libsystem_pthread.dylib`_pthread_wqthread + 869
          frame #2: 0x00007fff94e643dd libsystem_pthread.dylib`start_wqthread + 13
      
        thread #4: tid = 0x108d5e, 0x00007fff8cc7594a libsystem_kernel.dylib`__workq_kernreturn + 10
          frame #0: 0x00007fff8cc7594a libsystem_kernel.dylib`__workq_kernreturn + 10
          frame #1: 0x00007fff94e66b29 libsystem_pthread.dylib`_pthread_wqthread + 869
          frame #2: 0x00007fff94e643dd libsystem_pthread.dylib`start_wqthread + 13
      
        thread #5: tid = 0x108d6f, 0x00007fff8cc7594a libsystem_kernel.dylib`__workq_kernreturn + 10
          frame #0: 0x00007fff8cc7594a libsystem_kernel.dylib`__workq_kernreturn + 10
          frame #1: 0x00007fff94e66b29 libsystem_pthread.dylib`_pthread_wqthread + 869
          frame #2: 0x00007fff94e643dd libsystem_pthread.dylib`start_wqthread + 13
      
        thread #6: tid = 0x108d70, 0x00007fff8cc75136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'QThread'
          frame #0: 0x00007fff8cc75136 libsystem_kernel.dylib`__psynch_cvwait + 10
          frame #1: 0x00007fff94e67560 libsystem_pthread.dylib`_pthread_cond_wait + 693
          frame #2: 0x000000010bd59aef libQt5Core.5.dylib`___lldb_unnamed_function279$$libQt5Core.5.dylib + 287
          frame #3: 0x000000010bd5992b libQt5Core.5.dylib`___lldb_unnamed_function278$$libQt5Core.5.dylib + 43
          frame #4: 0x000000010bd597f2 libQt5Core.5.dylib`QWaitCondition::wait(QMutex*, unsigned long) + 162
          frame #5: 0x000000010bcfba86 libQt5Test.5.dylib`___lldb_unnamed_function33$$libQt5Test.5.dylib + 70
          frame #6: 0x000000010bd5830a libQt5Core.5.dylib`___lldb_unnamed_function269$$libQt5Core.5.dylib + 362
          frame #7: 0x00007fff94e6705a libsystem_pthread.dylib`_pthread_body + 131
          frame #8: 0x00007fff94e66fd7 libsystem_pthread.dylib`_pthread_start + 176
          frame #9: 0x00007fff94e643ed libsystem_pthread.dylib`thread_start + 13
      
        thread #7: tid = 0x108d72, 0x00007fff8cc704de libsystem_kernel.dylib`mach_msg_trap + 10
          frame #0: 0x00007fff8cc704de libsystem_kernel.dylib`mach_msg_trap + 10
          frame #1: 0x00007fff8cc6f64f libsystem_kernel.dylib`mach_msg + 55
          frame #2: 0x00007fff96a41eb4 CoreFoundation`__CFRunLoopServiceMachPort + 212
          frame #3: 0x00007fff96a4137b CoreFoundation`__CFRunLoopRun + 1371
          frame #4: 0x00007fff96a40bd8 CoreFoundation`CFRunLoopRunSpecific + 296
          frame #5: 0x00007fff9369d56b AppKit`_NSEventThread + 137
          frame #6: 0x00007fff94e6705a libsystem_pthread.dylib`_pthread_body + 131
          frame #7: 0x00007fff94e66fd7 libsystem_pthread.dylib`_pthread_start + 176
          frame #8: 0x00007fff94e643ed libsystem_pthread.dylib`thread_start + 13
      
        thread #8: tid = 0x108da4, 0x00007fff8cc7594a libsystem_kernel.dylib`__workq_kernreturn + 10
          frame #0: 0x00007fff8cc7594a libsystem_kernel.dylib`__workq_kernreturn + 10
          frame #1: 0x00007fff94e66b29 libsystem_pthread.dylib`_pthread_wqthread + 869
          frame #2: 0x00007fff94e643dd libsystem_pthread.dylib`start_wqthread + 13
      (lldb) quit
      ========= End of stack trace ==============
      QFATAL : tst_QMdiArea::setViewport() Received signal 11
               Function time: 1286ms Total time: 14177ms
      FAIL!  : tst_QMdiArea::setViewport() Received a fatal error.
         Loc: [Unknown file(0)]
      Totals: 24 passed, 1 failed, 1 skipped, 0 blacklisted, 23189ms
      ********* Finished testing of tst_QMdiArea *********
      make: *** [check] Abort trap: 6
      
      agent:2017/01/24 14:21:11 build.go:200: Process finished with error: exit status 2
      agent:2017/01/24 14:21:11 build.go:152: Error reading from stdout/err: exit status 2
      agent:2017/01/24 14:21:31 build.go:270: [make check -j1] 900 1200
      /Users/qt/work/qt/qtbase/tests/auto/widgets/widgets/qmdiarea/target_wrapper.sh  ./tst_qmdiarea setViewport
      ********* Start testing of tst_QMdiArea *********
      Config: Using QtTest library 5.9.0, Qt 5.9.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 7.0.2 (clang-700.1.81) (Apple))
      PASS   : tst_QMdiArea::initTestCase()
      PASS   : tst_QMdiArea::setViewport()
      PASS   : tst_QMdiArea::cleanupTestCase()
      Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 878ms
      ********* Finished testing of tst_QMdiArea *********
      

      build logs: http://testresults.qt.io/logs/qt/qtbase/394e4d6814f19db0ba8273641ebb5c1241d178b4/OSXOSX_10_10x86_64OSXOSX_10_10x86_64Clangqtci-osx-10.10-x86_64-10f9f6Release_NoFramework/85d6b000f945a84bc84a4f01f53ac65bc05cbe86/testrun_1485254209/testlog.txt.gz

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            vestbo Tor Arne Vestbø
            Reporter:
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes