qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.52k stars 2.99k forks source link

QGIS crashed when starting with ' QGIS died on signal 11 [New LWP 22667]' #56599

Closed XianranZ closed 7 months ago

XianranZ commented 8 months ago

What is the bug or the crash?

Hi, everyone. I installed QGIS-ltr-3.34 on Redhat7.6. There is no error during installing process.

When I type './qgis' in the terminal, it crashed with ' QGIS died on signal 11 [New LWP 22667]'.

Here is the detailed information:

_#0 0x00007f7c0d54d49b in raise () from /usr/lib64/libpthread.so.0

1 0x00007f7c097fb1f1 in faulthandler_fatal_error (signum=6) at ./Modules/faulthandler.c:329

2

3 0x00007f7bfcc17207 in raise () from /usr/lib64/libc.so.6

4 0x00007f7bfcc188f8 in abort () from /usr/lib64/libc.so.6

5 0x000000000040e0ca in qgisCrash (signal=11) at /root/Documents/qgis_package/QGIS-ltr-3_34/src/app/main.cpp:361

6

7 0x00007f7c0d54d49b in raise () from /usr/lib64/libpthread.so.0

8 0x00007f7c097fb1f1 in faulthandler_fatal_error (signum=11) at ./Modules/faulthandler.c:329

9

10 _PyDict_Next (phash=, pvalue=, pkey=0x7ffeec52aa80, ppos=0x7ffeec52aa78, op=0x0) at Objects/dictobject.c:2189

11 PyDict_Next () at Objects/dictobject.c:2189

12 0x00007f7b96fcc649 in trawl_hierarchy(_typeobject, qpycore_metaobject, QMetaObjectBuilder&, QList<_qpycore_pyqtSignal const>&, QMap<unsigned int, QPair<_object, _object*> >&) ()

from /opt/python312/lib/python3.12/site-packages/PyQt5/QtCore.so

13 0x00007f7b96fccbba in trawl_hierarchy(_typeobject, qpycore_metaobject, QMetaObjectBuilder&, QList<_qpycore_pyqtSignal const>&, QMap<unsigned int, QPair<_object, _object*> >&) ()

from /opt/python312/lib/python3.12/site-packages/PyQt5/QtCore.so

14 0x00007f7b96fccbba in trawl_hierarchy(_typeobject, qpycore_metaobject, QMetaObjectBuilder&, QList<_qpycore_pyqtSignal const>&, QMap<unsigned int, QPair<_object, _object*> >&) ()

from /opt/python312/lib/python3.12/site-packages/PyQt5/QtCore.so

15 0x00007f7b96fccd29 in qpycore_new_user_type_handler(_sipWrapperType*) () from /opt/python312/lib/python3.12/site-packages/PyQt5/QtCore.so

16 0x00007f7b96ba7104 in sipWrapperType_init (args=, kwds=, self=0x4e14ea0) at siplib.c:9865

17 sipWrapperType_init (self=0x4e14ea0, args=, kwds=) at siplib.c:9827

18 0x00007f7c0989a9aa in type_call () at Objects/typeobject.c:1673

19 0x00007f7c0984fd96 in _PyObject_MakeTpCall.localalias () at Objects/call.c:240

