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

'gallery' example crashing

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 6.1.1
    • 6.1
    • QPA
    • None
    • macOS
    • 6faa33192c99f3432b28591b991918b47bd6fa09 (qt/qtbase/dev) 38c6e5ebbd0d4d9f956420a02fc17b952cf5818b (qt/qtbase/6.0) f3e861819d0303f7d69d17990f45177df65eaec7 (qt/qtbase/6.1)

    Description

      I have 'tab navigation' enabled. After starting the application and pressing the Tab key, I'm getting the app crashing with a stack trace:

      • thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
      • frame #0: 0x00007fff20328452 libsystem_kernel.dylib`__pthread_kill + 10
        frame #1: 0x00007fff20356610 libsystem_pthread.dylib`pthread_kill + 263
        frame #2: 0x00007fff202a9720 libsystem_c.dylib`abort + 120
        frame #3: 0x0000000103585c58 libQt6Core_debug.6.dylib`qt_message_fatal((null)=QtFatalMsg, context=0x00007ffeefbfdec8, message=0x00007ffeefbfde88) at qlogging.cpp:1892:5
        frame #4: 0x0000000103bd0671 libQt6Core_debug.6.dylib`QMessageLogger::fatal(this=0x00007ffeefbfdec8, msg="ASSERT: \"%s\" in file %s, line %d") const at qlogging.cpp:890:5
        frame #5: 0x0000000103bcf5fa libQt6Core_debug.6.dylib`qt_assert(assertion="rc <= 0xffff", file="qtbase/include/QtCore/../../src/corelib/text/qchar.h", line=114) at qglobal.cpp:3121:41
        frame #6: 0x000000010f614ef1 libqcocoa_debug.dylib`QChar::QChar(this=0x00007ffeefbfe008, rc=16777217) at qchar.h:114:67
        frame #7: 0x000000010f614e9b libqcocoa_debug.dylib`QChar::QChar(this=0x00007ffeefbfe008, rc=16777217) at qchar.h:114:106
        frame #8: 0x000000010f61397b libqcocoa_debug.dylib`QChar::QChar(this=0x00007ffeefbfe008, rc=16777217) at qchar.h:115:61
        frame #9: 0x000000010f63c399 libqcocoa_debug.dylib`QCocoaKeyMapper::possibleKeys(this=0x0000000105008650, event=0x00007ffeefbfe730) const at qcocoakeymapper.mm:520:50
        frame #10: 0x000000010f633335 libqcocoa_debug.dylib`QCocoaIntegration::possibleKeys(this=0x000000010560d440, event=0x00007ffeefbfe730) const at qcocoaintegration.mm:428:29
        frame #11: 0x000000010f633395 libqcocoa_debug.dylib`non-virtual thunk to QCocoaIntegration::possibleKeys(QKeyEvent const*) const at qcocoaintegration.mm:0
        frame #12: 0x00000001019ab6db libQt6Gui_debug.6.dylib`QKeyMapperPrivate::possibleKeys(this=0x00000001051d8e70, e=0x00007ffeefbfe730) at qkeymapper.cpp:131:72
        frame #13: 0x00000001019ab63b libQt6Gui_debug.6.dylib`QKeyMapper::possibleKeys(e=0x00007ffeefbfe730) at qkeymapper.cpp:86:34
        frame #14: 0x0000000101eb4f44 libQt6Gui_debug.6.dylib`QShortcutMap::createNewSequences(this=0x000000010510da18, e=0x00007ffeefbfe730, ksl=0x000000010510dd08, ignoredModifiers=0) at qshortcutmap.cpp:522:31
        frame #15: 0x0000000101eb42d5 libQt6Gui_debug.6.dylib`QShortcutMap::find(this=0x000000010510da18, e=0x00007ffeefbfe730, ignoredModifiers=0) at qshortcutmap.cpp:426:5
        frame #16: 0x0000000101eb382c libQt6Gui_debug.6.dylib`QShortcutMap::nextState(this=0x000000010510da18, e=0x00007ffeefbfe730) at qshortcutmap.cpp:370:14
        frame #17: 0x0000000101eb36da libQt6Gui_debug.6.dylib`QShortcutMap::tryShortcut(this=0x000000010510da18, e=0x00007ffeefbfe730) at qshortcutmap.cpp:326:13
        frame #18: 0x0000000101a07b9e libQt6Gui_debug.6.dylib`QWindowSystemInterface::handleShortcutEvent(window=0x0000000105619f40, timestamp=406037, keyCode=16777217, modifiers=(i = 0), nativeScanCode=0, nativeVirtualKey=48, nativeModifiers=256, text=0x00007ffeefbfe9f0, autorepeat=false, count=1) at qwindowsysteminterface.cpp:497:24
        frame #19: 0x000000010f6cb260 libqcocoa_debug.dylib`-[QNSView(self=0x000000010561a830, _cmd="handleKeyEvent:eventType:", nsevent=0x00000001168f7470, eventType=6) handleKeyEvent:eventType:] at qnsview_keys.mm:100:31
        frame #20: 0x000000010f6cb9c9 libqcocoa_debug.dylib`-[QNSView(self=0x000000010561a830, _cmd="keyDown:", nsevent=0x00000001168f7470) keyDown:] at qnsview_keys.mm:142:27
        frame #21: 0x00007fff22deff58 AppKit`-[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 6482
        frame #22: 0x00007fff22dee3ea AppKit`-[NSWindow(NSEventRouting) sendEvent:] + 347
        frame #23: 0x000000010f6d8ae0 libqcocoa_debug.dylib`-[QNSPanel sendEvent:](self=0x00000001056233a0, _cmd="sendEvent:", theEvent=0x00000001168f7470) at qnswindow.mm:352:5
        frame #24: 0x00007fff22ded16d AppKit`-[NSApplication(NSEvent) sendEvent:] + 2809
        frame #25: 0x000000010f5f820c libqcocoa_debug.dylib`-[QNSApplication sendEvent:](self=0x00000001050589e0, _cmd="sendEvent:", event=0x00000001168f7470) at qcocoaapplication.mm:176:9
        frame #26: 0x00007fff230c536e AppKit`-[NSApplication _handleEvent:] + 65
        frame #27: 0x00007fff22c55b2f AppKit`-[NSApplication run] + 623
        frame #28: 0x000000010f619576 libqcocoa_debug.dylib`QCocoaEventDispatcher::processEvents(this=0x00000001052113e0, flags=(i = 36)) at qcocoaeventdispatcher.mm:430:17
        frame #29: 0x00000001036bcbf0 libQt6Core_debug.6.dylib`QEventLoop::processEvents(this=0x00007ffeefbff740, flags=(i = 36)) at qeventloop.cpp:139:55
        frame #30: 0x00000001036bce33 libQt6Core_debug.6.dylib`QEventLoop::exec(this=0x00007ffeefbff740, flags=(i = 0)) at qeventloop.cpp:232:9
        frame #31: 0x00000001036a6c8c libQt6Core_debug.6.dylib`QCoreApplication::exec() at qcoreapplication.cpp:1355:32
        frame #32: 0x00000001000068e1 gallery`main(argc=1, argv=0x00007ffeefbff840) at main.cpp:60:12
        frame #33: 0x00007fff20371621 libdyld.dylib`start + 1

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            tpochep Timur Pocheptsov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes