(gdb) bt full #0 QLineEdit::cursorPosition() const (this=0x0) at ../../include/QtWidgets/5.15.0/QtWidgets/private/../../../../../src/widgets/widgets/qwidgetlinecontrol_p.h:310 d = Python Exception Cannot access memory at address 0x8: #1 0x00007fffea9e8acf in AtSpiAdaptor::notify(QAccessibleEvent*) (this=0x55555648be70, event=0x7fffffffa9c0) at atspiadaptor.cpp:1005 cursorData = {m_variant = {d = {data = {c = 0 '\000', uc = 0 '\000', s = 0, sc = 0 '\000', us = 0, i = 0, u = 0, l = 0, ul = 0, b = false, d = 0, f = 0, real = 0, ll = 0, ull = 0, o = 0x0, ptr = 0x0, shared = 0x0}, type = 0, is_shared = 0, is_null = 1}}} iface = 0x7fffffffaa00 path = {static null = {}, d = 0x55555b6dcf50} pos = 1531917888 args = {> = {}, {p = {static shared_null = {ref = {atomic = {_q_value = {> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x55555b48b3e0}, d = 0x55555b48b3e0}} #2 0x00007ffff0b75cf0 in QWidgetLineControl::emitCursorPositionChanged() (this=0x55555b483b90) at widgets/qwidgetlinecontrol.cpp:1432 event = { = {_vptr.QAccessibleEvent = 0x7ffff207c9c0 , m_type = QAccessible::TextCaretMoved, m_object = 0x55555b4c3090, {m_child = -1, m_uniqueId = 4294967295}}, m_cursorPosition = 15} #3 QWidgetLineControl::emitCursorPositionChanged() (this=0x55555b483b90) at widgets/qwidgetlinecontrol.cpp:1422 #4 0x00007ffff0b77486 in QWidgetLineControl::finishChange(int, bool, bool) (this=0x55555b483b90, validateFromState=, update=, edited=) at widgets/qwidgetlinecontrol.cpp:745 #5 0x00007ffff0b7791e in QWidgetLineControl::internalSetText(QString const&, int, bool) (this=0x55555b483b90, txt=..., pos=pos@entry=-1, edited=edited@entry=false) at widgets/qwidgetlinecontrol.cpp:772 oldText = {static null = {}, d = 0x7ffff2c51940 } changed = #6 0x00007ffff0b6b13e in QWidgetLineControl::setText(QString const&) (txt=..., this=) at ../../include/QtWidgets/5.15.0/QtWidgets/private/../../../../../src/widgets/widgets/qwidgetlinecontrol_p.h:251 #7 0x00007ffff0b6ef1a in QLineEdit::setText(QString const&) (this=, text=...) at widgets/qlineedit.cpp:318 d = #8 0x00007ffff0b3c43a in QDateTimeEditPrivate::updateEdit() (this=0x55555a882730) at widgets/qdatetimeedit.cpp:1749 newText = {static null = {}, d = 0x55555b6f3700} selsize = 0 #9 0x00007ffff12e69a0 in () at /usr/lib/python3.8/site-packages/PyQt5/QtWidgets.abi3.so #10 0x00007ffff7b7b1ea in PyCFunction_Call () at /usr/lib/libpython3.8.so.1.0 #11 0x00007ffff7b6dbf4 in _PyObject_MakeTpCall () at /usr/lib/libpython3.8.so.1.0 #12 0x00007ffff7b694d8 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0 #13 0x00007ffff7b630c4 in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0 #14 0x00007ffff7b751cd in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0 #15 0x00007ffff7b69097 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0 #16 0x00007ffff7b635ba in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0 #17 0x00007ffff7b84982 in () at /usr/lib/libpython3.8.so.1.0 #18 0x00007ffff7b69097 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0 #19 0x00007ffff7b635ba in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0 #20 0x00007ffff7b6d28e in _PyObject_FastCallDict () at /usr/lib/libpython3.8.so.1.0 #21 0x00007ffff7b7fd64 in () at /usr/lib/libpython3.8.so.1.0 #22 0x00007ffff7b6dc90 in _PyObject_MakeTpCall () at /usr/lib/libpython3.8.so.1.0 #23 0x00007ffff7b68fc4 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0 #24 0x00007ffff7b84896 in () at /usr/lib/libpython3.8.so.1.0 #25 0x00007ffff7b69097 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0 #26 0x00007ffff7b630c4 in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0 #27 0x00007ffff7b84982 in () at /usr/lib/libpython3.8.so.1.0 #28 0x00007ffff7b69097 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0 #29 0x00007ffff7b630c4 in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0 #30 0x00007ffff7b751cd in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0 #31 0x00007ffff7b6d0ff in _PyObject_FastCallDict () at /usr/lib/libpython3.8.so.1.0 #32 0x00007ffff7b7fd64 in () at /usr/lib/libpython3.8.so.1.0 #33 0x00007ffff7b6dc90 in _PyObject_MakeTpCall () at /usr/lib/libpython3.8.so.1.0 #34 0x00007ffff7b696a1 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0 #35 0x00007ffff7b630c4 in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0 #36 0x00007ffff7b751cd in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0 #37 0x00007ffff7b65553 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0 #38 0x00007ffff7b84896 in () at /usr/lib/libpython3.8.so.1.0 #39 0x00007ffff7b69097 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0 #40 0x00007ffff7b630c4 in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0 #41 0x00007ffff7b84982 in () at /usr/lib/libpython3.8.so.1.0 #42 0x00007ffff7b65553 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0 #43 0x00007ffff7b637e2 in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0 #44 0x00007ffff7b751cd in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0 #45 0x00007ffff7b84b6c in () at /usr/lib/libpython3.8.so.1.0 #46 0x00007ffff7b882e2 in PyObject_Call () at /usr/lib/libpython3.8.so.1.0 #47 0x00007ffff3015988 in () at /usr/lib/python3.8/site-packages/PyQt5/QtCore.abi3.so #48 0x00007ffff3015dd1 in () at /usr/lib/python3.8/site-packages/PyQt5/QtCore.abi3.so #49 0x00007ffff3016051 in () at /usr/lib/python3.8/site-packages/PyQt5/QtCore.abi3.so #50 0x00007ffff3016c10 in () at /usr/lib/python3.8/site-packages/PyQt5/QtCore.abi3.so #51 0x00007ffff2b9e742 in doActivate(QObject*, int, void**) (sender=0x555558206c30, signal_index=4, argv=argv@entry=0x7fffffffca90) at kernel/qobject.cpp:3912 method = receiver = 0x5555582dcc00 td = receiverInSameThread = senderData = {previous = 0x0, receiver = 0x5555582dcc00, sender = 0x555558206c30, signal = 4} c = 0x5555584b4f50 connections = {d = 0x555558401530} list = inSenderThread = true highestConnectionId = 11 signalVector = 0x55555829f950 currentThreadId = 0x7ffff78cf740 sp = signal_spy_set = 0x0 empty_argv = {0x0} senderDeleted = false #52 0x00007ffff2b97ba0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x555558206c30, m=m@entry=0x7ffff0f327a0 , local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffffca90) at kernel/qobject.cpp:3946 #53 0x00007ffff0a22f23 in QAction::triggered(bool) (this=this@entry=0x555558206c30, _t1=) at .moc/moc_qaction.cpp:376 _a = {0x0, 0x7fffffffca8c} #54 0x00007ffff0a25805 in QAction::activate(QAction::ActionEvent) (this=0x555558206c30, event=) at kernel/qaction.cpp:1161 guard = {wp = {d = 0x5555590780a0, value = 0x555558206c30}} d = #55 0x00007ffff0b1cf72 in QAbstractButtonPrivate::click() (this=this@entry=0x5555595a6c30) at widgets/qabstractbutton.cpp:398 q = 0x5555595a64b0 changeState = guard = {wp = {d = 0x5555595a72b0, value = 0x5555595a64b0}} #56 0x00007ffff0b1d093 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) (this=0x5555595a64b0, e=0x7fffffffd0a0) at widgets/qabstractbutton.cpp:1044 d = #57 0x00007ffff0c11a8b in QToolButton::mouseReleaseEvent(QMouseEvent*) (this=, e=) at widgets/qtoolbutton.cpp:622 d = 0x5555595a6c30 #58 0x00007ffff0a6ac7e in QWidget::event(QEvent*) (this=0x5555595a64b0, event=0x7fffffffd0a0) at kernel/qwidget.cpp:9027 d = 0x5555595a6c30 #59 0x00007ffff0a29702 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x555555d57980, receiver=receiver@entry=0x5555595a64b0, e=e@entry=0x7fffffffd0a0) at kernel/qapplication.cpp:3671 consumed = false filtered = false #60 0x00007ffff0a30977 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffcd70, receiver=0x5555595a64b0, e=0x7fffffffd0a0) at kernel/qapplication.cpp:3115 me = { = { = {_vptr.QEvent = 0x7ffff207e5c0 , static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff2d2d760 , data = 0x7ffff2d2d1a0 , static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 3, posted = 0, spont = 1, m_accept = 1, reserved = 0}, modState = {i = 0}, ts = 1268600210}, l = {xp = 66, yp = 21}, w = {xp = 160, yp = 23}, s = {xp = 160, yp = 307}, b = Qt::LeftButton, mouseState = {i = 0}, caps = 0, velocity = {v = {0, 0}}} w = 0x5555595a64b0 mouse = 0x7fffffffd0a0 eventAccepted = relpos = {xp = 66, yp = 21} pw = {wp = {d = 0x5555595a72b0, value = 0x5555595a64b0}} res = false #61 0x00007ffff12df80f in () at /usr/lib/python3.8/site-packages/PyQt5/QtWidgets.abi3.so #62 0x00007ffff2b6779a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5555595a64b0, event=0x7fffffffd0a0) at kernel/qcoreapplication.cpp:1061 selfRequired = true result = false cbdata = {0x5555595a64b0, 0x7fffffffd0a0, 0x7fffffffce6f} d = threadData = 0x5555559e59a0 scopeLevelCounter = {threadData = 0x5555559e59a0} #63 0x00007ffff0a2f85e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool, bool) (receiver=receiver@entry=0x5555595a64b0, event=event@entry=0x7fffffffd0a0, alienWidget=alienWidget@entry=0x5555595a64b0, nativeWidget=0x555557778070, buttonDown=buttonDown@entry=0x7ffff0f61330 , lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2603 receiverGuard = {wp = {d = 0x5555595a72b0, value = 0x5555595a64b0}} nativeGuard = {wp = {d = 0x555557ff9dd0, value = 0x555557778070}} alienGuard = {wp = {d = 0x5555595a72b0, value = 0x5555595a64b0}} activePopupWidget = {wp = {d = 0x0, value = 0x0}} graphicsWidget = false widgetUnderMouse = wasLeaveAfterRelease = true result = true #64 0x00007ffff0a833b2 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=0x55555a5eef30, event=0x7fffffffd390) at kernel/qwidgetwindow.cpp:675 translated = { = { = {_vptr.QEvent = 0x7ffff207e5c0 , static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff2d2d760 , data = 0x7ffff2d2d1a0 , static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 3, posted = 0, spont = 1, m_accept = 1, reserved = 0}, modState = {i = 0}, ts = 1268600210}, l = {xp = 66, yp = 21}, w = {xp = 160, yp = 23}, s = {xp = 160, yp = 307}, b = Qt::LeftButton, mouseState = {i = 0}, caps = 0, velocity = {v = {0, 0}}} contextMenuTrigger = QEvent::MouseButtonPress widget = 0x5555595a64b0 mapped = {xp = 66, yp = 21} initialPress = receiver = 0x5555595a64b0 #65 0x00007ffff0a8678f in QWidgetWindow::event(QEvent*) (this=0x55555a5eef30, event=0x7fffffffd390) at kernel/qwidgetwindow.cpp:295 #66 0x00007ffff0a29702 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=, receiver=0x55555a5eef30, e=0x7fffffffd390) at kernel/qapplication.cpp:3671 consumed = false filtered = false #67 0x00007ffff12df80f in () at /usr/lib/python3.8/site-packages/PyQt5/QtWidgets.abi3.so #68 0x00007ffff2b6779a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55555a5eef30, event=0x7fffffffd390) at kernel/qcoreapplication.cpp:1061 selfRequired = true result = false cbdata = {0x55555a5eef30, 0x7fffffffd390, 0x7fffffffd23f} d = threadData = 0x5555559e59a0 scopeLevelCounter = {threadData = 0x5555559e59a0} #69 0x00007ffff1b0137c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x55555a3d9e20) at kernel/qguiapplication.cpp:2214 type = QEvent::MouseButtonRelease button = Qt::LeftButton window = 0x55555a5eef30 positionChanged = mouseMove = mousePress = localPoint = {xp = 160, yp = 23} globalPoint = {xp = 160, yp = 307} doubleClick = false ev = { = { = {_vptr.QEvent = 0x7ffff207e5c0 , static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff2d2d760 , data = 0x7ffff2d2d1a0 , static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 3, posted = 0, spont = 1, m_accept = 1, reserved = 0}, modState = {i = 0}, ts = 1268600210}, l = {xp = 160, yp = 23}, w = {xp = 160, yp = 23}, s = {xp = 160, yp = 307}, b = Qt::LeftButton, mouseState = {i = 0}, caps = 0, velocity = {v = {0, 0}}} #70 0x00007ffff1ad6b4c in QWindowSystemInterface::sendWindowSystemEvents(QFlags) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1175 event = 0x55555a3d9e20 nevents = 1 #71 0x00007fffea994c8c in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=) at qxcbeventdispatcher.cpp:105 xcbEventSource = flags = {i = 36} #72 0x00007ffff31d443c in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0 #73 0x00007ffff32221d9 in () at /usr/lib/libglib-2.0.so.0 #74 0x00007ffff31d3221 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #75 0x00007ffff2bc0311 in QEventDispatcherGlib::processEvents(QFlags) (this=0x555555f19250, flags=...) at kernel/qeventdispatcher_glib.cpp:423 d = 0x555555e6e3b0 canWait = true savedFlags = {i = 0} result = #76 0x00007ffff2b6611c in QEventLoop::exec(QFlags) (this=this@entry=0x7fffffffd6c0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 d = 0x55555653b8a0 threadData = locker = {val = 93824995166872} app = #77 0x00007ffff2b6e5a4 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 threadData = 0x5555559e59a0 eventLoop = { = {_vptr.QObject = 0x7ffff2dfcec8 , static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff2d31e20 , data = 0x7ffff2d31d00 , static_metacall = 0x7ffff2b9d150 , relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x55555653b8a0}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff2d34dc0 , data = 0x7ffff2d31f40 , static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7ffff2df47e0 }, stringdata = 0x7ffff2d2c620 , data = 0x7ffff2d2c5c0 , static_metacall = 0x7ffff2b65e40 , relatedMetaObjects = 0x0, extradata = 0x0}}} returnCode = #78 0x00007ffff12de80f in () at /usr/lib/python3.8/site-packages/PyQt5/QtWidgets.abi3.so #79 0x00007ffff7b7b1ea in PyCFunction_Call () at /usr/lib/libpython3.8.so.1.0 #80 0x00007ffff7b6dbf4 in _PyObject_MakeTpCall () at /usr/lib/libpython3.8.so.1.0 #81 0x00007ffff7b694d8 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0 #82 0x00007ffff7b630c4 in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0 #83 0x00007ffff7b751cd in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0 #84 0x00007ffff7b65553 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0 #85 0x00007ffff7b630c4 in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0 #86 0x00007ffff7b751cd in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0 #87 0x00007ffff7b6477c in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0 #88 0x00007ffff7b630c4 in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0 #89 0x00007ffff7b751cd in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0 #90 0x00007ffff7b6477c in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0 #91 0x00007ffff7c1514d in () at /usr/lib/libpython3.8.so.1.0 #92 0x00007ffff7b6477c in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0 #93 0x00007ffff7b630c4 in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0 #94 0x00007ffff7c14323 in PyEval_EvalCode () at /usr/lib/libpython3.8.so.1.0 #95 0x00007ffff7c1fb98 in () at /usr/lib/libpython3.8.so.1.0 #96 0x00007ffff7c19db3 in () at /usr/lib/libpython3.8.so.1.0 #97 0x00007ffff7ad8a0b in PyRun_FileExFlags () at /usr/lib/libpython3.8.so.1.0 #98 0x00007ffff7ad8482 in PyRun_SimpleFileExFlags () at /usr/lib/libpython3.8.so.1.0 #99 0x00007ffff7c2ca1a in Py_RunMain () at /usr/lib/libpython3.8.so.1.0 #100 0x00007ffff7c08bd9 in Py_BytesMain () at /usr/lib/libpython3.8.so.1.0 #101 0x00007ffff7dfcf62 in __libc_start_main (main= 0x555555555120
, argc=3, argv=0x7fffffffe5e8, init=, fini=, rtld_fini=, stack_end=0x7fffffffe5d8) at ../csu/libc-start.c:314 result = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 3612242735043180999, 93824992235552, 0, 0, 0, 7454608522057873863, 7454590654257428935}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x3, 0x7fffffffe5e8}, data = {prev = 0x0, cleanup = 0x0, canceltype = 3}}} not_first_call = #102 0x000055555555504e in _start () (gdb) up #1 0x00007fffea9e8acf in AtSpiAdaptor::notify (this=0x55555648be70, event=0x7fffffffa9c0) at atspiadaptor.cpp:1005 1005 int pos = iface->textInterface()->cursorPosition(); (gdb) p *iface $1 = {_vptr.QAccessibleInterface = 0x7fffffffaac0}