andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

PyType_HasFeature(): python3.10 killed by SIGSEGV #482

Open rapgro opened 11 months ago

rapgro commented 11 months ago

https://bugzilla.redhat.com/show_bug.cgi?id=2119641

The file still crashes Enki.

enki-22.08.0-2.fc38.src.rpm

Description of problem: Save this to opt.py and open it in Enki.

#!/usr/bin/env python

import TestSCons

test = TestSCons.TestSCons()
test.write('SConstruct', "")
test.run(arguments = '-m .',
         stderr = "Warning:  ignoring -m option\n")

Version-Release number of selected component: enki-22.08.0-1.fc36

Additional info: reporter: libreport-2.17.1 backtrace_rating: 4 cgroup: 0::/user.slice/user-1000.slice/user@1000.service/app.slice/vte-spawn-447f7f17-0acf-4a7d-b191-73148963eaef.scope cmdline: /usr/bin/python3 /usr/bin/enki /tmp/option-m.py crash_function: PyType_HasFeature executable: /usr/bin/python3.10 journald_cursor: s=3847169c77844d3298a2f577e1cc42c1;i=afbcc;b=305f7b11810b4395b32fbfd341b07a5a;m=b6a287b9c2;t=5e68f3fb1095e;x=43d66564555554a1 kernel: 5.18.15-200.fc36.x86_64 rootdir: / runlevel: N 5 type: CCpp uid: 1000

Truncated backtrace:

Thread no. 1 (10 frames)
 #0 PyType_HasFeature at /usr/src/debug/python3.10-3.10.5-2.fc36.x86_64/Include/object.h:731
 #1 PyTuple_Size at /usr/src/debug/python3.10-3.10.5-2.fc36.x86_64/Objects/tupleobject.c:171
 #2 qpycore_qobject_qt_metacast at ../../qpy/QtCore/qpycore_qobject_helpers.cpp:251
 #4 sipQDockWidget::qt_metacast at /usr/src/debug/python-qt5-5.15.6-7.fc36.x86_64/build/QtWidgets/sipQtWidgetsQDockWidget.cpp:364
 #5 QObject::inherits at /usr/include/qt5/QtCore/qobject.h:428
 #6 Adwaita::Style::drawFramePrimitive at /usr/src/debug/adwaita-qt-1.4.1-3.fc36.x86_64/src/style/adwaitastyle.cpp:3250
 #7 Adwaita::Style::drawPrimitive at /usr/src/debug/adwaita-qt-1.4.1-3.fc36.x86_64/src/style/adwaitastyle.cpp:1066
 #8 QStyleSheetStyle::drawPrimitive at styles/qstylesheetstyle.cpp:4443
 #9 Adwaita::Style::drawControl at /usr/src/debug/adwaita-qt-1.4.1-3.fc36.x86_64/src/style/adwaitastyle.cpp:1180
 #10 QStyleSheetStyle::drawControl at styles/qstylesheetstyle.cpp:4307