Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qgis-ltr-3.34 release version crashed when clicking the tools in processing plugin #56778

Open
1 of 2 tasks
XianranZ opened this issue Mar 9, 2024 · 0 comments
Open
1 of 2 tasks
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@XianranZ
Copy link

XianranZ commented Mar 9, 2024

What is the bug or the crash?

I installed qgis-ltr-3.34 in redhat7.6
But it crashed when I clicked the tools in processing plugin.
Strangely, it only crashed in release version, the debug version worked well.
The following is the details information about the crash:

#0  0x00007fa541f4849b in raise () from /usr/lib64/libpthread.so.0
#1  <signal handler called>
#2  0x00007fa531c72207 in raise () from /usr/lib64/libc.so.6
#3  0x00007fa531c738f8 in abort () from /usr/lib64/libc.so.6
#4  0x000000000040fac4 in qgisCrash(int) ()
#5  <signal handler called>
#6  0x00007fa541f4849b in raise () from /usr/lib64/libpthread.so.0
#7  <signal handler called>
#8  0x00007fa4c6f7d476 in QList<QgsLabelBlockingRegion>::QList(QList<QgsLabelBlockingRegion> const&) () from /usr/local/qgis/release/share/qgis/python/qgis/_gui.so
#9  0x00007fa4c6f7a4d2 in meth_QgsMapCanvas_mapSettings () from /usr/local/qgis/release/share/qgis/python/qgis/_gui.so
#10 0x00007fa53e4b4000 in cfunction_call () at Objects/methodobject.c:552
#11 0x00007fa53e48ccdc in _PyObject_MakeTpCall () at Objects/call.c:191
#12 0x00007fa53e4f3917 in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7fa4b26741f0, callable=0x7fa4b26a3900, tstate=<optimized out>) at ./Include/cpython/abstract.h:116
#13 _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7fa4b26741f0, callable=0x7fa4b26a3900, tstate=<optimized out>) at ./Include/cpython/abstract.h:103
#14 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7fa4b26741f0, callable=0x7fa4b26a3900) at ./Include/cpython/abstract.h:127
#15 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x47a5140) at Python/ceval.c:5077
#16 _PyEval_EvalFrameDefault () at Python/ceval.c:3489
#17 0x00007fa53e48d5d3 in _PyEval_EvalFrame (throwflag=0, f=0x7fa4b2674040, tstate=0x47a5140) at ./Include/internal/pycore_ceval.h:40
#18 function_code_fastcall () at Objects/call.c:330
#19 0x00007fa53e4ef06d in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7fa4b2723d20, callable=0x7fa4bb2f69d0, tstate=0x47a5140) at ./Include/cpython/abstract.h:118
#20 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7fa4b2723d20, callable=<optimized out>) at ./Include/cpython/abstract.h:127
#21 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x47a5140) at Python/ceval.c:5077
#22 _PyEval_EvalFrameDefault () at Python/ceval.c:3520
#23 0x00007fa53e48d5d3 in _PyEval_EvalFrame (throwflag=0, f=0x7fa4b2723b80, tstate=0x47a5140) at ./Include/internal/pycore_ceval.h:40
#24 function_code_fastcall () at Objects/call.c:330
#25 0x00007fa53e4ef06d in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7fa4b2723968, callable=0x7fa4bc8d2dc0, tstate=0x47a5140) at ./Include/cpython/abstract.h:118
#26 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7fa4b2723968, callable=<optimized out>) at ./Include/cpython/abstract.h:127
#27 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x47a5140) at Python/ceval.c:5077
#28 _PyEval_EvalFrameDefault () at Python/ceval.c:3520
#29 0x00007fa53e4ee120 in _PyEval_EvalFrame (throwflag=0, f=0x7fa4b27237c0, tstate=0x47a5140) at ./Include/internal/pycore_ceval.h:40
#30 _PyEval_EvalCode () at Python/ceval.c:4329
#31 0x00007fa53e48d3ab in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:396
#32 0x00007fa53e48ef98 in _PyObject_VectorcallTstate (kwnames=<optimized out>, nargsf=<optimized out>, args=0x7fa4b27233c8, callable=0x7fa4b6900dc0, tstate=0x47a5140) at ./Include/cpython/abstract.h:118
#33 method_vectorcall () at Objects/classobject.c:53
#34 0x00007fa53e4f33f0 in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7fa4b27233d0, callable=0x7fa4b269c8c0, tstate=0x47a5140) at ./Include/cpython/abstract.h:118
#35 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7fa4b27233d0, callable=<optimized out>) at ./Include/cpython/abstract.h:127
#36 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x47a5140) at Python/ceval.c:5077
#37 _PyEval_EvalFrameDefault () at Python/ceval.c:3489
#38 0x00007fa53e4ee120 in _PyEval_EvalFrame (throwflag=0, f=0x7fa4b2723220, tstate=0x47a5140) at ./Include/internal/pycore_ceval.h:40
#39 _PyEval_EvalCode () at Python/ceval.c:4329
#40 0x00007fa53e48ca2a in _PyFunction_Vectorcall (kwnames=0x0, nargsf=<optimized out>, stack=0x7ffdb52d9e70, func=0x7fa4b68b8af0) at Objects/call.c:396
#41 _PyObject_FastCallDictTstate () at Objects/call.c:118
#42 0x00007fa53e48db4b in _PyObject_Call_Prepend () at Objects/call.c:489
#43 0x00007fa53e4c6db1 in slot_tp_init () at Objects/typeobject.c:6969
#44 0x00007fa53e4c455b in type_call () at Objects/typeobject.c:3874
#45 0x00007fa53e48ccdc in _PyObject_MakeTpCall () at Objects/call.c:191
#46 0x00007fa53e4f32e7 in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7fa4b26a6c48, callable=0x5d8c4f0, tstate=<optimized out>) at ./Include/cpython/abstract.h:116
#47 _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7fa4b26a6c48, callable=0x5d8c4f0, tstate=<optimized out>) at ./Include/cpython/abstract.h:103
#48 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7fa4b26a6c48, callable=0x5d8c4f0) at ./Include/cpython/abstract.h:127
#49 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x47a5140) at Python/ceval.c:5077
#50 _PyEval_EvalFrameDefault () at Python/ceval.c:3520
#51 0x00007fa53e48d5d3 in _PyEval_EvalFrame (throwflag=0, f=0x7fa4b26a6ac0, tstate=0x47a5140) at ./Include/internal/pycore_ceval.h:40
#52 function_code_fastcall () at Objects/call.c:330
#53 0x00007fa53e48ef98 in _PyObject_VectorcallTstate (kwnames=<optimized out>, nargsf=<optimized out>, args=0x7fa49ea89d98, callable=0x7fa4b68b8a60, tstate=0x47a5140) at ./Include/cpython/abstract.h:118
#54 method_vectorcall () at Objects/classobject.c:53
#55 0x00007fa53e4f33f0 in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7fa49ea89da0, callable=0x7fa4b6209840, tstate=0x47a5140) at ./Include/cpython/abstract.h:118
---Type <return> to continue, or q <return> to quit---
#56 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7fa49ea89da0, callable=<optimized out>) at ./Include/cpython/abstract.h:127
#57 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x47a5140) at Python/ceval.c:5077
#58 _PyEval_EvalFrameDefault () at Python/ceval.c:3489
#59 0x00007fa53e4ee120 in _PyEval_EvalFrame (throwflag=0, f=0x7fa49ea89be0, tstate=0x47a5140) at ./Include/internal/pycore_ceval.h:40
#60 _PyEval_EvalCode () at Python/ceval.c:4329
#61 0x00007fa53e48d3ab in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:396
#62 0x00007fa53e48ef98 in _PyObject_VectorcallTstate (kwnames=<optimized out>, nargsf=<optimized out>, args=0x7fa49ea9e708, callable=0x7fa4b69075e0, tstate=0x47a5140) at ./Include/cpython/abstract.h:118
#63 method_vectorcall () at Objects/classobject.c:53
#64 0x00007fa53e4efd99 in _PyObject_VectorcallTstate (kwnames=0x7fa4b68eb6a0, nargsf=<optimized out>, args=0x7fa49ea9e710, callable=0x7fa49ead4940, tstate=0x47a5140) at ./Include/cpython/abstract.h:118
#65 PyObject_Vectorcall (kwnames=<optimized out>, nargsf=<optimized out>, args=<optimized out>, callable=0x7fa49ead4940) at ./Include/cpython/abstract.h:127
#66 call_function (kwnames=<optimized out>, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=<optimized out>) at Python/ceval.c:5077
#67 _PyEval_EvalFrameDefault () at Python/ceval.c:3537
#68 0x00007fa53e4ee120 in _PyEval_EvalFrame (throwflag=0, f=0x7fa49ea9e580, tstate=0x47a5140) at ./Include/internal/pycore_ceval.h:40
#69 _PyEval_EvalCode () at Python/ceval.c:4329
#70 0x00007fa53e48d3ab in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:396
#71 0x00007fa53e48ca85 in _PyObject_FastCallDictTstate () at Objects/call.c:129
#72 0x00007fa53e48db4b in _PyObject_Call_Prepend () at Objects/call.c:489
#73 0x00007fa53e4c6db1 in slot_tp_init () at Objects/typeobject.c:6969
#74 0x00007fa53e4c455b in type_call () at Objects/typeobject.c:3874
#75 0x00007fa53e48cd70 in _PyObject_MakeTpCall () at Objects/call.c:191
#76 0x00007fa53e4f3b3e in _PyObject_VectorcallTstate (kwnames=0x7fa4b68eb0a0, nargsf=<optimized out>, args=0x7fa49ea9ea80, callable=0x5d7c640, tstate=<optimized out>) at ./Include/cpython/abstract.h:116
#77 _PyObject_VectorcallTstate (kwnames=0x7fa4b68eb0a0, nargsf=<optimized out>, args=0x7fa49ea9ea80, callable=0x5d7c640, tstate=<optimized out>) at ./Include/cpython/abstract.h:103
#78 PyObject_Vectorcall (kwnames=0x7fa4b68eb0a0, nargsf=<optimized out>, args=<optimized out>, callable=0x5d7c640) at ./Include/cpython/abstract.h:127
#79 call_function (kwnames=0x7fa4b68eb0a0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=<optimized out>) at Python/ceval.c:5077
#80 _PyEval_EvalFrameDefault () at Python/ceval.c:3537
#81 0x00007fa53e4ee120 in _PyEval_EvalFrame (throwflag=0, f=0x7fa49ea9e900, tstate=0x47a5140) at ./Include/internal/pycore_ceval.h:40
#82 _PyEval_EvalCode () at Python/ceval.c:4329
#83 0x00007fa53e48d3ab in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:396
#84 0x00007fa53e48ef98 in _PyObject_VectorcallTstate (kwnames=<optimized out>, nargsf=<optimized out>, args=0x3083998, callable=0x7fa4b68b8f70, tstate=0x47a5140) at ./Include/cpython/abstract.h:118
#85 method_vectorcall () at Objects/classobject.c:53
#86 0x00007fa53e4efd99 in _PyObject_VectorcallTstate (kwnames=0x7fa4b551ccd0, nargsf=<optimized out>, args=0x30839a0, callable=0x7fa49eac2e80, tstate=0x47a5140) at ./Include/cpython/abstract.h:118
#87 PyObject_Vectorcall (kwnames=<optimized out>, nargsf=<optimized out>, args=<optimized out>, callable=0x7fa49eac2e80) at ./Include/cpython/abstract.h:127
#88 call_function (kwnames=<optimized out>, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=<optimized out>) at Python/ceval.c:5077
#89 _PyEval_EvalFrameDefault () at Python/ceval.c:3537
#90 0x00007fa53e48d5d3 in _PyEval_EvalFrame (throwflag=0, f=0x30837d0, tstate=0x47a5140) at ./Include/internal/pycore_ceval.h:40
#91 function_code_fastcall () at Objects/call.c:330
#92 0x00007fa53e4ef06d in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7fa49eb77758, callable=0x7fa4b54c4280, tstate=0x47a5140) at ./Include/cpython/abstract.h:118
#93 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7fa49eb77758, callable=<optimized out>) at ./Include/cpython/abstract.h:127
#94 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x47a5140) at Python/ceval.c:5077
#95 _PyEval_EvalFrameDefault () at Python/ceval.c:3520
#96 0x00007fa53e4ee120 in _PyEval_EvalFrame (throwflag=0, f=0x7fa49eb775e0, tstate=0x47a5140) at ./Include/internal/pycore_ceval.h:40
#97 _PyEval_EvalCode () at Python/ceval.c:4329
#98 0x00007fa53e48d3ab in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:396
#99 0x00007fa53e48e2bf in PyVectorcall_Call () at Objects/call.c:231
#100 0x00007fa4d468bd80 in PyQtSlot::call(_object*, _object*) const () from /opt/python3912/lib/python3.9/site-packages/PyQt5/QtCore.abi3.so
#101 0x00007fa4d468c1f8 in PyQtSlot::invoke(void**, _object*, void*, bool) const () from /opt/python3912/lib/python3.9/site-packages/PyQt5/QtCore.abi3.so
#102 0x00007fa4d468c4ee in PyQtSlotProxy::unislot(void**) () from /opt/python3912/lib/python3.9/site-packages/PyQt5/QtCore.abi3.so
#103 0x00007fa4d468cf6f in PyQtSlotProxy::qt_metacall(QMetaObject::Call, int, void**) () from /opt/python3912/lib/python3.9/site-packages/PyQt5/QtCore.abi3.so
#104 0x00007fa54242b02d in ?? () from /opt/qtbase/qt5.15.2/lib/libQt5Core.so.5
#105 0x00007fa54333d892 in QAction::triggered(bool) () from /opt/qtbase/qt5.15.2/lib/libQt5Widgets.so.5
#106 0x00007fa54333fc98 in QAction::activate(QAction::ActionEvent) () from /opt/qtbase/qt5.15.2/lib/libQt5Widgets.so.5
#107 0x00007fa5434b8f82 in ?? () from /opt/qtbase/qt5.15.2/lib/libQt5Widgets.so.5
#108 0x00007fa5434c00da in ?? () from /opt/qtbase/qt5.15.2/lib/libQt5Widgets.so.5
#109 0x00007fa5434c1302 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /opt/qtbase/qt5.15.2/lib/libQt5Widgets.so.5
#110 0x00007fa5433831f6 in QWidget::event(QEvent*) () from /opt/qtbase/qt5.15.2/lib/libQt5Widgets.so.5
#111 0x00007fa5434c383b in QMenu::event(QEvent*) () from /opt/qtbase/qt5.15.2/lib/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#112 0x00007fa54334357f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/qtbase/qt5.15.2/lib/libQt5Widgets.so.5
#113 0x00007fa54334bf38 in QApplication::notify(QObject*, QEvent*) () from /opt/qtbase/qt5.15.2/lib/libQt5Widgets.so.5
#114 0x00007fa53ba45f11 in QgsApplication::notify (this=0x7ffdb52dc440, receiver=0x65d4f70, event=0x7ffdb52db930) at /home/Package/pack/QGIS-ltr-3_34/src/core/qgsapplication.cpp:581
#115 0x00007fa5423f6eda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/qtbase/qt5.15.2/lib/libQt5Core.so.5
#116 0x00007fa54334b2b0 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /opt/qtbase/qt5.15.2/lib/libQt5Widgets.so.5
#117 0x00007fa54339dd70 in ?? () from /opt/qtbase/qt5.15.2/lib/libQt5Widgets.so.5
#118 0x00007fa5433a040c in ?? () from /opt/qtbase/qt5.15.2/lib/libQt5Widgets.so.5
#119 0x00007fa54334357f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/qtbase/qt5.15.2/lib/libQt5Widgets.so.5
#120 0x00007fa54334bd58 in QApplication::notify(QObject*, QEvent*) () from /opt/qtbase/qt5.15.2/lib/libQt5Widgets.so.5
#121 0x00007fa53ba45f11 in QgsApplication::notify (this=0x7ffdb52dc440, receiver=0x6a29240, event=0x7ffdb52dbe50) at /home/Package/pack/QGIS-ltr-3_34/src/core/qgsapplication.cpp:581
#122 0x00007fa5423f6eda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/qtbase/qt5.15.2/lib/libQt5Core.so.5
#123 0x00007fa542a6d888 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /opt/qtbase/qt5.15.2/lib/libQt5Gui.so.5
#124 0x00007fa542a6ee49 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /opt/qtbase/qt5.15.2/lib/libQt5Gui.so.5
#125 0x00007fa542a48a6c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qtbase/qt5.15.2/lib/libQt5Gui.so.5
#126 0x00007fa51e96ca23 in ?? () from /opt/qtbase/qt5.15.2/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#127 0x00007fa5423f5c4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qtbase/qt5.15.2/lib/libQt5Core.so.5
#128 0x00007fa5423fd65c in QCoreApplication::exec() () from /opt/qtbase/qt5.15.2/lib/libQt5Core.so.5
#129 0x000000000040c8ee in main ()

It seems a python version bug.
But I don't know how to fix it.
Note that the debug version works well
This error only occurs in release version

Steps to reproduce the issue

Start qgis
Click processing
Click buffer or anyone tool
See error

Versions

QGIS version: 3.34.0-Prizren QGIS code branch Release 3.34
Qt version: 5.15.2
Python version: 3.9.12
GDAL/OGR version: 3.8.0
PROJ version: 9.3.0
EPSG Registry database version: v10.094 (2023-08-08)
GEOS version: 3.12.1-CAPI-1.18.1
SQLite version: 3.45.0
PDAL version: 2.6.2
PostgreSQL client version: 16.1
SpatiaLite version: 5.1.0
QWT version: 6.2.0
QScintilla2 version: 2.11.6
OS version: Red Hat Enterprise Linux Server 7.6 (Maipo)

This copy of QGIS writes debugging output.

Active Python plugins
db_manager: 0.1.20
otbprovider: 2.12.99
MetaSearch: 0.3.6
processing: 2.12.99
grassprovider: 2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@XianranZ XianranZ added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

1 participant