https://bugs.kde.org/show_bug.cgi?id=525418
Bug ID: 525418
Summary: Crashes when editing Python code
Classification: Applications
Product: kdevelop
Version First 6.6.260800
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: All editors
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 195897
--> https://bugs.kde.org/attachment.cgi?id=195897&action=edit
Stack traces for crash
***
If you're not sure this is actually a bug or valid feature request, instead
post about it at https://discuss.kde.org
If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Do not paste LLM output.
Please remove this comment after reading and before submitting - thanks!
***
DESCRIPTION
I frequently get crashes
STEPS TO REPRODUCE
1. Open Python code
2. Start writing new code
3. Watch it crash
Code in question:
...
import packaging.version
CRYPTOGRAPHY_VERSION = packaging.version.parse(cryptography.__version__)
HAS_ASN1 = CRYPTOGRAPHY_VERSION >= packaging.version.parse("50.0.1")
if HAS_ASN1:
from cryptography.hazmat import asn1
else:
print(f"C(cursor here)") < crashes here
OBSERVED RESULT
It crashes while typing the print statement:
[Switching to Thread 0x7fffa97ff6c0 (LWP 140453)]
Python::ExpressionParser::popExpression (this=this@entry=0x7fffa97fd600,
status=status@entry=0x7fffa97fd41c)
at /usr/src/debug/kdev-python-26.08.0/codecompletion/helpers.cpp:221
221 if ( ! it->isSpace() ) {
EXPECTED RESULT
I expect it not to crash
SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20260907
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.2
Kernel Version: 7.2.3-1-default (64-bit)
Graphics Platform: X11
Processors: 20 × Intel® Core™ Ultra 7 265
Memory: 128 GiB of RAM (125.2 GiB usable)
Graphics Processor: Intel® Graphics
ADDITIONAL INFORMATION
This is repeatable. I cannot provide the source code I am editing, and the
background parser is running.
--
You are receiving this mail because:
You are watching all bug changes.