Skip to content

cpptools-srv crashes sometimes during handle_initialize in uv_run on Linux with C_Cpp.intelliSenseCacheSize > 0 #12668

Closed

Description

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.

Activity

  1. sean-mcmanus commented on Sep 12, 2024

    @sean-mcmanus
    ContributorAuthor

    In certain cases (on certain machines), the crash is not rare, but repros 99.9% of the time.

  2. 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
  3. sean-mcmanus commented on Sep 17, 2024

    @sean-mcmanus
    ContributorAuthor

    Our repro case stopped reproing, but we're not sure if it's actually fixed or not.

  4. added
    fixedCheck the Milestone for the release in which the fix is or will be available.
    on Nov 6, 2024
  5. 1 remaining item

  6. removed
    fixedCheck the Milestone for the release in which the fix is or will be available.
    on Nov 12, 2024
  7. moved this from Done to In progress in cpptoolson Feb 4, 2025
  8. 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
  9. sean-mcmanus commented on Feb 6, 2025

    @sean-mcmanus
    ContributorAuthor

    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.

  10. moved this from In progress to Pull Request in cpptoolson Feb 12, 2025
  11. added
    fixedCheck the Milestone for the release in which the fix is or will be available.
    on Feb 13, 2025
  12. moved this from Pull Request to Done in cpptoolson Feb 13, 2025
  13. locked and limited conversation to collaborators on Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.reliability

Type

Projects

  • Status
    Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions