Skip to content

IntelliSense crash: handle_update_intellisense #14309

Closed

Description

@imba-tjd

Environment

  • OS and Version: Win11 25H2 26200.8037
  • VS Code Version: 1.112
  • C/C++ Extension Version: 1.30.5 and 1.31.2 (pre-release)
  • If using SSH remote, specify OS of remote machine: No

Bug Summary and Steps to Reproduce

Bug Summary:

The intellisense crashed with the message of handle_update_intellisense

Configuration and Logs

1.


{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${workspaceFolder}/**"
            ],
            "defines": [
                "_DEBUG",
                "SPDLOG_USE_STD_FORMAT",
                "WIN32_LEAN_AND_MEAN"
                // "UNICODE",
                // "_UNICODE"
            ],
            "compilerPath": "C:\\mingw64\\bin\\gcc.exe",
            "cStandard": "c17",
            "cppStandard": "c++20"
        }
    ],
    "version": 4
}


2. 


-------- Diagnostics - 2026/3/21 19:54:09
Version: 1.30.5
Current Configuration:
{
    "name": "Win32",
    "includePath": [
        "c:/Users/<myusername>/Desktop/project/**"
    ],
    "defines": [
        "_DEBUG",
        "SPDLOG_USE_STD_FORMAT",
        "WIN32_LEAN_AND_MEAN"
    ],
    "compilerPath": "C:\\mingw64\\bin\\gcc.exe",
    "cStandard": "c17",
    "cppStandard": "c++20",
    "compilerPathIsExplicit": true,
    "cStandardIsExplicit": true,
    "cppStandardIsExplicit": true,
    "intelliSenseModeIsExplicit": true,
    "recursiveIncludesReduceIsExplicit": false,
    "recursiveIncludesPriorityIsExplicit": false,
    "recursiveIncludesOrderIsExplicit": false,
    "compilerPathInCppPropertiesJson": "C:\\mingw64\\bin\\gcc.exe",
    "intelliSenseMode": "windows-gcc-x64",
    "mergeConfigurations": false,
    "recursiveIncludes": {},
    "browse": {
        "limitSymbolsToIncludedHeaders": true
    }
}
Modified Settings:
{
    "C_Cpp.default.intelliSenseMode": "windows-gcc-x64"
}
Additional Tracked Settings:
{
    "editorTabSize": 4,
    "editorInsertSpaces": true,
    "editorAutoClosingBrackets": "languageDefined",
    "filesEncoding": "utf8",
    "filesAssociations": {},
    "filesExclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/.DS_Store": true,
        "**/Thumbs.db": true
    },
    "filesAutoSaveAfterDelay": true,
    "editorInlayHintsEnabled": true,
    "editorParameterHintsEnabled": true,
    "searchExclude": {
        "**/node_modules": true,
        "**/bower_components": true,
        "**/*.code-search": true
    },
    "workbenchSettingsEditor": "ui"
}
cpptools version (native): 1.30.5.0
Current database path: C:\USERS\<myusername>\APPDATA\LOCAL\MICROSOFT\VSCODE-CPPTOOLS\2C4CA56B3A133CAEB158BBF87C3A7194\.BROWSE.VC.DB
No active translation units.

------- Workspace parsing diagnostics -------
Number of files discovered (not excluded): 4733

log.txt

Other Extensions

No response

Additional context

I have attached cpptools-srv. firstly not open the file, then attach, then switch to the file. And the debug ends.

Activity

  1. imba-tjd commented on Mar 21, 2026

    @imba-tjd
    Author

    OK. This code can trigger my crash:

    #include <span>
    #include <string>
    
    void f(std::span<char> data) { }
    
    void g() {
        std::string s = "";
        // f(s);
    }

    I find this issue is caused by https://github.com/brechtsanders/winlibs_mingw/releases/download/16.0.1-snapshot20260222posix-13.0.0-ucrt-r1/winlibs-x86_64-posix-seh-gcc-16.0.1-snapshot20260222-mingw-w64ucrt-13.0.0-r1.7z

    switching to an old 15.2 (built by another people) works.

  2. added
    fixedCheck the Milestone for the release in which the fix is or will be available.
    on Mar 23, 2026
  3. moved this from Pull Request to Done in cpptoolson Mar 23, 2026
  4. sean-mcmanus commented on Mar 24, 2026

    @sean-mcmanus
    Contributor

    imba-tjd Fixed with https://github.com/microsoft/vscode-cpptools/releases/tag/v1.31.3. But let us know if you see any other new issues when using GCC 16.

  5. locked and limited conversation to collaborators on May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

Projects

  • Status
    Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions