Replies: 5 comments
-
Having uninstalled all other vscode extensions except this one. |
Beta Was this translation helpful? Give feedback.
-
I have been tackling this problem with a friend for two hours. We find that there is some conflict between ocaml-platform and vscode builtin extensions. When vscode is already properly started and then ocaml-platform is installed, everything will be ok. We have tried:
Final workaround:Disable the ocaml-platform extension every time closing vscode of a ocaml project and enable the extension when reopen it. This can effectively avoid crash, at least for now. |
Beta Was this translation helpful? Give feedback.
-
Hello, thanks for the report. I tried to reproduce this bug, but everyting worked fine on my machine. I use macOS, with the same VSCode version but my OS kernel version is newer - I'm on Darwin Kernel Version 21.6.0:. Could you provide more info on:
What do you mean by vscode being "properly started"? And how does it relate to installation of ocaml-platform? |
Beta Was this translation helpful? Give feedback.
-
The first time I use ocaml-platform, I have an already started vscode, and I install ocaml-platform from market place. Everything is just fine. Next day, when I open vscode (with ocaml-platform already installed and enabled), the crash started to arise. I suspect that ocaml-platform and vscode can not boot at the same time. So I disable ocaml-platform, restart vscode and then re-enable ocaml-platform. The crash go away, and now I can finally use ocaml-platform. I hope these information could be helpful. |
Beta Was this translation helpful? Give feedback.
-
I was able to reproduce this on a fresh VSCode profile (both stable VSCode and VSCode Insiders have the issue). In my tests the issue seems to be caused by some interaction between GitHub Copilot extension and OCaml Platform extension. To reproduce, you need to have an active GitHub Copilot subscription and have logged in with your GitHub account after installing the extension. Screen.Recording.2023-08-09.at.11.00.20.mov |
Beta Was this translation helpful? Give feedback.
-
Type: Bug
dune init project helloworld
Extension version: 1.12.2
VS Code version: Code 1.78.2 (Universal) (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:44:45.204Z)
OS version: Darwin x64 19.6.0
Modes:
Sandboxed: Yes
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
Beta Was this translation helpful? Give feedback.
All reactions