[Interest] Qt Crash on Mac

coroberti coroberti at gmail.com
Mon Jan 2 06:59:30 CET 2023


Hi,
There is a rare crash that happens on Mac platforms.

If somebody could advise on what happens and
whether it could be helpful to filter out the shortcut events.
What is the way to get rid of it?

Thanks in advance!
Robert

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libqcocoa.dylib                   0x0000000107eebe85 0x107ea5000 + 290437
1   libqcocoa.dylib                   0x0000000107eaf932 0x107ea5000 + 43314
2   org.qt-project.QtGui              0x00000001054cb767 0x105474000 + 358247
3   org.qt-project.QtGui              0x00000001054cb475
QKeyMapper::possibleKeys(QKeyEvent*) + 53
4   org.qt-project.QtGui              0x00000001054d6008
QShortcutMap::createNewSequences(QKeyEvent*, QVector<QKeySequence>&,
int) + 40
5   org.qt-project.QtGui              0x00000001054d5760
QShortcutMap::find(QKeyEvent*, int) + 64
6   org.qt-project.QtGui              0x00000001054d54d8
QShortcutMap::nextState(QKeyEvent*) + 88
7   org.qt-project.QtGui              0x00000001054d53f4
QShortcutMap::tryShortcut(QKeyEvent*) + 52
8   org.qt-project.QtGui              0x0000000105485f01
QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long,
int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int,
unsigned int, QString const&, bool, unsigned short) + 401
9   libqcocoa.dylib                   0x0000000107ec6965 0x107ea5000 + 137573
10  libqcocoa.dylib                   0x0000000107ec6a88 0x107ea5000 + 137864
11  com.apple.AppKit                  0x00007fff33f29ffd
-[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 6512
12  com.apple.AppKit                  0x00007fff33f28469
-[NSWindow(NSEventRouting) sendEvent:] + 349
13  libqcocoa.dylib                   0x0000000107eb4597 0x107ea5000 + 62871
14  libqcocoa.dylib                   0x0000000107eb3e34 0x107ea5000 + 60980
15  com.apple.AppKit                  0x00007fff33f2719e
-[NSApplication(NSEvent) sendEvent:] + 2826
16  libqcocoa.dylib                   0x0000000107ed003a 0x107ea5000 + 176186
17  com.apple.AppKit                  0x00007fff33d7394f
-[NSApplication run] + 707
18  libqcocoa.dylib                   0x0000000107ecc57d 0x107ea5000 + 161149
19  org.qt-project.QtCore             0x0000000105b749ee
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 398
20  org.qt-project.QtCore             0x0000000105b793a1
QCoreApplication::exec() + 369
21  com.Ghotit.RealWriter-10          0x00000001017d6e7f main + 2959
22  libdyld.dylib                     0x00007fff707becc9 start + 1


More information about the Interest mailing list