Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

StackOverflowException being triggered by large files #309

Closed
brettcannon opened this issue Oct 25, 2018 · 2 comments
Closed

StackOverflowException being triggered by large files #309

brettcannon opened this issue Oct 25, 2018 · 2 comments
Assignees
Labels
bug Something isn't working question A question about the LS

Comments

@brettcannon
Copy link
Member

brettcannon commented Oct 25, 2018

microsoft/vscode-python#3011

I've asked the OP for more details, but something is triggering the exception to be raised.

@pankajp
Copy link

pankajp commented Nov 12, 2018

This is with a workspace with many large python files ( ~20kloc ). The files aren't clean and depend on non-existing modules (private extension modules embedded in python which are not available on windows).
A dump from sysinternals procmon shows the "Microsoft.Python.LanguageServer.exe" process restarting after "WerFault.exe" (which is probably the process reporting the error dialog) following a scraping of the module win32security with command line "C:\Users\ppandey\AppData\Local\Continuum\Anaconda3\python.exe" -B -E c:\Users\ppandey\.vscode\extensions\ms-python.python-2018.9.1\languageServer.0.1.48\scrape_module.py -u8 win32security C:\Users\ppandey\AppData\Local\Continuum\Anaconda3\lib\site-packages\win32 . The same procmon dump shows two crashes both following the scraping of this module.
What more details can I provide? Any diagnostic tools or lsp debugging utilities which I can run. Unfortunately I can't share any of the python files.

@MikhailArkhipov
Copy link

No longer applies after #546

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working question A question about the LS
Projects
None yet
Development

No branches or pull requests

4 participants