Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.6.3, 5.9.6
-
None
Description
App is crashing opening the app when compiled with xcode 10. I am providing two crash dumps from the main thread.
In both of them, the issue seems to be the same, somehow related with QSystemTrayIcon
Crash 1
Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Signal: Illegal instruction: 4 Termination Reason: Namespace SIGNAL, Code 0x4 Terminating Process: exc handler [63779] Application Specific Information: Crashing on exception: -[__NSCFType item]: unrecognized selector sent to instance 0x6000025e1050 Application Specific Backtrace 1: 0 CoreFoundation 0x00007fff429e443d __exceptionPreprocess + 256 1 libobjc.A.dylib 0x00007fff6e8f5720 objc_exception_throw + 48 2 CoreFoundation 0x00007fff42a61255 -[NSObject(NSObject) __retain_OA] + 0 3 CoreFoundation 0x00007fff42983ad0 ___forwarding___ + 1486 4 CoreFoundation 0x00007fff42983478 _CF_forwarding_prep_0 + 120 5 libqcocoa.dylib 0x000000010fd2bfaa _ZN20QCocoaSystemTrayIcon11showMessageERK7QStringS2_RK5QIconN23QPlatformSystemTrayIcon11MessageIconEi + 7018 6 AppKit 0x00007fff3ffac205 _NSViewDrawRect + 66 7 AppKit 0x00007fff3ffaaabd -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:stopAtLayerBackedViews:] + 1545 8 AppKit 0x00007fff3ffaa4a2 __46-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke + 192 9 AppKit 0x00007fff3ffaa201 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 1769 10 QuartzCore 0x00007fff4d8beaaf CABackingStoreUpdate_ + 577 11 QuartzCore 0x00007fff4d920325 ___ZN2CA5Layer8display_Ev_block_invoke + 53 12 QuartzCore 0x00007fff4d8bdc90 -[CALayer _display] + 1839 13 AppKit 0x00007fff3ffa975a _NSBackingLayerDisplay + 531 14 AppKit 0x00007fff3ff8dcc9 -[_NSViewBackingLayer display] + 811 15 QuartzCore 0x00007fff4d8bd1bc _ZN2CA5Layer17display_if_neededEPNS_11TransactionE + 634 16 QuartzCore 0x00007fff4d8ab447 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 319 17 QuartzCore 0x00007fff4d8aad20 _ZN2CA11Transaction6commitEv + 576 18 AppKit 0x00007fff3ff848f5 __65+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayRefresh]_block_invoke + 274 19 CoreFoundation 0x00007fff4298895d __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 20 CoreFoundation 0x00007fff42988892 __CFRunLoopDoObservers + 452 21 CoreFoundation 0x00007fff4292a3c5 __CFRunLoopRun + 1166 22 CoreFoundation 0x00007fff42929ce4 CFRunLoopRunSpecific + 463 23 HIToolbox 0x00007fff41bc3895 RunCurrentEventLoopInMode + 293 24 HIToolbox 0x00007fff41bc34d4 ReceiveNextEventCommon + 371 25 HIToolbox 0x00007fff41bc3348 _BlockUntilNextEventMatchingListInModeWithFilter + 64 26 AppKit 0x00007fff3fe8095b _DPSNextEvent + 997 27 AppKit 0x00007fff3fe7f6fa -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362 28 AppKit 0x00007fff3fe7975d -[NSApplication run] + 699 29 libqcocoa.dylib 0x000000010fd0356f qt_plugin_instance + 112015 30 QtCore 0x000000010c25bd91 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 401 31 QtCore 0x000000010c260035 _ZN16QCoreApplication4execEv + 341
Crash 2
System Integrity Protection: disabledSystem Integrity Protection: disabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV)Exception Codes: KERN_INVALID_ADDRESS at 0x0000000900000018Exception Note: EXC_CORPSE_NOTIFY Termination Signal: Segmentation fault: 11Termination Reason: Namespace SIGNAL, Code 0xbTerminating Process: exc handler [63768] VM Regions Near 0x900000018: CoreAnimation 000000011b0c8000-000000011ba29000 [ 9604K] rw-/rwx SM=PRV --> MALLOC_NANO 0000600000000000-0000600000eb8000 [ 14.7M] rw-/rwx SM=COW Application Specific Information:objc_msgSend() selector name: item Thread 0 Crashed:: Dispatch queue: com.apple.main-thread0 libobjc.A.dylib 0x00007fff6e8e6a1d objc_msgSend + 291 libqcocoa.dylib 0x0000000109951faa -[QNSImageView drawRect:] + 422 com.apple.AppKit 0x00007fff3ffac205 _NSViewDrawRect + 663 com.apple.AppKit 0x00007fff3ffaaabd -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:stopAtLayerBackedViews:] + 15454 com.apple.AppKit 0x00007fff3ffaa4a2 __46-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke + 1925 com.apple.AppKit 0x00007fff3ffaa201 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 17696 com.apple.QuartzCore 0x00007fff4d8beaaf CABackingStoreUpdate_ + 5777 com.apple.QuartzCore 0x00007fff4d920325 invocation function for block in CA::Layer::display_() + 538 com.apple.QuartzCore 0x00007fff4d8bdc90 -[CALayer _display] + 18399 com.apple.AppKit 0x00007fff3ffa975a _NSBackingLayerDisplay + 53110 com.apple.AppKit 0x00007fff3ff8dcc9 -[_NSViewBackingLayer display] + 81111 com.apple.QuartzCore 0x00007fff4d8bd1bc CA::Layer::display_if_needed(CA::Transaction*) + 63412 com.apple.QuartzCore 0x00007fff4d8ab447 CA::Context::commit_transaction(CA::Transaction*) + 31913 com.apple.QuartzCore 0x00007fff4d8aad20 CA::Transaction::commit() + 57614 com.apple.AppKit 0x00007fff3ff848f5 __65+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayRefresh]_block_invoke + 27415 com.apple.CoreFoundation 0x00007fff4298895d __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 2316 com.apple.CoreFoundation 0x00007fff42988892 __CFRunLoopDoObservers + 45217 com.apple.CoreFoundation 0x00007fff4292a3c5 __CFRunLoopRun + 116618 com.apple.CoreFoundation 0x00007fff42929ce4 CFRunLoopRunSpecific + 46319 com.apple.HIToolbox 0x00007fff41bc3895 RunCurrentEventLoopInMode + 29320 com.apple.HIToolbox 0x00007fff41bc34d4 ReceiveNextEventCommon + 37121 com.apple.HIToolbox 0x00007fff41bc3348 _BlockUntilNextEventMatchingListInModeWithFilter + 6422 com.apple.AppKit 0x00007fff3fe8095b _DPSNextEvent + 99723 com.apple.AppKit 0x00007fff3fe7f6fa -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 136224 com.apple.AppKit 0x00007fff3fe7975d -[NSApplication run] + 69925 libqcocoa.dylib 0x000000010992956f QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 214326 org.qt-project.QtCore 0x0000000105da0d91 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 40127 org.qt-project.QtCore 0x0000000105da5035 QCoreApplication::exec() + 341