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

Segfault in QAccessibleTableInterface::cellAt

    XMLWordPrintable

Details

    • Linux/Wayland, Linux/X11
    • 64348e717 (tqtc/lts-5.15)

    Description

      Steps to reproduce taken from https://gitlab.gnome.org/GNOME/orca/-/issues/510:

      1. Launch Orca
      2. download the build in github: https://github.com/BearWare/TeamTalk5/actions/runs/9286135899/artifacts/1548459889
      3. launch teamtalk using run.sh and answer the first questions.
      4. on the teamtalk main interface, press f2
      5. in the "saved host" list, try browse the servers and go to the end of the list

      I am able to reproduce this.

      In the terminal where I launched teamtalk, I see these warnings and failure:

      {{WARNING QAccessibleTable::indexOfChild Fix my children... QAccessible::Client ""
      WARNING QAccessibleTable::indexOfChild Fix my children... QAccessible::Client ""
      WARNING QAccessibleTable::indexOfChild Fix my children... QAccessible::Client ""
      WARNING QAccessibleTable::indexOfChild Fix my children... QAccessible::Client ""
      QAccessibleTable::cellAt: invalid index:  QModelIndex(-1,-1,0x0,QObject(0x0))  for  MyTableView(0x56286ec812a0, name="serverTableView")}}

      Stack trace:

      AtSpiAdaptor::tableInterface (this=this@entry=0x55863355c5c0, interface=interface@entry=0x558633588bf8, function=..., message=..., connection=...) at atspiadaptor.cpp:2443
      {{2443 QAccessibleTableCellInterface *cell = interface->tableInterface()>cellAt(row, col)>tableCellInterface(); }}
      (gdb) bt
      #0 AtSpiAdaptor::tableInterface (this=this@entry=0x55863355c5c0, interface=interface@entry=0x558633588bf8, function=..., message=..., connection=...) at atspiadaptor.cpp:2443
      #1 0x00007f5fdc23e9e1 in AtSpiAdaptor::handleMessage (this=this@entry=0x55863355c5c0, message=..., connection=...) at atspiadaptor.cpp:1315
      #2 0x00007f5fe365dfe1 in QDBusConnectionPrivate::activateObject (this=0x7f5fc8014840, node=..., msg=..., pathStartPos=27) at qdbusintegrator.cpp:1464
      #3 0x00007f5fe3660814 in QDBusActivateObjectEvent::placeMetaCall (this=0x55863359af20) at qdbusintegrator.cpp:1623
      #4 0x00007f5fe08e0d13 in QObject::event (this=0x55863355c5c0, e=0x55863359af20) at kernel/qobject.cpp:1347
      #5 0x00007f5fe398cbc5 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55863355c5c0, e=0x55863359af20) at kernel/qapplication.cpp:3640
      #6 0x00007f5fe08b4688 in QCoreApplication::notifyInternal2 (receiver=0x55863355c5c0, event=0x55863359af20) at kernel/qcoreapplication.cpp:1064
      #7 0x00007f5fe08b48b2 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
      #8 0x00007f5fe08b7c0c in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x558632f3fdf0) at kernel/qcoreapplication.cpp:1821
      #9 0x00007f5fe08b7ebd in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680
      #10 0x00007f5fe0908adf in postEventSourceDispatch (s=0x5586330eea90) at kernel/qeventdispatcher_glib.cpp:277
      #11 0x00007f5fdef1b6ac in g_main_dispatch (context=0x7f5fc8000ed0) at ../glib/gmain.c:3344
      #12 g_main_context_dispatch_unlocked (context=0x7f5fc8000ed0) at ../glib/gmain.c:4152
      #13 0x00007f5fdef7c708 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f5fc8000ed0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
      at ../glib/gmain.c:4217
      #14 0x00007f5fdef1cb23 in g_main_context_iteration (context=0x7f5fc8000ed0, may_block=1) at ../glib/gmain.c:4282
      #15 0x00007f5fe09085cd in QEventDispatcherGlib::processEvents (this=0x558633165770, flags=...) at kernel/qeventdispatcher_glib.cpp:423
      #16 0x00007f5fe08b303b in QEventLoop::exec (this=this@entry=0x7ffc4ab82340, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
      #17 0x00007f5fe3bad81b in QDialog::exec (this=0x7ffc4ab82470) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
      #18 0x00005586327f063b in ??? ()
      #19 0x00007f5fe08e8dbe in QtPrivate::QSlotObjectBase::call (this=0x558633249880, r=0x7ffc4ab82ec0, a=0x7ffc4ab82760) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
      #20 doActivate<false> (sender=0x5586330e81d0, signal_index=4, argv=0x7ffc4ab82760) at kernel/qobject.cpp:3925
      #21 0x00007f5fe08e2a67 in QMetaObject::activate
      (sender=sender@entry=0x5586330e81d0, m=m@entry=0x7f5fe3eb41c0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffc4ab82760)
      at kernel/qobject.cpp:3985
      #22 0x00007f5fe3985684 in QAction::triggered (this=this@entry=0x5586330e81d0, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
      #23 0x00007f5fe39884ac in QAction::activate (this=0x5586330e81d0, event=<optimized out>) at kernel/qaction.cpp:1161
      #24 0x00007f5fe39890ad in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1086
      #25 QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1075
      #26 0x00007f5fe398cbc5 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5586330e81d0, e=0x7ffc4ab82940) at kernel/qapplication.cpp:3640
      #27 0x00007f5fe08b4688 in QCoreApplication::notifyInternal2 (receiver=0x5586330e81d0, event=0x7ffc4ab82940) at kernel/qcoreapplication.cpp:1064
      #28 0x00007f5fe08b48b2 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
      #29 0x00007f5fe0d8a7ac in QShortcutMap::dispatchEvent (this=<optimized out>, e=<optimized out>) at kernel/qshortcutmap.cpp:675
      #30 0x00007f5fe0d8b263 in QShortcutMap::tryShortcut (this=this@entry=0x558632fad5c8, e=e@entry=0x7ffc4ab82a10) at kernel/qshortcutmap.cpp:343
      {{#31 0x00007f5fe0d3cfb4 in QWindowSystemInterface::handleShortcutEvent (window=<optimized out>, }}
      window@entry=0x55863344b4d0, timestamp=198146785, keyCode=16777265, modifiers=..., nativeScanCode=68, nativeVirtualKey=65471, nativeModifiers=8192, text=..., autorepeat=false, count=1)
      at kernel/qwindowsysteminterface.cpp:477
      #32 0x00007f5fe0d58b45 in QGuiApplicationPrivate::processKeyEvent (e=0x7f5fc8024f20) at kernel/qguiapplication.cpp:2391
      #33 0x00007f5fe0d3997c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
      #34 0x00007f5fdc1ca4c6 in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
      #35 0x00007f5fdef1b6ac in g_main_dispatch (context=0x7f5fc8000ed0) at ../glib/gmain.c:3344
      #36 g_main_context_dispatch_unlocked (context=0x7f5fc8000ed0) at ../glib/gmain.c:4152
      #37 0x00007f5fdef7c708 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f5fc8000ed0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
      at ../glib/gmain.c:4217
      #38 0x00007f5fdef1cb23 in g_main_context_iteration (context=0x7f5fc8000ed0, may_block=1) at ../glib/gmain.c:4282
      #39 0x00007f5fe09085cd in QEventDispatcherGlib::processEvents (this=0x558633165770, flags=...) at kernel/qeventdispatcher_glib.cpp:423
      #40 0x00007f5fe08b303b in QEventLoop::exec (this=this@entry=0x7ffc4ab82de0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
      #41 0x00007f5fe08bb406 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
      #42 0x00005586327a6d92 in main ()

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              joanmarie Joanmarie Diggs
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes