KDAB / Charm

The Cross-Platform Time Tracker
GNU General Public License v2.0
193 stars 70 forks source link

OS X: Crash when disconnecting screen #297

Open frankosterfeld opened 8 years ago

frankosterfeld commented 8 years ago

Diana gets a reproducible crash when disconnecting an external monitor from her Macbook:

Process: Charm [27413] Path: /Applications/Charm.app/Contents/MacOS/Charm Identifier: com.kdab Version: 1.11.1 (Charm 1.11.1) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Charm [27413] User ID: 501

Date/Time: 2016-10-04 19:10:00.575 +0200 OS Version: Mac OS X 10.11.6 (15G1004) Report Version: 11 Anonymous UUID: 137C00E3-BECF-414B-A5FA-6504F50DF878

Sleep/Wake UUID: 72B95432-DABA-48C7-A36B-A9C3A7EE5107

Time Awake Since Boot: 180000 seconds Time Since Wake: 35000 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: EXC_I386_GPFLT Exception Note: EXC_CORPSE_NOTIFY

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 org.qt-project.QtGui 0x000000010e7bade2 QPlatformScreen::screen() const + 18 1 org.qt-project.QtGui 0x000000010e7fb998 QScreen::virtualSiblings() const + 328 2 org.qt-project.QtGui 0x000000010e7d4f9e QWindowPrivate::setTopLevelScreen(QScreen, bool) + 494 3 org.qt-project.QtGui 0x000000010e7fb462 QScreen::~QScreen() + 514 4 org.qt-project.QtGui 0x000000010e7fb54e QScreen::~QScreen() + 14 5 org.qt-project.QtGui 0x000000010e7ba0eb QPlatformIntegration::destroyScreen(QPlatformScreen) + 43 6 libqcocoa.dylib 0x0000000111f1cc13 0x111f13000 + 39955 7 com.apple.CoreFoundation 0x00007fff97317bbc CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 12 8 com.apple.CoreFoundation 0x00007fff97317b4f _CFXRegistrationPost_block_invoke + 63 9 com.apple.CoreFoundation 0x00007fff97317ac7 _CFXRegistrationPost + 407 10 com.apple.CoreFoundation 0x00007fff97317832 _CFXNotificationPost_block_invoke + 50 11 com.apple.CoreFoundation 0x00007fff972d45e2 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1922 12 com.apple.CoreFoundation 0x00007fff972d3835 _CFXNotificationPost + 693 13 com.apple.Foundation 0x00007fff9d04817a -[NSNotificationCenter postNotificationName:object:userInfo:] + 66 14 com.apple.AppKit 0x00007fff8eed208b -[NSApplication _reactToScreenInvalidationImmediately:] + 383 15 com.apple.AppKit 0x00007fff8eed1edc 44-[NSApplication _reactToScreenInvalidation:]_block_invoke + 59 16 com.apple.CoreFoundation 0x00007fff973214ac __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 12 17 com.apple.CoreFoundation 0x00007fff97300d05 CFRunLoopDoBlocks + 341 18 com.apple.CoreFoundation 0x00007fff97300a6b CFRunLoopRun + 2347 19 com.apple.CoreFoundation 0x00007fff972ffed8 CFRunLoopRunSpecific + 296 20 com.apple.HIToolbox 0x00007fff88051935 RunCurrentEventLoopInMode + 235 21 com.apple.HIToolbox 0x00007fff8805176f ReceiveNextEventCommon + 432 22 com.apple.HIToolbox 0x00007fff880515af _BlockUntilNextEventMatchingListInModeWithFilter + 71 23 com.apple.AppKit 0x00007fff8eafedf6 _DPSNextEvent + 1067 24 com.apple.AppKit 0x00007fff8eafe226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 25 com.apple.AppKit 0x00007fff8eaf2d80 -[NSApplication run] + 682 26 libqcocoa.dylib 0x0000000111f3537f 0x111f13000 + 140159 27 org.qt-project.QtCore 0x000000010ef4e7a1 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 401 28 org.qt-project.QtCore 0x000000010ef52a65 QCoreApplication::exec() + 341 29 com.kdab 0x000000010db75988 main + 888 30 libdyld.dylib 0x00007fff9db935ad start + 1

frankosterfeld commented 8 years ago

Looks like a Qt bug, might be worth to test with newer Qt releases.