Segmentation Fault: QTabWidget.setCurrentIndex
Dominik Brandstetter
dominik.brandstetter at edu.uni-graz.at
Wed Apr 27 08:49:44 BST 2022
Hello,
I tried updating my code from PyQt5 to PyQt6 (any version after 6.2.3)
but the method call "QTabWidgetInstance.setCurrentIndex(index)" results
in a segmentation fault:
/
// Fatal Python error: Segmentation fault//
//
// Current thread 0x00007fbcf0600740 (most recent call first)://
// File
"/home/brandstetter_dominik/Desktop/Rework/kMap/kmap/controller/tabwidget.py",
line 437 in _open_tab//
// File
"/home/brandstetter_dominik/Desktop/Rework/kMap/kmap/controller/tabwidget.py",
line 112 in open_orbital_data_tab//
// File
"/home/brandstetter_dominik/Desktop/Rework/kMap/kmap/controller/mainwindow.py",
line 188 in open_orbital_data_tab//
// File
"/home/brandstetter_dominik/Desktop/Rework/kMap/kmap/kMap.py", line 46
in run//
// File
"/home/brandstetter_dominik/Desktop/Rework/kMap/kmap/__main__.py", line
6 in main//
// File
"/home/brandstetter_dominik/Desktop/Rework/kMap/kmap/__main__.py", line
9 in <module>//
// File
"/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/runpy.py",
line 86 in _run_code//
// File
"/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/runpy.py",
line 196 in _run_module_as_main//
//
// Extension modules: PyQt6.QtCore, PyQt6.QtGui, PyQt6.QtWidgets,
numpy.core._multiarray_umath, numpy.core._multiarray_tests,
numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal,
numpy.random._common, numpy.random.bit_generator,
numpy.random._bounded_integers, numpy.random._mt19937,
numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64,
numpy.random._sfc64, numpy.random._generator, PyQt6.QtSvg,
PyQt6.QtOpenGL, PyQt6.QtOpenGLWidgets, PyQt6.QtTest, h5py._errors,
h5py.defs, h5py._objects, h5py.h5, h5py.h5r, h5py.utils, h5py.h5s,
h5py.h5ac, h5py.h5p, h5py.h5t, h5py._conv, h5py.h5z, h5py._proxy,
h5py.h5a, h5py.h5d, h5py.h5ds, h5py.h5g, h5py.h5i, h5py.h5f, h5py.h5fd,
h5py.h5pl, h5py.h5o, h5py.h5l, h5py._selector,
matplotlib._c_internal_utils, PIL._imaging, matplotlib._path,
kiwisolver._cext, scipy._lib._ccallback_c, scipy.special._ufuncs_cxx,
scipy.special._ufuncs, scipy.special._specfun, scipy.linalg._fblas,
scipy.linalg._flapack, scipy.linalg._cythonized_array_utils,
scipy.linalg._flinalg, scipy.linalg._solve_toeplitz,
scipy.linalg._matfuncs_sqrtm_triu, scipy.linalg.cython_blas,
scipy.linalg.cython_lapack, scipy.linalg._decomp_update,
scipy.sparse._sparsetools, scipy.sparse._csparsetools,
scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path,
scipy.sparse.csgraph._traversal,
scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow,
scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering,
scipy.special._comb, scipy.special._ellip_harm_2,
scipy.interpolate._fitpack, scipy.interpolate.dfitpack,
scipy.interpolate._bspl, scipy.interpolate._ppoly,
scipy.spatial._ckdtree, scipy._lib.messagestream, scipy.spatial._qhull,
scipy.spatial._voronoi, scipy.spatial._distance_wrap,
scipy.spatial._hausdorff, scipy.spatial.transform._rotation,
scipy.interpolate.interpnd, scipy.interpolate._rbfinterp_pythran,
scipy.ndimage._nd_image, _ni_label, scipy.ndimage._ni_label,
matplotlib._image, scipy.sparse.linalg._isolve._iterative,
scipy.sparse.linalg._dsolve._superlu,
scipy.sparse.linalg._eigen.arpack._arpack, scipy.optimize._minpack2,
scipy.optimize._group_columns, scipy.optimize._trlib._trlib,
numpy.linalg.lapack_lite, scipy.optimize._lbfgsb, _moduleTNC,
scipy.optimize._moduleTNC, scipy.optimize._cobyla,
scipy.optimize._slsqp, scipy.optimize._minpack,
scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros,
scipy.optimize.__nnls, scipy.optimize._highs.cython.src._highs_wrapper,
scipy.optimize._highs._highs_wrapper,
scipy.optimize._highs.cython.src._highs_constants,
scipy.optimize._highs._highs_constants, scipy.linalg._interpolative,
scipy.optimize._bglu_dense, scipy.optimize._lsap_module,
scipy.integrate._odepack, scipy.integrate._quadpack,
scipy.integrate._vode, scipy.integrate._dop, scipy.integrate._lsoda,
scipy.special.cython_special, scipy.stats._stats, beta_ufunc,
scipy.stats._boost.beta_ufunc, binom_ufunc,
scipy.stats._boost.binom_ufunc, nbinom_ufunc,
scipy.stats._boost.nbinom_ufunc, hypergeom_ufunc,
scipy.stats._boost.hypergeom_ufunc, scipy.stats._biasedurn,
scipy.stats._hypotests_pythran, scipy.stats._statlib, scipy.stats._mvn,
scipy.stats._sobol, scipy.stats._qmc_cy,
scipy.stats._unuran.unuran_wrapper (total: 134)/
The issue was not present using PyQt5 (and essentially the same code)
and it does only occur when switching to some tabs but not others. The
QTabWidget object exists and the index is also correct and inside bounds.
The tab objects creation and addition to the QTabWidget are sucessful,
the crash only occurs when trying to focus them. Here is the backtrace
from gdb:
/#0 0x00007ffff21a9a5c in ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #1 0x00007ffff21aa348 in QBoxLayout::sizeHint() const ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #2 0x00007ffff2af80c8 in sipQVBoxLayout::sizeHint() const ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/QtWidgets.abi3.so//
// #3 0x00007ffff21c9cb7 in QLayout::totalSizeHint() const ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #4 0x00007ffff29c64f8 in sipQWidget::sizeHint() const ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/QtWidgets.abi3.so//
// #5 0x00007ffff236ccca in QScrollArea::sizeHint() const ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #6 0x00007ffff2a751a8 in sipQScrollArea::sizeHint() const ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/QtWidgets.abi3.so//
// #7 0x00007ffff21ce4c2 in QWidgetItemV2::updateCacheIfNecessary()
const ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #8 0x00007ffff21ce885 in QWidgetItemV2::maximumSize() const ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #9 0x00007ffff21a9a65 in ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #10 0x00007ffff21ab3c8 in QBoxLayout::setGeometry(QRect const&) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #11 0x00007ffff2af8f5b in sipQHBoxLayout::setGeometry(QRect
const&) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/QtWidgets.abi3.so//
// #12 0x00007ffff21c9a90 in QLayoutPrivate::doResize() ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #13 0x00007ffff21cb0ee in QLayout::activate() ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #14 0x00007ffff21ebc72 in QWidgetPrivate::setVisible(bool) ()//
//--Type <RET> for more, q to quit, c to continue without paging--//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #15 0x00007ffff29c392b in sipQTabWidget::setVisible(bool) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/QtWidgets.abi3.so//
// #16 0x00007ffff21cf6f4 in QStackedLayout::setCurrentIndex(int) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #17 0x00007ffff23a9a30 in ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #18 0x00007ffff60d0750 in ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6//
// #19 0x00007ffff238617e in QTabBar::currentChanged(int) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #20 0x00007ffff28bfc16 in meth_QTabWidget_setCurrentIndex ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/QtWidgets.abi3.so//
// #21 0x00005555556d3fc8 in cfunction_call (func=0x7fffc04376f0,
args=<optimised out>, kwargs=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Objects/methodobject.c:552//
// #22 0x000055555569652e in _PyObject_MakeTpCall//
// (tstate=0x555555936030, callable=0x7fffc04376f0, args=<optimised
out>, nargs=<optimised out>, keywords=0x0)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Objects/call.c:215//
// #23 0x0000555555739d75 in _PyObject_VectorcallTstate//
// (kwnames=0x0, nargsf=<optimised out>, args=0x7fffc0ae6280,
callable=0x7fffc04376f0, tstate=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:112//
// #24 PyObject_Vectorcall () at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:123//
// #25 call_function//
// (kwnames=0x0, oparg=<optimised out>, pp_stack=<synthetic pointer>,
trace_info=0x7fffffff9c20, tstate=<optimised out>) at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:5867//
// #26 _PyEval_EvalFrameDefault (tstate=<optimised out>, f=<optimised
out>, throwflag=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:4181//
// #27 0x00005555556e3742 in _PyEval_EvalFrame ()//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/internal/pycore_ceval.h:46//
//--Type <RET> for more, q to quit, c to continue without paging--//
// #28 _PyEval_Vector//
// (tstate=<optimised out>, con=0x7fffc059f650, locals=<optimised
out>, args=<optimised out>, argcount=<optimised out>, kwnames=<optimised
out>) at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:5065//
// #29 0x00005555556e3c9b in _PyFunction_Vectorcall//
// (kwnames=<optimised out>, nargsf=3, stack=0x7fffc0af2da0,
func=0x7fffc059f640)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Objects/call.c:342//
// #30 _PyObject_VectorcallTstate//
// (kwnames=<optimised out>, nargsf=3, args=0x7fffc0af2da0,
callable=0x7fffc059f640, tstate=0x555555936030)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:114//
// #31 method_vectorcall (method=<optimised out>,
args=0x7fffc0af2da8, nargsf=<optimised out>, kwnames=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Objects/classobject.c:53//
// #32 0x00005555556592a5 in _PyObject_VectorcallTstate//
// (kwnames=0x0, nargsf=<optimised out>, args=0x7fffc0af2da8,
callable=0x7fffc0441ec0, tstate=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:114//
// #33 PyObject_Vectorcall () at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:123//
// #34 call_function//
// (kwnames=0x0, oparg=<optimised out>, pp_stack=<synthetic pointer>,
trace_info=0x7fffffff9ee0, tstate=<optimised out>) at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:5867//
// #35 _PyEval_EvalFrameDefault (tstate=<optimised out>, f=<optimised
out>, throwflag=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:4181//
// #36 0x00005555556e3742 in _PyEval_EvalFrame ()//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/internal/pycore_ceval.h:46//
// #37 _PyEval_Vector//
// (tstate=<optimised out>, con=0x7fffc059e7b0, locals=<optimised
out>, args=<optimised out>, argcount=<optimised out>, kwnames=<optimised
out>) at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:5065//
// #38 0x00005555556e3c9b in _PyFunction_Vectorcall//
// (kwnames=<optimised out>, nargsf=1, stack=0x7fffc0a43220,
func=0x7fffc059e7a0)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Objects/call.c:342//
// #39 _PyObject_VectorcallTstate//
//--Type <RET> for more, q to quit, c to continue without paging--//
// (kwnames=<optimised out>, nargsf=1, args=0x7fffc0a43220,
callable=0x7fffc059e7a0, tstate=0x555555936030)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:114//
// #40 method_vectorcall (method=<optimised out>,
args=0x7fffc0a43228, nargsf=<optimised out>, kwnames=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Objects/classobject.c:53//
// #41 0x00005555556592a5 in _PyObject_VectorcallTstate//
// (kwnames=0x0, nargsf=<optimised out>, args=0x7fffc0a43228,
callable=0x7fffc1bed100, tstate=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:114//
// #42 PyObject_Vectorcall () at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:123//
// #43 call_function//
// (kwnames=0x0, oparg=<optimised out>, pp_stack=<synthetic pointer>,
trace_info=0x7fffffffa1a0, tstate=<optimised out>) at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:5867//
// #44 _PyEval_EvalFrameDefault (tstate=<optimised out>, f=<optimised
out>, throwflag=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:4181//
// #45 0x00005555556e3742 in _PyEval_EvalFrame ()//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/internal/pycore_ceval.h:46//
// #46 _PyEval_Vector//
// (tstate=<optimised out>, con=0x7fffc059fe30, locals=<optimised
out>, args=<optimised out>, argcount=<optimised out>, kwnames=<optimised
out>) at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:5065//
// #47 0x00005555556e3db5 in _PyObject_VectorcallTstate//
// (kwnames=0x0, nargsf=1, args=0x7fffffffa338,
callable=0x7fffc059fe20, tstate=0x555555936030)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:114//
// #48 method_vectorcall (method=<optimised out>,
args=0x7ffff7574088, nargsf=<optimised out>, kwnames=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Objects/classobject.c:61//
// #49 0x000055555569bfaa in PyVectorcall_Call (kwargs=<optimised
out>, tuple=0x7ffff7574070, callable=0x7fffc1bee5c0)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Objects/call.c:255//
// #50 _PyObject_Call (tstate=<optimised out>,
callable=0x7fffc1bee5c0, args=0x7ffff7574070, kwargs=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Objects/call.c:290//
// #51 0x00007ffff2fb9f40 in PyQtSlot::call(_object*, _object*) const
()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/QtCore.abi3.so//
//--Type <RET> for more, q to quit, c to continue without paging--//
// #52 0x00007ffff2fba3d0 in PyQtSlot::invoke(void**, _object*,
void*, bool) const ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/QtCore.abi3.so//
// #53 0x00007ffff2fbac7e in PyQtSlotProxy::unislot(void**) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/QtCore.abi3.so//
// #54 0x00007ffff2fbc8e7 in
PyQtSlotProxy::qt_metacall(QMetaObject::Call, int, void**) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/QtCore.abi3.so//
// #55 0x00007ffff60d06dd in ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6//
// #56 0x00007ffff6adde12 in QAction::triggered(bool) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Gui.so.6//
// #57 0x00007ffff6ae0ac9 in QAction::activate(QAction::ActionEvent) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Gui.so.6//
// #58 0x00007ffff234e692 in ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #59 0x00007ffff2355e51 in ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #60 0x00007ffff2a8b21b in
sipQMenu::mouseReleaseEvent(QMouseEvent*) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/QtWidgets.abi3.so//
// #61 0x00007ffff21ec108 in QWidget::event(QEvent*) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #62 0x00007ffff2a8ab7b in sipQMenu::event(QEvent*) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/QtWidgets.abi3.so//
// #63 0x00007ffff21979e2 in
QApplicationPrivate::notify_helper(QObject*, QEvent*) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #64 0x00007ffff21a0208 in QApplication::notify(QObject*, QEvent*) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #65 0x00007ffff2afa816 in sipQApplication::notify(QObject*,
QEvent*) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/QtWidgets.abi3.so//
// #66 0x00007ffff607305a in
QCoreApplication::notifyInternal2(QObject*, QEvent*) ()//
//--Type <RET> for more, q to quit, c to continue without paging--//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6//
// #67 0x00007ffff219f3db in
QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*,
QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #68 0x00007ffff21fe4fd in ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #69 0x00007ffff22005e5 in ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #70 0x00007ffff21979e2 in
QApplicationPrivate::notify_helper(QObject*, QEvent*) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6//
// #71 0x00007ffff2afa816 in sipQApplication::notify(QObject*,
QEvent*) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/QtWidgets.abi3.so//
// #72 0x00007ffff607305a in
QCoreApplication::notifyInternal2(QObject*, QEvent*) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6//
// #73 0x00007ffff67390c0 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Gui.so.6//
// #74 0x00007ffff6782a6c in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Gui.so.6//
// #75 0x00007fffc03445fa in ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/plugins/platforms/../../lib/libQt6XcbQpa.so.6//
// #76 0x00007ffff5aa717d in g_main_context_dispatch () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0//
// #77 0x00007ffff5aa7400 in () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0//
// #78 0x00007ffff5aa74a3 in g_main_context_iteration () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0//
// #79 0x00007ffff62daa4a in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6//
// #80 0x00007ffff607ee4b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6//
// #81 0x00007ffff607af0b in QCoreApplication::exec() ()//
//--Type <RET> for more, q to quit, c to continue without paging--//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6//
// #82 0x00007ffff2948c5f in meth_QApplication_exec ()//
// at
/home/brandstetter_dominik/anaconda3/envs/RW/lib/python3.10/site-packages/PyQt6/QtWidgets.abi3.so//
// #83 0x00005555556d3fc8 in cfunction_call (func=0x7fffc1be5170,
args=<optimised out>, kwargs=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Objects/methodobject.c:552//
// #84 0x00005555556965d4 in _PyObject_MakeTpCall//
// (tstate=0x555555936030, callable=0x7fffc1be5170, args=<optimised
out>, nargs=<optimised out>, keywords=<optimised out>) at
/opt/conda/conda-bld/python-split_1648715631366/work/Objects/call.c:215//
// #85 0x0000555555739d75 in _PyObject_VectorcallTstate//
// (kwnames=0x0, nargsf=<optimised out>, args=0x7fffc22cf5c0,
callable=0x7fffc1be5170, tstate=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:112//
// #86 PyObject_Vectorcall () at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:123//
// #87 call_function//
// (kwnames=0x0, oparg=<optimised out>, pp_stack=<synthetic pointer>,
trace_info=0x7fffffffb4b0, tstate=<optimised out>) at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:5867//
// #88 _PyEval_EvalFrameDefault (tstate=<optimised out>, f=<optimised
out>, throwflag=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:4181//
// #89 0x00005555556e3742 in _PyEval_EvalFrame ()//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/internal/pycore_ceval.h:46//
// #90 _PyEval_Vector//
// (tstate=<optimised out>, con=0x7fffc1bfce60, locals=<optimised
out>, args=<optimised out>, argcount=<optimised out>, kwnames=<optimised
out>) at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:5065//
// #91 0x00005555556e3c9b in _PyFunction_Vectorcall//
// (kwnames=<optimised out>, nargsf=1, stack=0x7ffff759bdc0,
func=0x7fffc1bfce50)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Objects/call.c:342//
// #92 _PyObject_VectorcallTstate//
// (kwnames=<optimised out>, nargsf=1, args=0x7ffff759bdc0,
callable=0x7fffc1bfce50, tstate=0x555555936030)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:114//
// #93 method_vectorcall (method=<optimised out>,
args=0x7ffff759bdc8, nargsf=<optimised out>, kwnames=<optimised out>)//
//--Type <RET> for more, q to quit, c to continue without paging--//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Objects/classobject.c:53//
// #94 0x00005555556592a5 in _PyObject_VectorcallTstate//
// (kwnames=0x0, nargsf=<optimised out>, args=0x7ffff759bdc8,
callable=0x7fffc1bc8680, tstate=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:114//
// #95 PyObject_Vectorcall () at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:123//
// #96 call_function//
// (kwnames=0x0, oparg=<optimised out>, pp_stack=<synthetic pointer>,
trace_info=0x7fffffffb770, tstate=<optimised out>) at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:5867//
// #97 _PyEval_EvalFrameDefault (tstate=<optimised out>, f=<optimised
out>, throwflag=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:4181//
// #98 0x00005555556e3742 in _PyEval_EvalFrame ()//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/internal/pycore_ceval.h:46//
// #99 _PyEval_Vector//
// (tstate=<optimised out>, con=0x7ffff75d3da0, locals=<optimised
out>, args=<optimised out>, argcount=<optimised out>, kwnames=<optimised
out>) at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:5065//
// #100 0x0000555555658425 in _PyObject_VectorcallTstate//
// (kwnames=0x0, nargsf=<optimised out>, args=0x7ffff7599ba8,
callable=0x7ffff75d3d90, tstate=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:114//
// #101 PyObject_Vectorcall () at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/cpython/abstract.h:123//
// #102 call_function//
// (kwnames=0x0, oparg=<optimised out>, pp_stack=<synthetic pointer>,
trace_info=0x7fffffffb9a0, tstate=<optimised out>) at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:5867//
// #103 _PyEval_EvalFrameDefault (tstate=<optimised out>,
f=<optimised out>, throwflag=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:4213//
// #104 0x00005555556e3742 in _PyEval_EvalFrame ()//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Include/internal/pycore_ceval.h:46//
// #105 _PyEval_Vector//
// (tstate=<optimised out>, con=0x7fffffffbb20, locals=<optimised
out>, args=<optimised out>, argcount=<optimised out>, kwnames=<optimised
out>) at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:5065//
//--Type <RET> for more, q to quit, c to continue without paging--//
// #106 0x00005555556f2578 in PyEval_EvalCode (co=0x7ffff750ad90,
globals=0x7ffff74b1f80, locals=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/ceval.c:1134//
// #107 0x00005555557a88fb in run_eval_code_obj//
// (tstate=0x555555936030, co=0x7ffff750ad90, globals=0x7ffff74b1f80,
locals=0x7ffff74b1f80)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/pythonrun.c:1291//
// #108 0x00005555557e13a5 in run_mod//
// (mod=<optimised out>, filename=<optimised out>,
globals=0x7ffff74b1f80, locals=0x7ffff74b1f80, flags=<optimised out>,
arena=<optimised out>) at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/pythonrun.c:1312//
// #109 0x00005555557e51d0 in pyrun_file//
// (fp=0x55555593bd50, filename=0x7ffff752cce0, start=<optimised
out>, globals=0x7ffff74b1f80, locals=0x7ffff74b1f80, closeit=1,
flags=0x7fffffffbd08) at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/pythonrun.c:1208//
// #110 0x00005555557e53b8 in _PyRun_SimpleFileObject//
// (fp=0x55555593bd50, filename=0x7ffff752cce0, closeit=1,
flags=0x7fffffffbd08)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/pythonrun.c:456//
// #111 0x00005555557e54c4 in _PyRun_AnyFileObject//
// (fp=0x55555593bd50, filename=0x7ffff752cce0, closeit=1,
flags=0x7fffffffbd08)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Python/pythonrun.c:90//
// #112 0x00005555557e65bd in pymain_run_file_obj//
// (skip_source_first_line=<optimised out>, filename=0x7ffff752cce0,
program_name=0x7ffff752cdc0)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Modules/main.c:357//
// #113 pymain_run_file (config=0x55555591a3a0) at
/opt/conda/conda-bld/python-split_1648715631366/work/Modules/main.c:376//
// #114 pymain_run_python (exitcode=0x7fffffffbd00)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Modules/main.c:591//
// #115 Py_RunMain () at
/opt/conda/conda-bld/python-split_1648715631366/work/Modules/main.c:670//
// #116 0x00005555557e67d9 in Py_BytesMain (argc=<optimised out>,
argv=<optimised out>)//
// at
/opt/conda/conda-bld/python-split_1648715631366/work/Modules/main.c:1083//
// #117 0x00007ffff7c5a0b3 in __libc_start_main (main=//
// 0x555555679650 <main>, argc=2, argv=0x7fffffffbf18,
init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>,
stack_end=0x7fffffffbf08) at ../csu/libc-start.c:308//
//--Type <RET> for more, q to quit, c to continue without paging--//
// #118 0x00005555557665d4 in _start ()
/I appreciate any help on how to tackle this issue. Many thanks!
Dominik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220427/26a3b4a1/attachment-0001.htm>
More information about the PyQt
mailing list