segfault when "update" on thg-5.6
thg-5.6 (installed via pip install thg-5.6.tar.gz) hg-5.6 python-3.9
fedora 33
When I choose "update" I consistently get segfault. I believe there are other operations that also segfault, but at least this one I know occurs 100% of the time:
Gdb says:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f141a27b82c in _PyObject_GC_Alloc () from /lib64/libpython3.9.so.1.0
[Current thread is 1 (Thread 0x7f1419e41740 (LWP 60738))]
Missing separate debuginfos, use: dnf debuginfo-install python3-3.9.0-1.fc33.x86_64
(gdb) where
#0 0x00007f141a27b82c in _PyObject_GC_Alloc () from /lib64/libpython3.9.so.1.0
#1 0x00007f141a2a2e0b in PyMethod_New () from /lib64/libpython3.9.so.1.0
#2 0x00007f1412e3fe18 in PyQtSlot::invoke(void**, _object*, void*, bool) const ()
from /usr/lib64/python3.9/site-packages/PyQt5/QtCore.so
#3 0x00007f1412e48220 in qt_metacall_worker(_sipSimpleWrapper*, _typeobject*, _sipTypeDef*, QMetaObject::Call, int, void**) [clone .isra.0] () from /usr/lib64/python3.9/site-packages/PyQt5/QtCore.so
#4 0x00007f141295bf78 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#5 0x00007f1412e3de7d in pyqtBoundSignal_emit.lto_priv.0 ()
from /usr/lib64/python3.9/site-packages/PyQt5/QtCore.so
#6 0x00007f141a2ab175 in method_vectorcall_VARARGS () from /lib64/libpython3.9.so.1.0
#7 0x00007f141a28d456 in _PyEval_EvalFrameDefault () from /lib64/libpython3.9.so.1.0
#8 0x00007f141a29a4bb in function_code_fastcall () from /lib64/libpython3.9.so.1.0
#9 0x00007f141a2a2f60 in method_vectorcall () from /lib64/libpython3.9.so.1.0
#10 0x00007f141a291cce in _PyEval_EvalFrameDefault () from /lib64/libpython3.9.so.1.0
#11 0x00007f141a29a4bb in function_code_fastcall () from /lib64/libpython3.9.so.1.0
#12 0x00007f141a2a2f60 in method_vectorcall () from /lib64/libpython3.9.so.1.0
#13 0x00007f141a291cce in _PyEval_EvalFrameDefault () from /lib64/libpython3.9.so.1.0
#14 0x00007f141a29a4bb in function_code_fastcall () from /lib64/libpython3.9.so.1.0
#15 0x00007f141a2a2f60 in method_vectorcall () from /lib64/libpython3.9.so.1.0
#16 0x00007f141a291cce in _PyEval_EvalFrameDefault () from /lib64/libpython3.9.so.1.0
#17 0x00007f141a29a4bb in function_code_fastcall () from /lib64/libpython3.9.so.1.0
#18 0x00007f141a2a3150 in method_vectorcall () from /lib64/libpython3.9.so.1.0
#19 0x00007f1412e3fc70 in PyQtSlot::invoke(void**, _object*, void*, bool) const ()
from /usr/lib64/python3.9/site-packages/PyQt5/QtCore.so
#20 0x00007f1412e48220 in qt_metacall_worker(_sipSimpleWrapper*, _typeobject*, _sipTypeDef*, QMetaObject::Call, int, void**) [clone .isra.0] () from /usr/lib64/python3.9/site-packages/PyQt5/QtCore.so
#21 0x00007f1412d97b0f in sipQObject::qt_metacall(QMetaObject::Call, int, void**) ()
from /usr/lib64/python3.9/site-packages/PyQt5/QtCore.so
#22 0x00007f141295bf78 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#23 0x00007f141295fe8a in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt5Core.so.5
#24 0x00007f1412df6a1b in sipQTimer::timerEvent(QTimerEvent*) ()
from /usr/lib64/python3.9/site-packages/PyQt5/QtCore.so
#25 0x00007f1412954d7f in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#26 0x00007f1412df3e2b in sipQTimer::event(QEvent*) ()
from /usr/lib64/python3.9/site-packages/PyQt5/QtCore.so
#27 0x00007f140e5b815f in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
from /lib64/libQt5Widgets.so.5
#28 0x00007f140ec90d76 in sipQApplication::notify(QObject*, QEvent*) ()
from /usr/lib64/python3.9/site-packages/PyQt5/QtWidgets.so
#29 0x00007f141292dbe8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
from /lib64/libQt5Core.so.5
#30 0x00007f1412977dd3 in QTimerInfoList::activateTimers() () from /lib64/libQt5Core.so.5
#31 0x00007f1412978654 in timerSourceDispatch(_GSource*, int (*)(void*), void*) ()
from /lib64/libQt5Core.so.5
#32 0x00007f1411dbb7ef in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#33 0x00007f1411e0d5d8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#34 0x00007f1411db8bc3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#35 0x00007f1412978a2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#36 0x00007f141292c64b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#37 0x00007f140e7b0f87 in QDialog::exec() () from /lib64/libQt5Widgets.so.5
#38 0x00007f140ecd3ce8 in meth_QDialog_exec_.lto_priv.0 ()
from /usr/lib64/python3.9/site-packages/PyQt5/QtWidgets.so
#39 0x00007f141a2a47aa in cfunction_call () from /lib64/libpython3.9.so.1.0
#40 0x00007f141a2958df in _PyObject_MakeTpCall () from /lib64/libpython3.9.so.1.0
#41 0x00007f141a29260f in _PyEval_EvalFrameDefault () from /lib64/libpython3.9.so.1.0
#42 0x00007f141a29a4bb in function_code_fastcall () from /lib64/libpython3.9.so.1.0
#43 0x00007f141a2a3150 in method_vectorcall () from /lib64/libpython3.9.so.1.0
#44 0x00007f141a29007c in _PyEval_EvalFrameDefault () from /lib64/libpython3.9.so.1.0
#45 0x00007f141a28c439 in _PyEval_EvalCode () from /lib64/libpython3.9.so.1.0
#46 0x00007f141a29a206 in _PyFunction_Vectorcall () from /lib64/libpython3.9.so.1.0
#47 0x00007f1412e3fc70 in PyQtSlot::invoke(void**, _object*, void*, bool) const ()
from /usr/lib64/python3.9/site-packages/PyQt5/QtCore.so
#48 0x00007f1412e42966 in PyQtSlotProxy::qt_metacall(QMetaObject::Call, int, void**) ()
from /usr/lib64/python3.9/site-packages/PyQt5/QtCore.so
#49 0x00007f141295bf78 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#50 0x00007f140e5b1b62 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5
#51 0x00007f140e5b43a1 in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5
#52 0x00007f140e6a6fe2 in QAbstractButtonPrivate::click() () from /lib64/libQt5Widgets.so.5
#53 0x00007f140e6a7101 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
from /lib64/libQt5Widgets.so.5
#54 0x00007f140e796ada in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#55 0x00007f140e5f7fbe in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#56 0x00007f140e5b815f in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
from /lib64/libQt5Widgets.so.5
#57 0x00007f140e5bf04b in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#58 0x00007f140ec90d76 in sipQApplication::notify(QObject*, QEvent*) ()
from /usr/lib64/python3.9/site-packages/PyQt5/QtWidgets.so
#59 0x00007f141292dbe8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
from /lib64/libQt5Core.so.5
#60 0x00007f140e5be076 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#61 0x00007f140e610021 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#62 0x00007f140e61334e in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#63 0x00007f140e5b815f in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
from /lib64/libQt5Widgets.so.5
#64 0x00007f140ec90d76 in sipQApplication::notify(QObject*, QEvent*) ()
from /usr/lib64/python3.9/site-packages/PyQt5/QtWidgets.so
#65 0x00007f141292dbe8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
from /lib64/libQt5Core.so.5
#66 0x00007f140f6e68f0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#67 0x00007f140f6c894b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#68 0x00007f140c7b22aa in xcbSourceDispatch(_GSource*, int (*)(void*), void*) ()
from /lib64/libQt5XcbQpa.so.5
#69 0x00007f1411dbb7ef in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#70 0x00007f1411e0d5d8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#71 0x00007f1411db8bc3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#72 0x00007f1412978a2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#73 0x00007f141292c64b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#74 0x00007f1412934010 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#75 0x00007f140ec9223a in meth_QApplication_exec_.lto_priv.0 ()
from /usr/lib64/python3.9/site-packages/PyQt5/QtWidgets.so
#76 0x00007f141a2a47aa in cfunction_call () from /lib64/libpython3.9.so.1.0
#77 0x00007f141a2958df in _PyObject_MakeTpCall () from /lib64/libpython3.9.so.1.0
#78 0x00007f141a29260f in _PyEval_EvalFrameDefault () from /lib64/libpython3.9.so.1.0
#79 0x00007f141a28be81 in _PyEval_EvalCode () from /lib64/libpython3.9.so.1.0
#80 0x00007f141a29a206 in _PyFunction_Vectorcall () from /lib64/libpython3.9.so.1.0
#81 0x00007f141a295462 in _PyObject_FastCallDictTstate () from /lib64/libpython3.9.so.1.0
#82 0x00007f141a2a1b48 in _PyObject_Call_Prepend () from /lib64/libpython3.9.so.1.0
#83 0x00007f141a33e9ba in slot_tp_call () from /lib64/libpython3.9.so.1.0
#84 0x00007f141a2a3490 in _PyObject_Call () from /lib64/libpython3.9.so.1.0
#85 0x00007f141a29007c in _PyEval_EvalFrameDefault () from /lib64/libpython3.9.so.1.0
#86 0x00007f141a28c439 in _PyEval_EvalCode () from /lib64/libpython3.9.so.1.0
#87 0x00007f141a29a206 in _PyFunction_Vectorcall () from /lib64/libpython3.9.so.1.0
#88 0x00007f141a28d202 in _PyEval_EvalFrameDefault () from /lib64/libpython3.9.so.1.0
#89 0x00007f141a28c439 in _PyEval_EvalCode () from /lib64/libpython3.9.so.1.0
#90 0x00007f141a29a206 in _PyFunction_Vectorcall () from /lib64/libpython3.9.so.1.0
#91 0x00007f141a28d202 in _PyEval_EvalFrameDefault () from /lib64/libpython3.9.so.1.0
#92 0x00007f141a28c439 in _PyEval_EvalCode () from /lib64/libpython3.9.so.1.0
#93 0x00007f141a29a206 in _PyFunction_Vectorcall () from /lib64/libpython3.9.so.1.0
#94 0x00007f141a28d202 in _PyEval_EvalFrameDefault () from /lib64/libpython3.9.so.1.0
#95 0x00007f141a28c439 in _PyEval_EvalCode () from /lib64/libpython3.9.so.1.0
#96 0x00007f141a29a206 in _PyFunction_Vectorcall () from /lib64/libpython3.9.so.1.0
#97 0x00007f141a28d202 in _PyEval_EvalFrameDefault () from /lib64/libpython3.9.so.1.0
#98 0x00007f141a29a4bb in function_code_fastcall () from /lib64/libpython3.9.so.1.0
#99 0x00007f141a28d202 in _PyEval_EvalFrameDefault () from /lib64/libpython3.9.so.1.0
#100 0x00007f141a28be81 in _PyEval_EvalCode () from /lib64/libpython3.9.so.1.0
#101 0x00007f141a29a206 in _PyFunction_Vectorcall () from /lib64/libpython3.9.so.1.0
#102 0x00007f141a28d202 in _PyEval_EvalFrameDefault () from /lib64/libpython3.9.so.1.0
#103 0x00007f141a29a502 in function_code_fastcall () from /lib64/libpython3.9.so.1.0
#104 0x00007f141a291cce in _PyEval_EvalFrameDefault () from /lib64/libpython3.9.so.1.0
#105 0x00007f141a28be81 in _PyEval_EvalCode () from /lib64/libpython3.9.so.1.0
#106 0x00007f141a309f01 in _PyEval_EvalCodeWithName () from /lib64/libpython3.9.so.1.0
#107 0x00007f141a309ea9 in PyEval_EvalCodeEx () from /lib64/libpython3.9.so.1.0
#108 0x00007f141a309e6b in PyEval_EvalCode () from /lib64/libpython3.9.so.1.0
#109 0x00007f141a33652d in run_eval_code_obj () from /lib64/libpython3.9.so.1.0
#110 0x00007f141a331bd6 in run_mod () from /lib64/libpython3.9.so.1.0
#111 0x00007f141a208976 in PyRun_FileExFlags.cold () from /lib64/libpython3.9.so.1.0
#112 0x00007f141a32c3ee in PyRun_SimpleFileExFlags () from /lib64/libpython3.9.so.1.0
#113 0x00007f141a329722 in Py_RunMain () from /lib64/libpython3.9.so.1.0
#114 0x00007f141a2fcbb9 in Py_BytesMain () from /lib64/libpython3.9.so.1.0
#115 0x00007f1419fe21e2 in __libc_start_main () from /lib64/libc.so.6
#116 0x00005585df66807e in _start ()
(gdb)
Edited by Neal Becker