[Interest] Qt Crash on Mac

coroberti coroberti at gmail.com
Mon Jan 2 11:57:59 CET 2023


Dear Tor Arne,
Thanks for replying.

This is not something that is easily reproducible, sorry.
The scenario is also not clear.

Therefore, the question was about its origin.

What could be the correct way to disable handling of the System
Shortcuts or filter them
not to propagate them to handling.


Kind regards,
Robert

On Mon, Jan 2, 2023 at 12:44 PM Tor Arne Vestbø <Tor.arne.Vestbo at qt.io> wrote:
>
> Please file a bug report with a test case and detailed version info, thanks!
>
> Cheers,
> Tor Arne
>
> > On 2 Jan 2023, at 06:59, coroberti <coroberti at gmail.com> wrote:
> >
> > 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
> > _______________________________________________
> > Interest mailing list
> > Interest at qt-project.org
> > https://lists.qt-project.org/listinfo/interest
>


More information about the Interest mailing list