GammaRay icon indicating copy to clipboard operation
GammaRay copied to clipboard

macOS do crash with Qt 5.8, tests wrongly say all pass

Open pasnox opened this issue 7 years ago • 4 comments

UpdateCTestConfiguration  from :/Volumes/Shared/Development/Builds/GammaRay-Desktop_Qt_5_8_0_clang_64bit-ReleaseDI/DartConfiguration.tcl
UpdateCTestConfiguration  from :/Volumes/Shared/Development/Builds/GammaRay-Desktop_Qt_5_8_0_clang_64bit-ReleaseDI/DartConfiguration.tcl
Test project /Volumes/Shared/Development/Builds/GammaRay-Desktop_Qt_5_8_0_clang_64bit-ReleaseDI
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 1
      Start  1: connectiontest-preload

1: Test command: /Volumes/Shared/Development/Builds/GammaRay-Desktop_Qt_5_8_0_clang_64bit-ReleaseDI/GammaRay.app/Contents/MacOS/gammaray "--inprocess" "-unittest" "-i" "preload" "/Volumes/Shared/Development/Builds/GammaRay-Desktop_Qt_5_8_0_clang_64bit-ReleaseDI/./GammaRay.app/Contents/MacOS/connectiontest"
1: Test timeout computed to be: 9.99988e+06
1: Detected ABI qt5_8-x86_64, using ABI qt5_8-x86_64.
1: 2017-01-23 12:12:56.228 connectiontest[8979:251834] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/tx/vpmx_ym13bd_tlwtvy_1z9fc0000gn/T/com.kdab.gammaray.savedState
1: ********* Start testing of TestMain *********
1: Config: Using QtTest library 5.8.0, Qt 5.8.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 7.0.2 (clang-700.1.81) (Apple))
1: PASS   : TestMain::initTestCase()
1: GammaRay server listening on: tcp://192.168.1.12:11732
1: QDEBUG : TestMain::run(delete) Using QMacStyle(0x7fbe5c0d1920, name = "macintosh") style
1: 2017-01-23 12:12:56.413 connectiontest[8979:251834] *** Assertion failure in -[NSBitmapImageRep initWithCGImage:], /Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1404.47/AppKit.subproj/NSBitmapImageRep.m:1289
1: QWARN  : TestMain::run(delete) Menu does not contain the item to be removed
1: 2017-01-23 12:12:56.415 connectiontest[8979:251834] Invalid parameter not satisfying: cgImage != NULL
1: 2017-01-23 12:12:56.416 connectiontest[8979:251834] (
1: 	0   CoreFoundation                      0x00007fff8c2c4452 __exceptionPreprocess + 178
1: 	1   libobjc.A.dylib                     0x00007fff86c16f7e objc_exception_throw + 48
1: 	2   CoreFoundation                      0x00007fff8c2c912a +[NSException raise:format:arguments:] + 106
1: 	3   Foundation                          0x00007fff935a1856 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198
1: 	4   AppKit                              0x00007fff942cb50b -[NSBitmapImageRep initWithCGImage:] + 149
1: 	5   QtGui                               0x000000010bf40abd _Z21qt_mac_create_nsimageRK5QIconi + 525
1: 	6   libqcocoa.dylib                     0x000000010ff40fda qt_plugin_instance + 154170
1: 	7   libqcocoa.dylib                     0x000000010ff3e197 qt_plugin_instance + 142327
1: 	8   QtWidgets                           0x000000010b80d58d _ZN5QMenu11actionEventEP12QActionEvent + 1213
1: 	9   QtWidgets                           0x000000010b6c9ef8 _ZN7QWidget5eventEP6QEvent + 1240
1: 	10  QtWidgets                           0x000000010b80b654 _ZN5QMenu5eventEP6QEvent + 1140
1: 	11  QtWidgets                           0x000000010b68958d _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 269
1: 	12  QtWidgets                           0x000000010b68bed2 _ZN12QApplication6notifyEP7QObjectP6QEvent + 5906
1: 	13  QtCore                              0x000000010c359544 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 164
1: 	14  QtWidgets                           0x000000010b6bdc61 _ZN7QWidget12insertActionEP7QActionS1_ + 353
1: 	15  gammaray_inprocessui.so             0x00000001137a3b60 _ZN8GammaRay13Ui_MainWindow7setupUiEP11QMainWindow + 3392
1: 	16  gammaray_inprocessui.so             0x00000001137a17b9 _ZN8GammaRay10MainWindowC2EP7QWidget + 1849
1: 	17  gammaray_inprocessui.so             0x00000001137a078e gammaray_create_inprocess_mainwindow + 30
1: 	18  libgammaray_core-qt5_8-x86_64.2.7.0.dylib 0x000000010cf960ac _ZN8GammaRay5Probe15showInProcessUiEv + 828
1: 	19  libgammaray_core-qt5_8-x86_64.2.7.0.dylib 0x000000010cf95abf _ZN8GammaRay5Probe11delayedInitEv + 1343
1: 	20  QtCore                              0x000000010c38338c _ZN7QObject5eventEP6QEvent + 156
1: 	21  QtWidgets                           0x000000010b68958d _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 269
1: 	22  QtWidgets                           0x000000010b68bed2 _ZN12QApplication6notifyEP7QObjectP6QEvent + 5906
1: 	23  QtCore                              0x000000010c359544 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 164
1: 	24  QtCore                              0x000000010c35a1c8 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData + 600
1: 	25  libqcocoa.dylib                     0x000000010ff39f5e qt_plugin_instance + 125374
1: 	26  libqcocoa.dylib                     0x000000010ff3a821 qt_plugin_instance + 127617
1: 	27  CoreFoundation                      0x00007fff8c2597e1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
1: 	28  CoreFoundation                      0x00007fff8c238f1c __CFRunLoopDoSources0 + 556
1: 	29  CoreFoundation                      0x00007fff8c23843f __CFRunLoopRun + 927
1: 	30  CoreFoundation                      0x00007fff8c237e38 CFRunLoopRunSpecific + 296
1: 	31  HIToolbox                           0x00007fff8e153935 RunCurrentEventLoopInMode + 235
1: 	32  HIToolbox                           0x00007fff8e153677 ReceiveNextEventCommon + 184
1: 	33  HIToolbox                           0x00007fff8e1535af _BlockUntilNextEventMatchingListInModeWithFilter + 71
1: 	34  AppKit                              0x00007fff94174df6 _DPSNextEvent + 1067
1: 	35  AppKit                              0x00007fff94174226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
1: 	36  AppKit                              0x00007fff94168d80 -[NSApplication run] + 682
1: 	37  libqcocoa.dylib                     0x000000010ff396bf qt_plugin_instance + 123167
1: 	38  QtCore                              0x000000010c355781 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 401
1: 	39  connectiontest                      0x000000010b65d471 _ZN10TestWaiter30startThreadsAndWaitForFinishedEv + 305
1: 	40  connectiontest                      0x000000010b65d915 _ZN8TestMain3runEv + 421
1: 	41  QtCore                              0x000000010c362e74 _ZNK11QMetaMethod6invokeEP7QObjectN2Qt14ConnectionTypeE22QGenericReturnArgument16QGenericArgumentS5_S5_S5_S5_S5_S5_S5_S5_S5_ + 1348
1: 	42  QtTest                              0x000000010bc3e198 _ZN5QTest16qtest_qParseArgsEiPPcb + 8104
1: 	43  QtTest                              0x000000010bc3ed84 _ZN5QTest16qtest_qParseArgsEiPPcb + 11156
1: 	44  QtTest                              0x000000010bc3fba4 _ZN5QTest15toPrettyUnicodeEPKti + 1476
1: 	45  QtTest                              0x000000010bc406b7 _ZN5QTest5qExecEP7QObjectiPPc + 1143
1: 	46  connectiontest                      0x000000010b65d680 _ZN8TestMain10startTestsEv + 16
1: 	47  QtCore                              0x000000010c38338c _ZN7QObject5eventEP6QEvent + 156
1: 	48  QtWidgets                           0x000000010b68958d _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 269
1: 	49  QtWidgets                           0x000000010b68bed2 _ZN12QApplication6notifyEP7QObjectP6QEvent + 5906
1: 	50  QtCore                              0x000000010c359544 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 164
1: 	51  QtCore                              0x000000010c35a1c8 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData + 600
1: 	52  libqcocoa.dylib                     0x000000010ff39f5e qt_plugin_instance + 125374
1: 	53  CoreFoundation                      0x00007fff8c258fc7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
1: 	54  CoreFoundation                      0x00007fff8c258f37 __CFRunLoopDoObservers + 391
1: 	55  CoreFoundation                      0x00007fff8c237e1f CFRunLoopRunSpecific + 271
1: 	56  HIToolbox                           0x00007fff8e153935 RunCurrentEventLoopInMode + 235
1: 	57  HIToolbox                           0x00007fff8e153677 ReceiveNextEventCommon + 184
1: 	58  HIToolbox                           0x00007fff8e1535af _BlockUntilNextEventMatchingListInModeWithFilter + 71
1: 	59  AppKit                              0x00007fff94174df6 _DPSNextEvent + 1067
1: 	60  AppKit                              0x00007fff94174226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
1: 	61  AppKit                              0x00007fff94168d80 -[NSApplication run] + 682
1: 	62  libqcocoa.dylib                     0x000000010ff396bf qt_plugin_instance + 123167
1: 	63  QtCore                              0x000000010c355781 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 401
1: 	64  QtCore                              0x000000010c359bb5 _ZN16QCoreApplication4execEv + 341
1: 	65  connectiontest                      0x000000010b65e508 main + 56
1: 	66  libdyld.dylib                       0x00007fff8f5045ad start + 1
1: )
1: PASS   : TestMain::run(delete)
1: PASS   : TestMain::run(deleteLater)
1: PASS   : TestMain::run(noEventLoop)
1: PASS   : TestMain::run(stack)
1: PASS   : TestMain::run(setParent)
1: PASS   : TestMain::threading()
1: PASS   : TestMain::cleanupTestCase()
1: Totals: 8 passed, 0 failed, 0 skipped, 0 blacklisted, 5244ms
1: ********* Finished testing of TestMain *********
 1/37 Test  #1: connectiontest-preload ...........   Passed    5.66 sec

(snip)

pasnox avatar Jan 23 '17 11:01 pasnox