<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[macOS - QT application crash after going out of sleep]]></title><description><![CDATA[<p dir="auto">I'm running QT 6.2.2 on macOS version 12.5.1 (Monterey)<br />
Sometimes when my mac is coming out of sleep the QT application crash (see below crash trace).<br />
Is that a known bug in QT ?<br />
Any workaround for it ?<br />
Thanks,<br />
Tal</p>
<p dir="auto">crash trace:<br />
Crashed Thread:        0  Dispatch queue: com.apple.main-thread</p>
<p dir="auto">Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)<br />
Exception Codes:       0x0000000000000001, 0x0000000000000000<br />
Exception Note:        EXC_CORPSE_NOTIFY</p>
<p dir="auto">Termination Reason:    Namespace SIGNAL, Code 4 Illegal instruction: 4<br />
Terminating Process:   exc handler [37643]</p>
<p dir="auto">Application Specific Information:<br />
*** CFRetain() called with NULL ***</p>
<p dir="auto">Thread 0 Crashed::  Dispatch queue: com.apple.main-thread<br />
0   CoreFoundation                	    0x7ff803ba8f5f CFRetain.cold.1 + 14<br />
1   CoreFoundation                	    0x7ff8039f421e CFRetain + 113<br />
2   libqcocoa.dylib               	       0x10c900dea 0x10c8f5000 + 48618<br />
3   QtGui                         	       0x10b7f4379 QBackingStore::beginPaint(QRegion const&amp;) + 377<br />
4   QtWidgets                     	       0x10c33f0c9 0x10c2c8000 + 487625<br />
5   QtWidgets                     	       0x10c33d6c4 0x10c2c8000 + 480964<br />
6   QtWidgets                     	       0x10c34771f 0x10c2c8000 + 522015<br />
7   QtWidgets                     	       0x10c344cf7 0x10c2c8000 + 511223<br />
8   QtWidgets                     	       0x10c2d5177 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 247<br />
9   QtWidgets                     	       0x10c2d62f5 QApplication::notify(QObject*, QEvent*) + 501<br />
10  QtCore                        	       0x10d4278f9 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 169<br />
11  QtGui                         	       0x10b79b3ee QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) + 398<br />
12  QtGui                         	       0x10b7e178a bool QWindowSystemInterfacePrivate::handleWindowSystemEvent<a target="_blank" rel="noopener noreferrer nofollow ugc">QWindowSystemInterface::SynchronousDelivery</a>(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 186<br />
13  QtGui                         	       0x10b7e8309 bool QWindowSystemInterface::handleExposeEvent<a target="_blank" rel="noopener noreferrer nofollow ugc">QWindowSystemInterface::SynchronousDelivery</a>(QWindow*, QRegion const&amp;) + 185<br />
14  libqcocoa.dylib               	       0x10c93ece2 0x10c8f5000 + 302306<br />
15  libqcocoa.dylib               	       0x10c95985b 0x10c8f5000 + 411739<br />
16  AppKit                        	    0x7ff806602e05 -[_NSBackingLayer display] + 462<br />
17  AppKit                        	    0x7ff8065783ad -[_NSViewBackingLayer display] + 554<br />
18  QuartzCore                    	    0x7ff80ab3ea07 CA::Layer::display_if_needed(CA::Transaction*) + 873<br />
19  QuartzCore                    	    0x7ff80ac962aa CA::Context::commit_transaction(CA::Transaction*, double, double*) + 640<br />
20  QuartzCore                    	    0x7ff80ab1fe6d CA::Transaction::commit() + 777<br />
21  AppKit                        	    0x7ff806be5ebc -[NSMenuWindowManager flush] + 715<br />
22  HIToolbox                     	    0x7ff80c7273ba FlushWindowObject(WindowData*, void**, unsigned char) + 947<br />
23  HIToolbox                     	    0x7ff80c76781d _FlushWindow + 82<br />
24  HIToolbox                     	    0x7ff80c7677b2 HIWindowFlush + 22<br />
25  HIToolbox                     	    0x7ff80c78132d ShowMenuWindow + 368<br />
26  HIToolbox                     	    0x7ff80c8a0963 ShowAndCacheMenu(MenuSelectData*, MenuData*, unsigned char, Rect const*, __CFArray*, unsigned char) + 106<br />
27  HIToolbox                     	    0x7ff80c89c6eb PopUpMenuSelectCore(MenuData*, Point, double, Point, unsigned short, unsigned int, unsigned int, Rect const*, unsigned short, unsigned int, Rect const*, Rect const*, __CFDictionary const*, __CFString const*, OpaqueMenuRef**, unsigned short*) + 1400<br />
28  HIToolbox                     	    0x7ff80c89bc98 _HandlePopUpMenuSelection8(OpaqueMenuRef*, OpaqueEventRef*, unsigned int, Point, unsigned short, unsigned int, unsigned int, Rect const*, unsigned short, Rect const*, Rect const*, __CFDictionary const*, __CFString const*, OpaqueMenuRef**, unsigned short*) + 410<br />
29  HIToolbox                     	    0x7ff80c76fdd5 _HandlePopUpMenuSelectionWithDictionary + 329<br />
30  AppKit                        	    0x7ff80693fa7a SLMPerformPopUpCarbonMenu + 2217<br />
31  AppKit                        	    0x7ff8067e4969 _NSSLMPopUpCarbonMenu3 + 1125<br />
32  AppKit                        	    0x7ff8067e445e -[NSCarbonMenuImpl popUpMenu:atLocation:width:forView:withSelectedItem:withFont:withFlags:withOptions:] + 462<br />
33  AppKit                        	    0x7ff806bf0a89 +[NSStatusBarButtonCell popupStatusBarMenu:ofBar:inRect:ofView:withEvent:] + 388<br />
34  AppKit                        	    0x7ff806bf3c05 -[NSStatusItem popUpStatusItemMenu:] + 139<br />
35  AppKit                        	    0x7ff8066ac0ce -[NSApplication(NSResponder) sendAction:to:from:] + 288<br />
36  AppKit                        	    0x7ff8066abf74 -[NSControl sendAction:to:] + 86<br />
37  AppKit                        	    0x7ff806b137d8 __NSControlTrackMouse_block_invoke + 60<br />
38  AppKit                        	    0x7ff8066a87a5 NSControlTrackMouse + 843<br />
39  AppKit                        	    0x7ff8066a8436 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 121<br />
40  AppKit                        	    0x7ff8066a8306 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 679<br />
41  AppKit                        	    0x7ff806beff09 -[NSStatusBarButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 321<br />
42  AppKit                        	    0x7ff8066a76d6 -[NSControl mouseDown:] + 678<br />
43  AppKit                        	    0x7ff8066a5bc1 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4859<br />
44  AppKit                        	    0x7ff806619d7e -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2582<br />
45  AppKit                        	    0x7ff80661914e -[NSWindow(NSEventRouting) sendEvent:] + 352<br />
46  AppKit                        	    0x7ff806bf22ff -[NSStatusBarWindow sendEvent:] + 618<br />
47  AppKit                        	    0x7ff806617524 -[NSApplication(NSEvent) sendEvent:] + 352<br />
48  libqcocoa.dylib               	       0x10c8fdc0a 0x10c8f5000 + 35850<br />
49  AppKit                        	    0x7ff8068d018b -[NSApplication _handleEvent:] + 65<br />
50  AppKit                        	    0x7ff806498d3e -[NSApplication run] + 623<br />
51  libqcocoa.dylib               	       0x10c90b008 0x10c8f5000 + 90120<br />
52  QtCore                        	       0x10d430be6 QEventLoop::exec(QFlags<a target="_blank" rel="noopener noreferrer nofollow ugc">QEventLoop::ProcessEventsFlag</a>) + 470<br />
53  QtCore                        	       0x10d427f22 QCoreApplication::exec() + 130<br />
54  AZTClient                     	       0x10b42e3f6 main + 3062<br />
55  dyld                          	       0x111d2c52e start + 462</p>
]]></description><link>https://forum.qt.io/topic/139400/macos-qt-application-crash-after-going-out-of-sleep</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Nov 2026 11:01:03 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/139400.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Sep 2022 11:33:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to macOS - QT application crash after going out of sleep on Tue, 20 Sep 2022 07:37:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/taloz">@<bdi>TalOz</bdi></a> You could try to reopen that ticket and provide your description.</p>
]]></description><link>https://forum.qt.io/post/729407</link><guid isPermaLink="true">https://forum.qt.io/post/729407</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Tue, 20 Sep 2022 07:37:54 GMT</pubDate></item><item><title><![CDATA[Reply to macOS - QT application crash after going out of sleep on Mon, 19 Sep 2022 15:11:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> I'm using QT version 6.2.2</p>
]]></description><link>https://forum.qt.io/post/729322</link><guid isPermaLink="true">https://forum.qt.io/post/729322</guid><dc:creator><![CDATA[TalOz]]></dc:creator><pubDate>Mon, 19 Sep 2022 15:11:38 GMT</pubDate></item><item><title><![CDATA[Reply to macOS - QT application crash after going out of sleep on Mon, 19 Sep 2022 08:02:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/taloz">@<bdi>TalOz</bdi></a> What Qt version do you use? In that ticket you can see: "Fix Version/s: 5.14.0"</p>
]]></description><link>https://forum.qt.io/post/729246</link><guid isPermaLink="true">https://forum.qt.io/post/729246</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Mon, 19 Sep 2022 08:02:09 GMT</pubDate></item><item><title><![CDATA[Reply to macOS - QT application crash after going out of sleep on Mon, 19 Sep 2022 06:53:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> said in <a href="/post/729235">macOS - QT application crash after going out of sleep</a>:</p>
<blockquote>
<p dir="auto"><a href="https://bugreports.qt.io/secure/Dashboard.jspa" target="_blank" rel="noopener noreferrer nofollow ugc">https://bugreports.qt.io/secure/Dashboard.jspa</a></p>
</blockquote>
<p dir="auto">I found this ticket QTBUG-79944 where the comment in that ticket has same trace as mine.<br />
Unfortunately this ticket is closed.<br />
I will open a ticket for that issue</p>
]]></description><link>https://forum.qt.io/post/729242</link><guid isPermaLink="true">https://forum.qt.io/post/729242</guid><dc:creator><![CDATA[TalOz]]></dc:creator><pubDate>Mon, 19 Sep 2022 06:53:33 GMT</pubDate></item><item><title><![CDATA[Reply to macOS - QT application crash after going out of sleep on Mon, 19 Sep 2022 05:38:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/taloz">@<bdi>TalOz</bdi></a> said in <a href="/post/729161">macOS - QT application crash after going out of sleep</a>:</p>
<blockquote>
<p dir="auto">Is that a known bug in QT ?<br />
Any workaround for it ?</p>
</blockquote>
<p dir="auto">Did you check Qt bug tracker (<a href="https://bugreports.qt.io/secure/Dashboard.jspa" target="_blank" rel="noopener noreferrer nofollow ugc">https://bugreports.qt.io/secure/Dashboard.jspa</a>)?</p>
]]></description><link>https://forum.qt.io/post/729235</link><guid isPermaLink="true">https://forum.qt.io/post/729235</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Mon, 19 Sep 2022 05:38:25 GMT</pubDate></item></channel></rss>