LLDB in Visual Studio crashes remote host when debugging

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Build
    • Fully Compatible
    • ALL
    • Hide

      1. In Visual Studio, install 

      • Code LLDB by Vadim Chugunov
      • C/C++ by Microsoft

      2. Create launch.json and add the configuration:

       

      {
          "name": "lldb current streams test file",
          "type": "lldb",
          "request": "launch",
          "program": "${workspaceFolder:mongo}/bazel-bin/src/mongo/db/modules/enterprise/src/streams/exec/tests/streams_planner_test",
          "args": [],
          "sourceMap": {
              "/proc/self/cwd": "${workspaceFolder:mongo}"
          }
      }

      3. 

      bazel build +streams_planner_test --config=dbg 

       

      4. Run the added configuration

       

      Visual studio should disconnect and now fail to reconnect, most likely due to having no memory.

       

      Show
      1. In Visual Studio, install  Code LLDB by Vadim Chugunov C/C++ by Microsoft 2. Create launch.json and add the configuration:   {     "name" : "lldb current streams test file" ,     "type" : "lldb" ,     "request" : "launch" ,     "program" : "${workspaceFolder:mongo}/bazel-bin/src/mongo/db/modules/enterprise/src/streams/exec/tests/streams_planner_test" ,     "args" : [],     "sourceMap" : {         "/proc/self/cwd" : "${workspaceFolder:mongo}"    } } 3.  bazel build +streams_planner_test --config=dbg   4. Run the added configuration   Visual studio should disconnect and now fail to reconnect, most likely due to having no memory.  
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Code LLDB crashes remote machine when fission is enabled for debugging. This does not happen when fission is disabled.

              Assignee:
              Andrew Bradshaw
              Reporter:
              Andrew Bradshaw
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: