You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cpptools-srv crashes sometimes during handle_initialize in uv_run on Linux with C_Cpp.intelliSenseCacheSize > 0 #12668
In the same scenario on Mac, I'm seeing cpptools get stuck, but it might be the same root cause (otherwise, I'll create a new issue for that later). UPDATE: That "stuck" issue is fixed now and was unrelated.
changed the title [-]Rare cpptools-srv crash during handle_initialize in uv_run on Linux[/-][+]cpptools-srv crashes sometimes during handle_initialize in uv_run on Linux[/+]on Sep 12, 2024
changed the title [-]cpptools-srv crashes sometimes during handle_initialize in uv_run on Linux[/-][+]cpptools-srv crashes sometimes during handle_initialize in uv_run on Linux with C_Cpp.intelliSenseCacheSize > 0[/+]on Feb 6, 2025
It's caused by an invalid mmap call, so setting "C_Cpp.intelliSenseCacheSize": 0 should be a workaround. Although this may also be possible if modules are enabled.
Activity
sean-mcmanus commentedon Sep 12, 2024
In certain cases (on certain machines), the crash is not rare, but repros 99.9% of the time.
[-]Rare cpptools-srv crash during handle_initialize in uv_run on Linux[/-][+]cpptools-srv crashes sometimes during handle_initialize in uv_run on Linux[/+]sean-mcmanus commentedon Sep 17, 2024
Our repro case stopped reproing, but we're not sure if it's actually fixed or not.
1 remaining item
[-]cpptools-srv crashes sometimes during handle_initialize in uv_run on Linux[/-][+]cpptools-srv crashes sometimes during handle_initialize in uv_run on Linux with C_Cpp.intelliSenseCacheSize > 0[/+]sean-mcmanus commentedon Feb 6, 2025
It's caused by an invalid mmap call, so setting
"C_Cpp.intelliSenseCacheSize": 0should be a workaround. Although this may also be possible if modules are enabled.