Skip to content

TSServer Crashes when Opening file from Mapped Sharepoint Drive #13997

@mjbvz

Description

@mjbvz

From: microsoft/vscode#20445

TypeScript Version: 2.1.6

This issue is similar to #13874 but when opening a mapped sharepoint drive on windows instead of opening the WebDAV drive directly.

Repo Steps

  • In windows, mount a sharepoint WebDAV drive by going to This PC -> map network drive.
  • Open a file on this drive in VSCode. For example: Z:\Java and Open Tools\Node\test

This produces the same symptoms as #13874

[Info  - 11:32:02 AM] Using tsserver from location: c:\Program Files (x86)\Microsoft VS Code\resources\app\extensions\typescript\node_modules\typescript\lib\tsserver.js
[Trace - 11:32:02 AM] Sending request: configure (33). Response expected: yes. Current queue length: 0
Arguments: {
    "hostInfo": "vscode"
}
[Trace - 11:32:03 AM] Response received: configure (33). Request took 467 ms. Success: true 
[Trace - 11:32:03 AM] Sending request: compilerOptionsForInferredProjects (34). Response expected: yes. Current queue length: 3
Arguments: {
    "options": {
        "module": "CommonJS",
        "target": "ES6",
        "allowSyntheticDefaultImports": true,
        "allowNonTsExtensions": true,
        "allowJs": true,
        "jsx": "Preserve"
    }
}
[Trace - 11:32:03 AM] Response received: compilerOptionsForInferredProjects (34). Request took 483 ms. Success: true 
Result: true
[Trace - 11:32:03 AM] Sending request: open (35). Response expected: no. Current queue length: 2
Arguments: {
    "file": "z:/Java and Open Tools/Node/test/main.js",
    "fileContent": "console.log()\r\nfdsaf gdsczx"
}
[Trace - 11:32:03 AM] Sending request: geterr (36). Response expected: no. Current queue length: 1
Arguments: {
    "delay": 0,
    "files": []
}
[Trace - 11:32:03 AM] Sending request: geterr (37). Response expected: no. Current queue length: 0
Arguments: {
    "delay": 0,
    "files": [
        "z:/Java and Open Tools/Node/test/main.js"
    ]
}
[Error - 11:32:03 AM] TSServer exited with code: 3221226356

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedA PR has been merged for this issueHigh PriorityVS Code TrackedThere is a VS Code equivalent to this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions