Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.3, 5.8.0 RC, 5.9.0 Beta 4
-
macOS clang
Ubuntu 16.04
Description
qt-enterprise-mac-x64-clang-5.8.0-rc_668.dmg
Install with default options, launch QtCreator, open quickcontrols/controls/texteditor and compile. Try to launch the app, fails with following error:
Starting /Users/qt/Qt5.8.0_ent_668/Examples/Qt-5.8/quickcontrols/controls/build-texteditor-Desktop_Qt_5_8_0_clang_64bit-Release/texteditor.app/Contents/MacOS/texteditor... 2016-12-19 10:15:25.782 texteditor[25575:870426] *** Assertion failure in -[NSBitmapImageRep initWithCGImage:], /Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1404.47/AppKit.subproj/NSBitmapImageRep.m:1289 2016-12-19 10:15:25.783 texteditor[25575:870426] An uncaught exception was raised 2016-12-19 10:15:25.783 texteditor[25575:870426] Invalid parameter not satisfying: cgImage != NULL 2016-12-19 10:15:25.783 texteditor[25575:870426] ( 0 CoreFoundation 0x00007fff99c47452 __exceptionPreprocess + 178 1 libobjc.A.dylib 0x00007fff8f77cf7e objc_exception_throw + 48 2 CoreFoundation 0x00007fff99c4c12a +[NSException raise:format:arguments:] + 106 3 Foundation 0x00007fff92aae856 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198 4 AppKit 0x00007fff906c650b -[NSBitmapImageRep initWithCGImage:] + 149 5 QtGui 0x000000010d018add _Z21qt_mac_create_nsimageRK5QIconi + 525 6 libqcocoa.dylib 0x0000000110540fda qt_plugin_instance + 154170 7 libqcocoa.dylib 0x000000011053ea9b qt_plugin_instance + 144635 8 libqtquickcontrolsplugin.dylib 0x00000001143c05da libqtquickcontrolsplugin.dylib + 87514 9 libqtquickcontrolsplugin.dylib 0x00000001143c0cf1 libqtquickcontrolsplugin.dylib + 89329 10 libqtquickcontrolsplugin.dylib 0x00000001143c0f79 libqtquickcontrolsplugin.dylib + 89977 11 QtQml 0x000000010c54dd09 _ZN11QQmlBinding9setTargetEP7QObjectRK16QQmlPropertyDataPS3_ + 3113 12 QtQml 0x000000010c54d82b _ZN11QQmlBinding9setTargetEP7QObjectRK16QQmlPropertyDataPS3_ + 1867 13 QtQml 0x000000010c54bd1d _ZN11QQmlBinding6updateE6QFlagsIN16QQmlPropertyData9WriteFlagEE + 461 14 QtQml 0x000000010c55d8d9 _ZN27QQmlFileSelectorInterceptor9interceptERK4QUrlN26QQmlAbstractUrlInterceptor8DataTypeE + 29897 15 QtQml 0x000000010c4da439 _ZN20QQmlComponentPrivate8completeEP17QQmlEnginePrivatePNS_17ConstructionStateE + 73 16 QtQml 0x000000010c4d85e9 _ZN20QQmlComponentPrivate14completeCreateEv + 41 17 QtQml 0x000000010c4d9db2 _ZN13QQmlComponent6createEP11QQmlContext + 114 18 QtQml 0x000000010c54fbff _ZN28QQmlApplicationEnginePrivate13_q_finishLoadEP7QObject + 111 19 QtQml 0x000000010c5502de _ZN21QQmlApplicationEngineC1ERK4QUrlP7QObject + 174 20 texteditor 0x000000010bf69cc5 main + 117 21 libdyld.dylib 0x00007fff99b315ad start + 1 22 ??? 0x0000000000000001 0x0 + 1 ) 2016-12-19 10:15:25.784 texteditor[25575:870426] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: cgImage != NULL' *** First throw call stack: ( 0 CoreFoundation 0x00007fff99c47452 __exceptionPreprocess + 178 1 libobjc.A.dylib 0x00007fff8f77cf7e objc_exception_throw + 48 2 CoreFoundation 0x00007fff99c4c12a +[NSException raise:format:arguments:] + 106 3 Foundation 0x00007fff92aae856 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198 4 AppKit 0x00007fff906c650b -[NSBitmapImageRep initWithCGImage:] + 149 5 QtGui 0x000000010d018add _Z21qt_mac_create_nsimageRK5QIconi + 525 6 libqcocoa.dylib 0x0000000110540fda qt_plugin_instance + 154170 7 libqcocoa.dylib 0x000000011053ea9b qt_plugin_instance + 144635 8 libqtquickcontrolsplugin.dylib 0x00000001143c05da libqtquickcontrolsplugin.dylib + 87514 9 libqtquickcontrolsplugin.dylib 0x00000001143c0cf1 libqtquickcontrolsplugin.dylib + 89329 10 libqtquickcontrolsplugin.dylib 0x00000001143c0f79 libqtquickcontrolsplugin.dylib + 89977 11 QtQml 0x000000010c54dd09 _ZN11QQmlBinding9setTargetEP7QObjectRK16QQmlPropertyDataPS3_ + 3113 12 QtQml 0x000000010c54d82b _ZN11QQmlBinding9setTargetEP7QObjectRK16QQmlPropertyDataPS3_ + 1867 13 QtQml 0x000000010c54bd1d _ZN11QQmlBinding6updateE6QFlagsIN16QQmlPropertyData9WriteFlagEE + 461 14 QtQml 0x000000010c55d8d9 _ZN27QQmlFileSelectorInterceptor9interceptERK4QUrlN26QQmlAbstractUrlInterceptor8DataTypeE + 29897 15 QtQml 0x000000010c4da439 _ZN20QQmlComponentPrivate8completeEP17QQmlEnginePrivatePNS_17ConstructionStateE + 73 16 QtQml 0x000000010c4d85e9 _ZN20QQmlComponentPrivate14completeCreateEv + 41 17 QtQml 0x000000010c4d9db2 _ZN13QQmlComponent6createEP11QQmlContext + 114 18 QtQml 0x000000010c54fbff _ZN28QQmlApplicationEnginePrivate13_q_finishLoadEP7QObject + 111 19 QtQml 0x000000010c5502de _ZN21QQmlApplicationEngineC1ERK4QUrlP7QObject + 174 20 texteditor 0x000000010bf69cc5 main + 117 21 libdyld.dylib 0x00007fff99b315ad start + 1 22 ??? 0x0000000000000001 0x0 + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException The program has unexpectedly finished. /Users/qt/Qt5.8.0_ent_668/Examples/Qt-5.8/quickcontrols/controls/build-texteditor-Desktop_Qt_5_8_0_clang_64bit-Release/texteditor.app/Contents/MacOS/texteditor crashed.