Application: kdevelop (5.14.240500 (24.05.0)) Qt Version: 6.7.1 Frameworks Version: 6.2.0 Operating System: Linux 6.9.1-desktop-1omv2490 x86_64 Windowing System: X11 Distribution: "OpenMandriva Lx 24.06" DrKonqi: 6.0.5 [CoredumpBackend] -- Information about the crash: The crash happened almost immediately. Upon restarting the program, I chose to delete the cache and then I opened the project again, which was loaded just fine. The crash can be reproduced sometimes. -- Backtrace (Reduced): #5 0x00007fbd5c8e7476 in std::__fill_a1<unsigned short*, int> (__first=0x7fbd1690d33e, __last=0x7fbd1690ecd8, __value=<optimized out>) at /usr/bin/../lib64/gcc/x86_64-openmandriva-linux-gnu/14.1.0/../../../../include/c++/14.1.0/bits/stl_algobase.h:952 #6 std::__fill_a<unsigned short*, int> (__first=0x7fbd1690d33e, __last=0x7fbd1690ecd8, __value=<optimized out>) at /usr/bin/../lib64/gcc/x86_64-openmandriva-linux-gnu/14.1.0/../../../../include/c++/14.1.0/bits/stl_algobase.h:998 #7 std::__fill_n_a<unsigned short*, int, int> (__first=0x7fbd1690d33e, __n=3277, __value=<optimized out>) at /usr/bin/../lib64/gcc/x86_64-openmandriva-linux-gnu/14.1.0/../../../../include/c++/14.1.0/bits/stl_algobase.h:1151 #8 std::fill_n<unsigned short*, KDevelop::Bucket<KDevelop::CodeModelRepositoryItem, KDevelop::CodeModelRequestItem, true, 0u>::{unnamed type#3}, int>(KDevelop::Bucket<KDevelop::CodeModelRepositoryItem, KDevelop::CodeModelRequestItem, true, 0u>::{unnamed type#3}, KDevelop::Bucket<KDevelop::CodeModelRepositoryItem, KDevelop::CodeModelRequestItem, true, 0u>::{unnamed type#3}, int const&) (__first=0x7fbd1690d33e, __n=KDevelop::Bucket<KDevelop::CodeModelRepositoryItem, KDevelop::CodeModelRequestItem, true, 0u>::NextBucketHashSize, __value=<optimized out>) at /usr/bin/../lib64/gcc/x86_64-openmandriva-linux-gnu/14.1.0/../../../../include/c++/14.1.0/bits/stl_algobase.h:1180 #9 KDevelop::Bucket<KDevelop::CodeModelRepositoryItem, KDevelop::CodeModelRequestItem, true, 0u>::takeNextBucketHash (this=0x7fbbcc1d0560) at /usr/src/debug/kdevelop-24.05.0-1.x86_64/kdevplatform/serialization/itemrepository.h:734 Reported using DrKonqi
Created attachment 170153 [details] New crash information added by DrKonqi DrKonqi auto-attaching complete backtrace.
(In reply to Davide Beatrici from comment #0) > The crash happened almost immediately. Upon restarting the program, I chose > to delete the cache and then I opened the project again, which was loaded just fine. Did you update Clang just before the crash occurred? Perhaps the cache is incompatible between [major] libclang versions.
Just checked: no updates to the Clang packages and it was the first time I opened the project after a fresh system reinstall (I didn't transfer ~/.cache over).
(In reply to Davide Beatrici from comment #3) > Just checked: no updates to the Clang packages and it was the first time I > opened the project after a fresh system reinstall (I didn't transfer > ~/.cache over). Then it's probably a bug in CodeModel or ItemRepository somewhere. The backtrace looks good and may be used to find and fix a bug. If only someone had the time for that...