20 0x00007f7c09850163 in _PyObject_FastCallDictTstate (kwargs=0x0, nargsf=3, args=0x7ffeec52ae90, callable=0x7f7b96dbcea0 , tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at Objects/call.c:128

21 PyObject_VectorcallDict () at Objects/call.c:157

22 0x00007f7c099676aa in builtin_build_class () at Python/bltinmodule.c:208

23 0x00007f7c09884f43 in cfunction_vectorcall_FASTCALL_KEYWORDS () at ./Include/cpython/methodobject.h:50

24 0x00007f7c098504a1 in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=9223372036854775812, args=0x7f7c13015498, callable=0x7f7bdc0b5990, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

25 PyObject_Vectorcall () at Objects/call.c:325

26 0x00007f7c098d2b04 in _PyEval_EvalFrameDefault.localalias () at Python/bytecodes.c:2706

27 0x00007f7c09969082 in PyEval_EvalCode () at Python/ceval.c:578

28 0x00007f7c09967f20 in builtin_exec_impl (module=, closure=, locals=0x7f7b84e6b840, globals=0x7f7b84e6b840, source=0x4e2b190) at Python/bltinmodule.c:1096

29 builtin_exec () at Python/clinic/bltinmodule.c.h:586

30 0x00007f7c09884f43 in cfunction_vectorcall_FASTCALL_KEYWORDS () at ./Include/cpython/methodobject.h:50

31 0x00007f7c09851575 in PyObject_Call () from /opt/python312/lib/libpython3.12.so.1.0

32 0x00007f7c098d76b8 in _PyEval_EvalFrameDefault.localalias () at Python/bytecodes.c:3254

33 0x00007f7c0985069e in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=, args=0x7ffeec52b420, callable=0x7f7bdc0c4040, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

34 object_vacall () at Objects/call.c:850

35 0x00007f7c098518bb in PyObject_CallMethodObjArgs () at Objects/call.c:911

36 0x00007f7c098f11c9 in import_find_and_load (abs_name=0x7f7b84e83dc0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at Python/import.c:2779

37 PyImport_ImportModuleLevelObject.localalias () at Python/import.c:2862

38 0x00007f7c098cf62f in builtinimportimpl (module=, level=, fromlist=0x7f7b84e6e260, locals=0x7f7b84e6bb80, globals=0x7f7b84e6bb80, name=0x7f7b84e83dc0) at Python/bltinmodule.c:275

39 builtin_import () at Python/clinic/bltinmodule.c.h:107

40 0x00007f7c098d5be6 in _PyEval_EvalFrameDefault.localalias () at ./Include/cpython/methodobject.h:50

41 0x00007f7c0984ff5f in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=5, args=0x7ffeec52b910, callable=0x7f7b9441c0e0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

42 _PyObject_FastCallTstate (nargs=5, args=0x7ffeec52b910, func=0x7f7b9441c0e0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:116

43 _PyObject_FastCall (func=0x7f7b9441c0e0, args=0x7ffeec52b910, nargs=5) at Objects/call.c:334

44 0x00007f7c097c0ca7 in import_name (level=0x7f7c09e99de8 <_PyRuntime+3272>, fromlist=0x7f7b84e6e260, name=0x7f7b84e83dc0, frame=0x7f7c13014fe0, tstate=) at Python/ceval.c:2500

45 _PyEval_EvalFrameDefault (tstate=, frame=0x7f7c13014fe0, throwflag=) at Python/bytecodes.c:2135

46 0x00007f7c09969082 in PyEval_EvalCode () at Python/ceval.c:578

47 0x00007f7c09967f20 in builtin_exec_impl (module=, closure=, locals=0x7f7b84e6bb80, globals=0x7f7b84e6bb80, source=0x7f7b94411de0) at Python/bltinmodule.c:1096

48 builtin_exec () at Python/clinic/bltinmodule.c.h:586

---Type to continue, or q to quit---

49 0x00007f7c09884f43 in cfunction_vectorcall_FASTCALL_KEYWORDS () at ./Include/cpython/methodobject.h:50

50 0x00007f7c09851575 in PyObject_Call () from /opt/python312/lib/libpython3.12.so.1.0

51 0x00007f7c098d76b8 in _PyEval_EvalFrameDefault.localalias () at Python/bytecodes.c:3254

52 0x00007f7c0985069e in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=, args=0x7ffeec52bd00, callable=0x7f7bdc0c4040, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

53 object_vacall () at Objects/call.c:850

54 0x00007f7c098518bb in PyObject_CallMethodObjArgs () at Objects/call.c:911

55 0x00007f7c098f11c9 in import_find_and_load (abs_name=0x7f7b84e592f0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at Python/import.c:2779

56 PyImport_ImportModuleLevelObject.localalias () at Python/import.c:2862

57 0x00007f7c098cf62f in builtinimportimpl (module=, level=, fromlist=0x7f7b94095ea0, locals=0x7f7b944a3f40, globals=0x7f7b944a3f40, name=0x7f7b84e592f0) at Python/bltinmodule.c:275

58 builtin_import () at Python/clinic/bltinmodule.c.h:107

59 0x00007f7c098d5be6 in _PyEval_EvalFrameDefault.localalias () at ./Include/cpython/methodobject.h:50

60 0x00007f7c0984ff5f in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=5, args=0x7ffeec52c1f0, callable=0x7f7b9441c0e0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

61 _PyObject_FastCallTstate (nargs=5, args=0x7ffeec52c1f0, func=0x7f7b9441c0e0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:116

62 _PyObject_FastCall (func=0x7f7b9441c0e0, args=0x7ffeec52c1f0, nargs=5) at Objects/call.c:334

63 0x00007f7c097c0ca7 in import_name (level=0x7f7c09e99de8 <_PyRuntime+3272>, fromlist=0x7f7b94095ea0, name=0x7f7b84e592f0, frame=0x7f7c13014b78, tstate=) at Python/ceval.c:2500

64 _PyEval_EvalFrameDefault (tstate=, frame=0x7f7c13014b78, throwflag=) at Python/bytecodes.c:2135

65 0x00007f7c09969082 in PyEval_EvalCode () at Python/ceval.c:578

66 0x00007f7c09967f20 in builtin_exec_impl (module=, closure=, locals=0x7f7b944a3f40, globals=0x7f7b944a3f40, source=0x4dde080) at Python/bltinmodule.c:1096

67 builtin_exec () at Python/clinic/bltinmodule.c.h:586

68 0x00007f7c09884f43 in cfunction_vectorcall_FASTCALL_KEYWORDS () at ./Include/cpython/methodobject.h:50

69 0x00007f7c09851575 in PyObject_Call () from /opt/python312/lib/libpython3.12.so.1.0

70 0x00007f7c098d76b8 in _PyEval_EvalFrameDefault.localalias () at Python/bytecodes.c:3254

71 0x00007f7c0985069e in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=, args=0x7ffeec52c5e0, callable=0x7f7bdc0c4040, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

72 object_vacall () at Objects/call.c:850

73 0x00007f7c098518bb in PyObject_CallMethodObjArgs () at Objects/call.c:911

74 0x00007f7c098f11c9 in import_find_and_load (abs_name=0x7f7b84e58d50, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at Python/import.c:2779

75 PyImport_ImportModuleLevelObject.localalias () at Python/import.c:2862

76 0x00007f7c098cf62f in builtinimportimpl (module=, level=, fromlist=0x7f7b94095f00, locals=0x7f7b944a3fc0, globals=0x7f7b944a3fc0, name=0x7f7b84e58d50) at Python/bltinmodule.c:275

77 builtin_import () at Python/clinic/bltinmodule.c.h:107

78 0x00007f7c098d5be6 in _PyEval_EvalFrameDefault.localalias () at ./Include/cpython/methodobject.h:50

79 0x00007f7c0984ff5f in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=5, args=0x7ffeec52cad0, callable=0x7f7b9441c0e0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

80 _PyObject_FastCallTstate (nargs=5, args=0x7ffeec52cad0, func=0x7f7b9441c0e0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:116

81 _PyObject_FastCall (func=0x7f7b9441c0e0, args=0x7ffeec52cad0, nargs=5) at Objects/call.c:334

82 0x00007f7c097c0ca7 in import_name (level=0x7f7c09e99de8 <_PyRuntime+3272>, fromlist=0x7f7b94095f00, name=0x7f7b84e58d50, frame=0x7f7c13014730, tstate=) at Python/ceval.c:2500

83 _PyEval_EvalFrameDefault (tstate=, frame=0x7f7c13014730, throwflag=) at Python/bytecodes.c:2135

84 0x00007f7c09969082 in PyEval_EvalCode () at Python/ceval.c:578

85 0x00007f7c09967f20 in builtin_exec_impl (module=, closure=, locals=0x7f7b944a3fc0, globals=0x7f7b944a3fc0, source=0x7f7b9475a130) at Python/bltinmodule.c:1096

86 builtin_exec () at Python/clinic/bltinmodule.c.h:586

87 0x00007f7c09884f43 in cfunction_vectorcall_FASTCALL_KEYWORDS () at ./Include/cpython/methodobject.h:50

88 0x00007f7c09851575 in PyObject_Call () from /opt/python312/lib/libpython3.12.so.1.0

89 0x00007f7c098d76b8 in _PyEval_EvalFrameDefault.localalias () at Python/bytecodes.c:3254

90 0x00007f7c0985069e in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=, args=0x7ffeec52cec0, callable=0x7f7bdc0c4040, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

91 object_vacall () at Objects/call.c:850

92 0x00007f7c098518bb in PyObject_CallMethodObjArgs () at Objects/call.c:911

93 0x00007f7c098f11c9 in import_find_and_load (abs_name=0x7f7b94090da0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at Python/import.c:2779

94 PyImport_ImportModuleLevelObject.localalias () at Python/import.c:2862

95 0x00007f7c098cf62f in builtinimportimpl (module=, level=, fromlist=0x7f7b94446e30, locals=0x7f7b944a3300, globals=0x7f7b944a3300, name=0x7f7b94090da0) at Python/bltinmodule.c:275

96 builtin_import () at Python/clinic/bltinmodule.c.h:107

97 0x00007f7c098d5be6 in _PyEval_EvalFrameDefault.localalias () at ./Include/cpython/methodobject.h:50

98 0x00007f7c0984ff5f in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=5, args=0x7ffeec52d3b0, callable=0x7f7b9441c0e0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

99 _PyObject_FastCallTstate (nargs=5, args=0x7ffeec52d3b0, func=0x7f7b9441c0e0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:116

100 _PyObject_FastCall (func=0x7f7b9441c0e0, args=0x7ffeec52d3b0, nargs=5) at Objects/call.c:334

---Type to continue, or q to quit---

101 0x00007f7c097c0ca7 in import_name (level=0x7f7c09e99de8 <_PyRuntime+3272>, fromlist=0x7f7b94446e30, name=0x7f7b94090da0, frame=0x7f7c130142e8, tstate=) at Python/ceval.c:2500

102 _PyEval_EvalFrameDefault (tstate=, frame=0x7f7c130142e8, throwflag=) at Python/bytecodes.c:2135

103 0x00007f7c09969082 in PyEval_EvalCode () at Python/ceval.c:578

104 0x00007f7c09967f20 in builtin_exec_impl (module=, closure=, locals=0x7f7b944a3300, globals=0x7f7b944a3300, source=0x4cffca0) at Python/bltinmodule.c:1096

105 builtin_exec () at Python/clinic/bltinmodule.c.h:586

106 0x00007f7c09884f43 in cfunction_vectorcall_FASTCALL_KEYWORDS () at ./Include/cpython/methodobject.h:50

107 0x00007f7c09851575 in PyObject_Call () from /opt/python312/lib/libpython3.12.so.1.0

108 0x00007f7c098d76b8 in _PyEval_EvalFrameDefault.localalias () at Python/bytecodes.c:3254

109 0x00007f7c0985069e in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=, args=0x7ffeec52d7a0, callable=0x7f7bdc0c4040, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

110 object_vacall () at Objects/call.c:850

111 0x00007f7c098518bb in PyObject_CallMethodObjArgs () at Objects/call.c:911

112 0x00007f7c098f11c9 in import_find_and_load (abs_name=0x7f7b94449530, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at Python/import.c:2779

113 PyImport_ImportModuleLevelObject.localalias () at Python/import.c:2862

114 0x00007f7c098cf6e3 in builtinimportimpl (module=, level=, fromlist=0x0, locals=0x0, globals=0x0, name=0x7f7b94449530) at Python/bltinmodule.c:275

115 builtin_import () at Python/clinic/bltinmodule.c.h:107

116 0x00007f7c09884f43 in cfunction_vectorcall_FASTCALL_KEYWORDS () at ./Include/cpython/methodobject.h:50

117 0x00007f7c09851575 in PyObject_Call () from /opt/python312/lib/libpython3.12.so.1.0

118 0x00007f7c098d76b8 in _PyEval_EvalFrameDefault.localalias () at Python/bytecodes.c:3254

119 0x00007f7c0985069e in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=, args=0x7ffeec52dc60, callable=0x7f7bdc0c4040, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

120 object_vacall () at Objects/call.c:850

121 0x00007f7c098518bb in PyObject_CallMethodObjArgs () at Objects/call.c:911

122 0x00007f7c098f11c9 in import_find_and_load (abs_name=0x7f7b94448bf0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at Python/import.c:2779

123 PyImport_ImportModuleLevelObject.localalias () at Python/import.c:2862

124 0x00007f7c098cf6e3 in builtinimportimpl (module=, level=, fromlist=0x0, locals=0x0, globals=0x0, name=0x7f7b94448bf0) at Python/bltinmodule.c:275

125 builtin_import () at Python/clinic/bltinmodule.c.h:107

126 0x00007f7c09884f43 in cfunction_vectorcall_FASTCALL_KEYWORDS () at ./Include/cpython/methodobject.h:50

127 0x00007f7c09851575 in PyObject_Call () from /opt/python312/lib/libpython3.12.so.1.0

128 0x00007f7c098d76b8 in _PyEval_EvalFrameDefault.localalias () at Python/bytecodes.c:3254

129 0x00007f7c0985069e in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=, args=0x7ffeec52e120, callable=0x7f7bdc0c4040, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

130 object_vacall () at Objects/call.c:850

131 0x00007f7c098518bb in PyObject_CallMethodObjArgs () at Objects/call.c:911

132 0x00007f7c098f11c9 in import_find_and_load (abs_name=0x7f7b9443c3f0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at Python/import.c:2779

133 PyImport_ImportModuleLevelObject.localalias () at Python/import.c:2862

134 0x00007f7c098cf62f in builtinimportimpl (module=, level=, fromlist=0x7f7b944335c0, locals=0x7f7b94432c80, globals=0x7f7b94432c80, name=0x7f7b9443c3f0) at Python/bltinmodule.c:275

135 builtin_import () at Python/clinic/bltinmodule.c.h:107

136 0x00007f7c098d5be6 in _PyEval_EvalFrameDefault.localalias () at ./Include/cpython/methodobject.h:50

137 0x00007f7c0984ff5f in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=5, args=0x7ffeec52e610, callable=0x7f7b9441c0e0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

138 _PyObject_FastCallTstate (nargs=5, args=0x7ffeec52e610, func=0x7f7b9441c0e0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:116

139 _PyObject_FastCall (func=0x7f7b9441c0e0, args=0x7ffeec52e610, nargs=5) at Objects/call.c:334

140 0x00007f7c097c0ca7 in import_name (level=0x7f7c09e99de8 <_PyRuntime+3272>, fromlist=0x7f7b944335c0, name=0x7f7b9443c3f0, frame=0x7f7c13013aa8, tstate=) at Python/ceval.c:2500

141 _PyEval_EvalFrameDefault (tstate=, frame=0x7f7c13013aa8, throwflag=) at Python/bytecodes.c:2135

142 0x00007f7c09969082 in PyEval_EvalCode () at Python/ceval.c:578

143 0x00007f7c09967f20 in builtin_exec_impl (module=, closure=, locals=0x7f7b94432c80, globals=0x7f7b94432c80, source=0x7f7b943a9000) at Python/bltinmodule.c:1096

144 builtin_exec () at Python/clinic/bltinmodule.c.h:586

145 0x00007f7c09884f43 in cfunction_vectorcall_FASTCALL_KEYWORDS () at ./Include/cpython/methodobject.h:50

146 0x00007f7c09851575 in PyObject_Call () from /opt/python312/lib/libpython3.12.so.1.0

147 0x00007f7c098d76b8 in _PyEval_EvalFrameDefault.localalias () at Python/bytecodes.c:3254

148 0x00007f7c0985069e in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=, args=0x7ffeec52ea00, callable=0x7f7bdc0c4040, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

149 object_vacall () at Objects/call.c:850

150 0x00007f7c098518bb in PyObject_CallMethodObjArgs () at Objects/call.c:911

151 0x00007f7c098f11c9 in import_find_and_load (abs_name=0x7f7b94417fa0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at Python/import.c:2779

152 PyImport_ImportModuleLevelObject.localalias () at Python/import.c:2862

---Type to continue, or q to quit---

153 0x00007f7c098cf62f in builtinimportimpl (module=, level=, fromlist=0x7f7b943f4550, locals=0x7f7b9487be80, globals=0x7f7b9487be80, name=0x7f7b94417fa0) at Python/bltinmodule.c:275

154 builtin_import () at Python/clinic/bltinmodule.c.h:107

155 0x00007f7c098d5be6 in _PyEval_EvalFrameDefault.localalias () at ./Include/cpython/methodobject.h:50

156 0x00007f7c0984ff5f in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=5, args=0x7ffeec52eef0, callable=0x7f7b9441c0e0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

157 _PyObject_FastCallTstate (nargs=5, args=0x7ffeec52eef0, func=0x7f7b9441c0e0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:116

158 _PyObject_FastCall (func=0x7f7b9441c0e0, args=0x7ffeec52eef0, nargs=5) at Objects/call.c:334

159 0x00007f7c097c0ca7 in import_name (level=0x7f7c09e99de8 <_PyRuntime+3272>, fromlist=0x7f7b943f4550, name=0x7f7b94417fa0, frame=0x7f7c13013640, tstate=) at Python/ceval.c:2500

160 _PyEval_EvalFrameDefault (tstate=, frame=0x7f7c13013640, throwflag=) at Python/bytecodes.c:2135

161 0x00007f7c09969082 in PyEval_EvalCode () at Python/ceval.c:578

162 0x00007f7c09967f20 in builtin_exec_impl (module=, closure=, locals=0x7f7b9487be80, globals=0x7f7b9487be80, source=0x7f7b947594d0) at Python/bltinmodule.c:1096

163 builtin_exec () at Python/clinic/bltinmodule.c.h:586

164 0x00007f7c09884f43 in cfunction_vectorcall_FASTCALL_KEYWORDS () at ./Include/cpython/methodobject.h:50

165 0x00007f7c09851575 in PyObject_Call () from /opt/python312/lib/libpython3.12.so.1.0

166 0x00007f7c098d76b8 in _PyEval_EvalFrameDefault.localalias () at Python/bytecodes.c:3254

167 0x00007f7c0985069e in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=, args=0x7ffeec52f2e0, callable=0x7f7bdc0c4040, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

168 object_vacall () at Objects/call.c:850

169 0x00007f7c098518bb in PyObject_CallMethodObjArgs () at Objects/call.c:911

170 0x00007f7c098f11c9 in import_find_and_load (abs_name=0x7f7b94417dc0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at Python/import.c:2779

171 PyImport_ImportModuleLevelObject.localalias () at Python/import.c:2862

172 0x00007f7c098cf62f in builtinimportimpl (module=, level=, fromlist=0x7f7b943f51e0, locals=0x7f7c09db34c0 <_Py_NoneStruct>, globals=0x7f7b94429c40, name=0x7f7b94417dc0) at Python/bltinmodule.c:275

173 builtin_import () at Python/clinic/bltinmodule.c.h:107

174 0x00007f7c098d5be6 in _PyEval_EvalFrameDefault.localalias () at ./Include/cpython/methodobject.h:50

175 0x00007f7c0984ff5f in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=5, args=0x7ffeec52f7d0, callable=0x7f7b9441c0e0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:92

176 _PyObject_FastCallTstate (nargs=5, args=0x7ffeec52f7d0, func=0x7f7b9441c0e0, tstate=0x7f7c09f094a8 <_PyRuntime+459656>) at ./Include/internal/pycore_call.h:116

177 _PyObject_FastCall (func=0x7f7b9441c0e0, args=0x7ffeec52f7d0, nargs=5) at Objects/call.c:334

178 0x00007f7c097c0ca7 in import_name (level=0x7f7c09e99de8 <_PyRuntime+3272>, fromlist=0x7f7b943f51e0, name=0x7f7b94417dc0, frame=0x7f7c130131e8, tstate=) at Python/ceval.c:2500

179 _PyEval_EvalFrameDefault (tstate=, frame=0x7f7c130131e8, throwflag=) at Python/bytecodes.c:2135

180 0x00007f7c09969082 in PyEval_EvalCode () at Python/ceval.c:578

181 0x00007f7c0998a3c1 in run_eval_code_obj () at Python/pythonrun.c:1691

182 0x00007f7c0998a33b in run_mod () at Python/pythonrun.c:1712

183 0x00007f7c0998a288 in PyRun_StringFlags (str=, start=, globals=0x7f7bdc1196c0, locals=0x7f7bdc1196c0, flags=0x0) at Python/pythonrun.c:1587

184 0x00007f7c09f143d1 in QgsPythonUtilsImpl::evalString (this=0x3ecb130, command=..., result=...) at /root/Documents/qgis_package/QGIS-ltr-3_34/src/python/qgspythonutilsimpl.cpp:570

185 0x00007f7c09f15498 in QgsPythonUtilsImpl::startPlugin (this=0x3ecb130, packageName=...) at /root/Documents/qgis_package/QGIS-ltr-3_34/src/python/qgspythonutilsimpl.cpp:680

186 0x00007f7c12234ab0 in QgsPluginRegistry::loadPythonPlugin (this=0x3c02390, packageName=...) at /root/Documents/qgis_package/QGIS-ltr-3_34/src/app/qgspluginregistry.cpp:310

187 0x00007f7c12238ac3 in QgsPluginRegistry::restoreSessionPlugins (this=0x3c02390, pluginDirString=...) at /root/Documents/qgis_package/QGIS-ltr-3_34/src/app/qgspluginregistry.cpp:652

188 0x00007f7c11ea435d in QgisApp::QgisApp (this=0x211c800, splash=0x2325650, restorePlugins=true, skipBadLayers=false, skipVersionCheck=false, rootProfileLocation=..., activeProfile=..., parent=0x0, fl=...)

at /root/Documents/qgis_package/QGIS-ltr-3_34/src/app/qgisapp.cpp:1664

189 0x000000000041557d in main (argc=1, argv=0x7ffeec533de8) at /root/Documents/qgis_package/QGIS-ltr-334/src/app/main.cpp:1533

It seems that QGIS crashed in python, or pyqt5, or pyqt5-sip, or sip. I don't know why.

I searched some solutions on the internet and try them, but they didn't work.

they are :

53645 #31350 #56058 #24056

https://gis.stackexchange.com/questions/308247/qgis-dies-at-startup-ubuntu-18-04

https://issues.qgis.org/issues/16144

Based on these solutions, I made the following attempts

  1. change the QGIS version to ltr-3.28, ltr-3.22 and 3.28.14, but got the same error.
  2. change the Qt version to 5.15.15 and 5.14.2, but got the same error.

This problem has been bothering me for many days now and I don't know what to do about it anymore.

If you know something, please help.

Thanks a lots.

Steps to reproduce the issue

open a terminal

type './qgis' and enter

QGIS crashed

Versions

I can't open QGIS, so use the cmake information instead.

QGIS version: 3.34.0 Prizren (33400) Could NOT find OpenCL (missing: OpenCL_INCLUDE_DIR) Couldn't find OpenCL: support DISABLED Found GRASS 8: /usr/local/grass83 (8.3.1, off_t size = ) Found Proj: 9.3.0 /usr/local/lib64/cmake/proj Found Geos: 3.12.1 /usr/local/lib64/cmake/GEOS Found GDAL: 3.8.0 /usr/local/lib64/cmake/gdal Found Spatialindex: /usr/local/lib/libspatialindex.so Found libzip: /usr/local/lib64/libzip.so Found Sqlite3: /usr/local/lib/libsqlite3.so Could NOT find Protobuf (missing: Protobuf_DIR) Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread Found zlib: /usr/lib64/libz.so Found exiv2: /usr/local/lib64/libexiv2.so Checking for one of the modules 'spatialite' Found SpatiaLite: /usr/local/lib/libspatialite.so Qt WebKit support DISABLED. Using embedded laz-perf Found ZSTD: /usr/local/lib/libzstd.so Found PDAL: pdalcpp (2.6.2) Found Draco: /usr/local/lib64/libdraco.a (1.5.7) Found Qt version: 5.15.2 Found QScintilla2: /opt/qtbase/qt5.15.2/lib/libqscintilla2_qt5.so (2.11.6) Found Qwt: /usr/local/qwt-6.2.0/lib/libqwt.so (6.2.0) Found QtKeychain: /usr/local/lib64/libqt5keychain.so Found QCA: /opt/qtbase/qt5.15.2/lib/libqca-qt5.so (2.3.8) Found QCA OpenSSL plugin Pedantic compiler settings enabled Debug output enabled -- Found Python executable: /usr/bin/python (version 3.12.1) -- Python library: /opt/python312/lib/libpython3.12.so -- Python site-packages: /opt/python312/lib/python3.12/site-packages Found SIP version: 4.19.25 Found PyQt5 version: 5.15.2 Found QScintilla2 PyQt module: 2.11.6 Using PROJ >= 6 srs database. QtGamepad not enabled - disabling bindings for derived classes Ctest Binary Directory set to: /root/Documents/qgis_package/QGIS-ltr-3_34/build_debug/output/bin

qwt 6.2.0

pyqt5-sip 12.13.0

Supported QGIS version

New profile

Additional context

No response

XianranZ commented 8 months ago

python traceback:

traceback: File "", line 1, in File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 994, in exec_module File "", line 488, in _call_with_frames_removed File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/pyplugin_installer/init.py", line 31, in from . import installer File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1415, in _handle_fromlist File "", line 488, in _call_with_frames_removed File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 994, in exec_module File "", line 488, in _call_with_frames_removed File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/pyplugin_installer/installer.py", line 50, in from .installer_data import (repositories, plugins, officialRepo, File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 994, in exec_module File "", line 488, in _call_with_frames_removed File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/pyplugin_installer/installer_data.py", line 142, in class Relay(QObject):

src/core/qgsmessagelog.cpp:39 : (logMessage) [2ms] 2024-02-29T16:01:30 Python warning[1] warning:/usr/local/QGIS/ltr3.34/debug/share/qgis/python/pyplugin_installer/installer_data.py:164: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead class Repositories(QObject):

traceback: File "", line 1, in File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 994, in exec_module File "", line 488, in _call_with_frames_removed File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/pyplugin_installer/init.py", line 31, in from . import installer File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1415, in _handle_fromlist File "", line 488, in _call_with_frames_removed File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 994, in exec_module File "", line 488, in _call_with_frames_removed File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/pyplugin_installer/installer.py", line 50, in from .installer_data import (repositories, plugins, officialRepo, File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 994, in exec_module File "", line 488, in _call_with_frames_removed File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/pyplugin_installer/installer_data.py", line 164, in class Repositories(QObject):

src/core/qgsmessagelog.cpp:39 : (logMessage) [4ms] 2024-02-29T16:01:30 Python warning[1] warning:/usr/local/QGIS/ltr3.34/debug/share/qgis/python/pyplugin_installer/installer_data.py:471: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead class Plugins(QObject):

traceback: File "", line 1, in File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 994, in exec_module File "", line 488, in _call_with_frames_removed File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/pyplugin_installer/init.py", line 31, in from . import installer File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1415, in _handle_fromlist File "", line 488, in _call_with_frames_removed File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 994, in exec_module File "", line 488, in _call_with_frames_removed File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/pyplugin_installer/installer.py", line 50, in from .installer_data import (repositories, plugins, officialRepo, File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 994, in exec_module File "", line 488, in _call_with_frames_removed File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/pyplugin_installer/installer_data.py", line 471, in class Plugins(QObject):

src/core/qgsmessagelog.cpp:39 : (logMessage) [16ms] 2024-02-29T16:01:30 Python warning[1] warning:/usr/local/QGIS/ltr3.34/debug/share/qgis/python/pyplugin_installer/qgsplugininstallerinstallingdialog.py:40: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead class QgsPluginInstallerInstallingDialog(QDialog, Ui_QgsPluginInstallerInstallingDialogBase):

traceback: File "", line 1, in File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 994, in exec_module File "", line 488, in _call_with_frames_removed File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/pyplugin_installer/init.py", line 31, in from . import installer File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1415, in _handle_fromlist File "", line 488, in _call_with_frames_removed File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 994, in exec_module File "", line 488, in _call_with_frames_removed File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/pyplugin_installer/installer.py", line 52, in from .qgsplugininstallerinstallingdialog import QgsPluginInstallerInstallingDialog File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 994, in exec_module File "", line 488, in _call_with_frames_removed File "/usr/local/QGIS/ltr3.34/debug/share/qgis/python/pyplugin_installer/qgsplugininstallerinstallingdialog.py", line 40, in class QgsPluginInstallerInstallingDialog(QDialog, Ui_QgsPluginInstallerInstallingDialogBase):

QGIS died on signal 11

agiudiceandrea commented 7 months ago

@XianranZ, thanks for reporting. Please specify how have you installed exactly QGIS on your system and if you have actually tried if the issue occurs using a new QGIS user profile.

XianranZ commented 7 months ago

aha, I uncover the python version cause the crash. I uninstall python3.12.1 and install python3.9.12 the qgis starts successfully!