Julia 1.8.* & VSCode & Ryzen CPU & Windows 10 64bit --> crash

Thanks for your suggestion.

I put “JULIA_NUM_PRECOMPILE_TASKS = 1” into the global environment variables, restarted the machine and tried “julia:start REPL”. Results are mixed:

  • on my Ryzen 7 5800H notebook, language server did compile, and now I have a REPL in VSCode on that machine. I tried some julia standard library method calls in VSCode julia REPL, julia seems to work. However some more serious testing of stability has to be done.

  • on my Ryzen 1700 desktop, behavior did not change. Tried 3 times, always with reboot, in the 3rd try I also deleted VSCode extensions and reinstalled the extension before starting REPL. In all cases, VSCode instance or whole windows crashed. Two times without any message after “[ Info: Precompiling VSCodeServer [9f5989ce-84fe-42d4-91ec-6a7a8d53ed0f]”. Only in the last attempt, I got some log lines in the terminal window:

[ Info: Precompiling VSCodeServer [9f5989ce-84fe-42d4-91ec-6a7a8d53ed0f]
Internal error: encountered unexpected error in runtime:
ReadOnlyMemoryError()

Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: UNKNOWN at 0x7ffe7a144fd9 --

This is one of the messages I got in my numerous attempts without setting JULIA_NUM_PRECOMPILE_TASKS, documented in my julia-vscode issue #3048.

I will continue with some experiments, in particular using (a) a linux VM and (b) a native Linux installation on my notebook to see if the problem is related to OS.

1 Like