Bug 498754 - [ANR] KDevelop freezes and crashes when the parser is working and autocompletion is invoked
Summary: [ANR] KDevelop freezes and crashes when the parser is working and autocomplet...
Status: RESOLVED DUPLICATE of bug 486932
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: OpenMandriva Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-01-16 17:00 UTC by Davide Beatrici
Modified: 2025-01-17 10:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/12600/events/45413a28e7f4426da1d203f96978fec3/


Attachments
New crash information added by DrKonqi (236.09 KB, text/plain)
2025-01-16 17:00 UTC, Davide Beatrici
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Beatrici 2025-01-16 17:00:13 UTC
Application: kdevelop (6.1.241200 (24.12.0))

ApplicationNotResponding [ANR]: true
Qt Version: 6.8.1
Frameworks Version: 6.10.0
Operating System: Linux 6.12.9-desktop-1omv2490 x86_64
Windowing System: Wayland
Distribution: "OpenMandriva Lx 24.12"
DrKonqi: 6.2.5 [CoredumpBackend]

-- Information about the crash:
I've been encountering the issue for a while now, but I'm pretty sure it's gotten worse since upgrading the CPU and going from 16 to 24 physical threads.

It seems to be always reproducible when attempting to include a file and the parser is working (i.e. the progress bar on the bottom right is shown).
The program freezes while typing and crashes after some time.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#9  0x00007ff87baa326e in getExpansion () at /usr/src/debug/llvm-19.1.6-1.x86_64/clang/include/clang/Basic/SourceManager.h:509
#10 getDecomposedExpansionLocSlowCase () at /usr/src/debug/llvm-19.1.6-1.x86_64/clang/lib/Basic/SourceManager.cpp:930
#11 getDecomposedExpansionLoc () at /usr/src/debug/llvm-19.1.6-1.x86_64/clang/include/clang/Basic/SourceManager.h:1295
#12 0x00007ff87c1eb987 in getFileCharacteristic () at /usr/src/debug/llvm-19.1.6-1.x86_64/clang/lib/Basic/SourceManager.cpp:1427
#13 0x00007ff87bb42623 in isInSystemHeader () at /usr/src/debug/llvm-19.1.6-1.x86_64/clang/include/clang/Basic/SourceManager.h:1536


Reported using DrKonqi
Comment 1 Davide Beatrici 2025-01-16 17:00:14 UTC
Created attachment 177422 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Igor Kushnir 2025-01-17 10:12:59 UTC

*** This bug has been marked as a duplicate of bug 486932 ***