I'm using Windows 10, Linux host.
My shared folder is mounted to "G:\", pointing to my home directory on the Linux host.
What I do:
On the host, I run this command:
Code: Select all
VBoxManage guestcontrol Windows10 --username kjetil --password xxxxxxx run -- G:\\dev_stuff\ConsoleApp1.exe G:\\dev_stuff\filename.cpp 100
But! If I press "F4" in Visual Studio right afterwards, maybe within a second of running the command above on the host, it'll make G: stop working, maybe half of the times. (Pressing "F4" tells Visual studio to jump to the next error, in other words opening a file on "G:\".)
I don't know whether running VBoxManage from the guest is necessary to provoke this. I would guess it's happening because lots of things are happening at the same time to G:\ (reading+writing+executing), and that a general stress test would provoke the same, but I don't know.
After this has happened, it seems impossible to kill Visual Studio, and it becomes impossible to do a clean shut down of Windows 10 (have to just power it off). (Note that "G:" is not available to any program on the host after this, the shared folder has completely stopped working.)
This problem started happening after upgrading virtual box to 7.1.6. It did not happen in 7.1.4 or earlier. So I'm going to downgrade to 7.1.4 now. I'll report back if the problem persists after downgrading, or if it seems to fix the problem.
I've attached the VM log.
Running "journalctl -b" on the host doesn't show any relevant lines.
Here's a screenshot of where visual studio freezes (this is the backtrace from another visual studio instance debugging the frozen visual studio instance)