Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.13.2
-
None
Description
The Qt application is crashing when the user leaves it unattended for 10-20 minutes. The stacktrace contains no application code, just Qt's main loop and then macOS libraries:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libqcocoa.dylib 0x0000000109be3d47 0x109bd8000 + 48455 1 libqcocoa.dylib 0x0000000109be777e 0x109bd8000 + 63358 2 com.apple.SkyLight 0x00007fff5d5a3886 displayConfigFinalizedProc + 259 3 com.apple.SkyLight 0x00007fff5d5992c6 CGSPostLocalNotification + 418 4 com.apple.SkyLight 0x00007fff5d598eb0 (anonymous namespace)::notify_datagram_handler(unsigned int, CGSDatagramType, void*, unsigned long, void*) + 93 5 com.apple.SkyLight 0x00007fff5d59cfb4 CGSDatagramReadStream::dispatch_next_main_queue_datagram() + 242 6 com.apple.SkyLight 0x00007fff5d7cf97d invocation function for block in CGSDatagramReadStream::dispatch_main_queue_datagrams_async(dispatch_queue_s*, CGSDatagramReadStream*) + 54 7 libdispatch.dylib 0x00007fff66895583 _dispatch_call_block_and_release + 12 8 libdispatch.dylib 0x00007fff6689650e _dispatch_client_callout + 8 9 libdispatch.dylib 0x00007fff668a1bc4 _dispatch_main_queue_callback_4CF + 1105 10 com.apple.CoreFoundation 0x00007fff2f40d460 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 11 com.apple.CoreFoundation 0x00007fff2f40cbaa __CFRunLoopRun + 2370 12 com.apple.CoreFoundation 0x00007fff2f40bfe3 CFRunLoopRunSpecific + 499 13 com.apple.HIToolbox 0x00007fff2df9367d RunCurrentEventLoopInMode + 292 14 com.apple.HIToolbox 0x00007fff2df933bd ReceiveNextEventCommon + 600 15 com.apple.HIToolbox 0x00007fff2df93147 _BlockUntilNextEventMatchingListInModeWithFilter + 64 16 com.apple.AppKit 0x00007fff2c618864 _DPSNextEvent + 990 17 com.apple.AppKit 0x00007fff2c6175d4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352 18 com.apple.AppKit 0x00007fff2c611d76 -[NSApplication run] + 658 19 libqcocoa.dylib 0x0000000109c0c013 0x109bd8000 + 213011 20 org.qt-project.QtCore 0x0000000107b91fef QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431 21 org.qt-project.QtCore 0x0000000107b97182 QCoreApplication::exec() + 130 22 com.yourcompany.Mudlet 0x000000010536fca4 main + 11188 23 libdyld.dylib 0x00007fff668e62e5 start + 1
This is on macOS 10.15.1. Original report is at https://github.com/Mudlet/Mudlet/issues/3243 and https://www.mudlet.org/wp-content/files/Mudlet-4.3.0.dmg is the application, with source code available at https://github.com/Mudlet/Mudlet/tree/release-4.3.