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

Igor Kushnir <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/kdev
                   |                            |elop/kdevelop/-/commit/af76
                   |                            |2efe10fbba04fa57f7ea789e1b3
                   |                            |1dbfbcb2b
   Version Fixed In|                            |6.3.250800
             Status|ASSIGNED                    |RESOLVED

--- Comment #28 from Igor Kushnir <[email protected]> ---
Git commit af762efe10fbba04fa57f7ea789e1b31dbfbcb2b by Igor Kushnir.
Committed on 07/08/2025 at 08:20.
Pushed by igorkushnir into branch 'master'.

Never store precompiled preambles in memory to work around a crash

Precompiled preambles are stored in RAM by default given libclang
version 17 or later, where the necessary API is available since
https://github.com/llvm/llvm-project/commit/55f7e00afc56c68421220d60d29c079b58fe9c79

As discovered in a comment thread starting at
https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/777#note_1224253
the linked crash that affects many KDevelop users can be worked around
by not storing precompiled preambles in memory.

So hide the precompiled preamble storage configuration UI and never
store the preambles in memory until a proper fix is found.
FIXED-IN: 6.3.250800

M  +5    -0    kdevplatform/shell/settings/languagepreferences.cpp
M  +5    -0    plugins/clang/duchain/clangindex.cpp

https://invent.kde.org/kdevelop/kdevelop/-/commit/af762efe10fbba04fa57f7ea789e1b31dbfbcb2b

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

Reply via email to