https://bugs.kde.org/show_bug.cgi?id=513423
Bug ID: 513423
Summary: A crash in python debugger variable widget.
Classification: Applications
Product: kdevelop
Version First 6.3.250802
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
A crash in KDevelop python debugger variable widget:
0 __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007ffff5a989d3 in __pthread_kill_internal (threadid=<optimized out>,
signo=6) at pthread_kill.c:89
#2 0x00007ffff5a3e3a0 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#3 0x00007ffff5a2557a in __GI_abort () at abort.c:77
#4 0x00007ffff5e9a41f in std::__glibcxx_assert_fail
(file=file@entry=0x7fff9beab1d8 "/usr/include/c++/15.2.1/array",
line=line@entry=210, function=function@entry=0x7fff9beab930 "constexpr
std::array<_Tp, _Nm>::value_type& std::array<_Tp, _Nm>::operator[](size_type)
[with _Tp = Python::VariableController::Collection; long unsigned int _Nm = 4;
reference = Python::VariableContr"..., condition=condition@entry=0x7fff9beab1c5
"__n < this->size()") at
/usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/assert_fail.cc:41
#5 0x00007fff9be86339 in std::array<Python::VariableController::Collection,
4ul>::operator[] (this=<optimized out>, __n=<optimized out>) at
/usr/include/c++/15.2.1/array:208
#6 std::array<Python::VariableController::Collection, 4ul>::operator[]
(this=<optimized out>, __n=<optimized out>) at
/usr/include/c++/15.2.1/array:208
#7 Python::VariableController::pendingRequests (this=<optimized out>,
adjust=1, index=<optimized out>) at
/usr/src/debug/kdevelop-python/kdev-python-25.12.0/debugger/variablecontroller.cpp:23
STEPS TO REPRODUCE
1. Use non en_US locale
2. Start debugging
3. Try expand a variable section which is name has been localized
OBSERVED RESULT
Instant crash.
EXPECTED RESULT
Expanding the variable sections works, regardless of the locale used.
SOFTWARE/OS VERSIONS
KDevelop: 6.4.251200 (25.12.0)
KDE Frameworks: 6.21.0
Qt: 6.10.1, 6.10.1
Arch Linux (Xcb)
Build ABI: x86_64-little_endian-lp64
ADDITIONAL INFORMATION
There is a ongoing, partly related MR
https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/848/commits that
provides some work to help resolve this bug also in kdev-python.
A workaround in meanwhile is to run kdevelop using en_US locale.
--
You are receiving this mail because:
You are watching all bug changes.