Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-51739

Windows: Pressing ctrl+alt+num 7,8 several times causes crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.1
    • 5.4.1
    • None
    • cf827f2167d7ca122541cc17307e2b8133ec3af4

    Description

      Keep hitting ctrl+alt num 7 for several times. Causes Qt application to crash with the following callstack. The nativeVirtualKey() appears to be > 255.

      > qwindows.dll!QWindowsKeyMapper::possibleKeys(const QKeyEvent * e) Line 1202 C++
      qwindows.dll!QWindowsContext::possibleKeys(const QKeyEvent * e) Line 403 C++
      qwindows.dll!QWindowsIntegration::possibleKeys(const QKeyEvent * e) Line 515 C++
      Qt5Gui.dll!QKeyMapperPrivate::possibleKeys(QKeyEvent * e) Line 133 C++
      Qt5Gui.dll!QKeyMapper::possibleKeys(QKeyEvent * e) Line 80 C++
      Qt5Gui.dll!QShortcutMap::createNewSequences(QKeyEvent * e, QVector<QKeySequence> & ksl) Line 550 C++
      Qt5Gui.dll!QShortcutMap::find(QKeyEvent * e) Line 450 C++
      Qt5Gui.dll!QShortcutMap::nextState(QKeyEvent * e) Line 380 C++
      Qt5Gui.dll!QShortcutMap::tryShortcutEvent(QObject * o, QKeyEvent * e) Line 339 C++
      Qt5Widgets.dll!QApplication::notify(QObject * receiver, QEvent * e) Line 3147 C++
      Qt5Core.dll!QCoreApplication::notifyInternal(QObject * receiver, QEvent * event) Line 935 C++
      Qt5Gui.dll!QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent * e) Line 1892 C++
      Qt5Gui.dll!QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent * e) Line 1676 C++
      Qt5Gui.dll!QWindowSystemInterface::sendWindowSystemEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 573 C++
      Qt5Core.dll!qt_internal_proc(HWND__ * hwnd, unsigned int message, unsigned __int64 wp, __int64 lp) Line 414 C++
      [External Code]
      Qt5Core.dll!QEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 807 C++
      qwindows.dll!QWindowsGuiEventDispatcher::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 74 C++
      Qt5Core.dll!QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 203 C++
      Qt5Core.dll!QCoreApplication::exec() Line 1188 C++

      In this related issue, https://bugreports.qt.io/browse/QTBUG-36061, there appears to be some code changes that early out. Any reason that is not in Qt 5.4.1?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            owolff Oliver Wolff
            thuan_firelight Thuan Seah
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes