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

            Bug ID: 497172
           Summary: KDevelop crashes while background parser is running on
                    Linux kernel source code
    Classification: Applications
           Product: kdevelop
           Version: unspecified
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: j...@holodeck1.com
  Target Milestone: ---

Application: kdevelop (6.0.240803 (24.08.3))

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.1
Frameworks Version: 6.8.0
Operating System: Linux 6.11.8-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 6.2.4 [CoredumpBackend]

-- Information about the crash:
SUMMARY
I cloned the Linux kernel repository
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/) and
opened it as a Make project. I also changed the C laguage profile used to be
gnu11 and added some include paths (linux/include, linux/arch/riscv/include) in
project settings

OBSERVED RESULT
KDevelop often crashes when background parsing is running

EXPECTED RESULT
No crash when parsing code

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241205
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1
Kernel Version: 6.11.8-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon 780M

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  0x00007fb655414a61 in std::__fill_a1<unsigned short*, int>
(__first=0x7fb5922dab05, __last=0x7fb5922dc49f, __value=<optimized out>) at
/usr/include/c++/14/bits/stl_algobase.h:952
#6  std::__fill_a<unsigned short*, int> (__first=0x7fb5922dab05,
__last=0x7fb5922dc49f, __value=<optimized out>) at
/usr/include/c++/14/bits/stl_algobase.h:998
#7  std::__fill_n_a<unsigned short*, int, int> (__first=0x7fb5922dab05,
__n=3277, __value=<optimized out>) at
/usr/include/c++/14/bits/stl_algobase.h:1151
#12 0x00007fb65534395a in operator() (__closure=<optimized out>, repo=...) at
/usr/src/debug/kdevelop-24.08.3/kdevplatform/language/duchain/persistentsymboltable.cpp:376
#14 KDevelop::PersistentSymbolTable::removeDeclaration (this=<optimized out>,
id=<optimized out>, declaration=<optimized out>) at
/usr/src/debug/kdevelop-24.08.3/kdevplatform/language/duchain/persistentsymboltable.cpp:337


Reported using DrKonqi

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

Reply via email to