https://bugs.kde.org/show_bug.cgi?id=507116

            Bug ID: 507116
           Summary: Crash adding new function at end of file
    Classification: Applications
           Product: kdevelop
      Version First unspecified
       Reported In:
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Application: kdevelop (6.2.250403 (25.04.3))

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.16.0
Operating System: Linux 6.11.0-29-generic x86_64
Windowing System: Wayland
Distribution: KDE neon User Edition
DrKonqi: 6.4.2 [CoredumpBackend]

-- Information about the crash:
I was attempting to add a new function to the end of a python file.

When I type "def " to the end of the file it crashes.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)
at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at
./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at
./nptl/pthread_kill.c:89
#9  0x00007a43c7c4527e in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#10 0x00007a43c7c288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x00007a43c892a09e in qAbort () at
/usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qassert.cpp:46
#12 qt_message_fatal<QString&> (message=..., context=<optimized out>) at
/usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qlogging.cpp:2149
[...]
#14 0x00007a43c892b779 in QMessageLogger::fatal (this=<optimized out>,
msg=0x7a43c864a7e8 "ASSERT: \"%s\" in file %s, line %d") at
/usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qlogging.cpp:883
#15 0x00007a43c8915f53 in qt_assert (assertion=assertion@entry=0x7a4376d32c96
"pos <= d.size", file=file@entry=0x7a4376d320b0
"/usr/include/x86_64-linux-gnu/qt6/QtCore/qstring.h", line=line@entry=1172) at
/usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qassert.cpp:105
#16 0x00007a4376d0ae2b in QString::verify (n=1, pos=1966, this=0x7a4340588588)
at /usr/include/x86_64-linux-gnu/qt6/QtCore/qstring.h:1172
#17 QString::operator[] (this=0x7a4340588588, i=1966) at
/usr/include/x86_64-linux-gnu/qt6/QtCore/qstring.h:1431
#18 0x00007a4376d21de8 in Python::AstBuilder::parse (this=<optimized out>,
filename=..., contents=...) at
/usr/src/kdevelop-python-25.04.3-0zneon+24.04+noble+release+build25/parser/astbuilder.cpp:208
#19 0x00007a4376d17573 in Python::ParseSession::parse (this=0x7a4340588550) at
/usr/src/kdevelop-python-25.04.3-0zneon+24.04+noble+release+build25/parser/parsesession.cpp:65
#20 0x00007a435ae14ff6 in Python::ParseJob::run (this=0x5c2bc0bf0070) at
/usr/include/x86_64-linux-gnu/qt6/QtCore/qcomparehelpers.h:1100
#21 0x00007a43c38568aa in ThreadWeaver::IdDecorator::run (this=<optimized out>,
self=..., thread=0x5c2bc00c4c50) at
/usr/src/kf6-threadweaver-6.16.0-0zneon+24.04+noble+release+build20/src/iddecorator.cpp:50
#22 0x00007a43c3856661 in ThreadWeaver::Executor::run (this=<optimized out>,
job=<optimized out>, thread=<optimized out>) at
/usr/src/kf6-threadweaver-6.16.0-0zneon+24.04+noble+release+build20/src/executor.cpp:29
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)
at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at
./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at
./nptl/pthread_kill.c:89
#9  0x00007a43c7c4527e in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#10 0x00007a43c7c288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x00007a43c892a09e in qAbort () at
/usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qassert.cpp:46
#12 qt_message_fatal<QString&> (message=..., context=<optimized out>) at
/usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qlogging.cpp:2149
[...]
#14 0x00007a43c892b779 in QMessageLogger::fatal (this=<optimized out>,
msg=0x7a43c864a7e8 "ASSERT: \"%s\" in file %s, line %d") at
/usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qlogging.cpp:883
#15 0x00007a43c8915f53 in qt_assert (assertion=assertion@entry=0x7a4376d32c96
"pos <= d.size", file=file@entry=0x7a4376d320b0
"/usr/include/x86_64-linux-gnu/qt6/QtCore/qstring.h", line=line@entry=1172) at
/usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qassert.cpp:105
#16 0x00007a4376d0ae2b in QString::verify (n=1, pos=1966, this=0x7a4340588588)
at /usr/include/x86_64-linux-gnu/qt6/QtCore/qstring.h:1172
#17 QString::operator[] (this=0x7a4340588588, i=1966) at
/usr/include/x86_64-linux-gnu/qt6/QtCore/qstring.h:1431
#18 0x00007a4376d21de8 in Python::AstBuilder::parse (this=<optimized out>,
filename=..., contents=...) at
/usr/src/kdevelop-python-25.04.3-0zneon+24.04+noble+release+build25/parser/astbuilder.cpp:208
#19 0x00007a4376d17573 in Python::ParseSession::parse (this=0x7a4340588550) at
/usr/src/kdevelop-python-25.04.3-0zneon+24.04+noble+release+build25/parser/parsesession.cpp:65
#20 0x00007a435ae14ff6 in Python::ParseJob::run (this=0x5c2bc0bf0070) at
/usr/include/x86_64-linux-gnu/qt6/QtCore/qcomparehelpers.h:1100
#21 0x00007a43c38568aa in ThreadWeaver::IdDecorator::run (this=<optimized out>,
self=..., thread=0x5c2bc00c4c50) at
/usr/src/kf6-threadweaver-6.16.0-0zneon+24.04+noble+release+build20/src/iddecorator.cpp:50
#22 0x00007a43c3856661 in ThreadWeaver::Executor::run (this=<optimized out>,
job=<optimized out>, thread=<optimized out>) at
/usr/src/kf6-threadweaver-6.16.0-0zneon+24.04+noble+release+build20/src/executor.cpp:29


Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to