Opened 12 months ago
Last modified 10 months ago
#21931 assigned defect
RDP to windows crashes VM
Reported by: | peteruk | Owned by: | pentagonik |
---|---|---|---|
Component: | other | Version: | VirtualBox-7.0.12 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description
Hi so I have found that running 7.0.8 runs stable when you RDP to host with a VM running but with 7.0.12 when you RDP not all the time but most of the time crashes the VM which in my case is linux mint with the host being windows 11.
Thanks
Attachments (3)
Change History (26)
by , 12 months ago
Attachment: | VM crash .zip added |
---|
follow-up: 8 comment:1 by , 12 months ago
comment:2 by , 11 months ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:3 by , 11 months ago
I tried to reproduce the issue here, but works for me so far.
Can you please enable verbose audio logging and retry reproducing it? That would help me fixing the issue. Please attach the verbose log to this defect then.
You can enable verbose audio logging as described here: https://www.virtualbox.org/wiki/AudioDebug
Do you have a (full) memory dump from the crashed VM process?
comment:5 by , 11 months ago
Thanks for the logs -- I think I now know what's going on. I'll provide a test build shortly with a fix to try out.
comment:6 by , 11 months ago
The Windows testbuild is now available here for download:
https://www.virtualbox.org/download/testcase/VirtualBox-7.0.13-160767-Win.exe
Please let me know if this fixes the issue for you. Thanks!
comment:8 by , 11 months ago
Replying to fth0:
FWIW, the crash happened in the Aud0Wr01 thread, which is part of VirtualBox's audio implementation. It has been reported a few times in the VirtualBox forums, always on Windows hosts with VirtualBox 7.0.12, sometimes when using RDP to connect to the Windows host. As a workaround, disabling audio in the VM configuration helped affected users.
In my case #21925 it fails at "ICH AC97" controller only, when host audio driver is set to "Default".
When "Intel HD Audio" is chosen, it succeeds.
When "SoundBlaster 16" is chosen, it succeeds.
In my case #21925 it fails at "ICH AC97" controller only, when host audio driver is set to "Windows DirectSound".
When "Intel HD Audio" is chosen, it succeeds.
When "SoundBlaster 16" is chosen, it succeeds.
When host audio driver is set to "Windows Audio Session" / "Null", it succeeds for all three controllers ("ICH AC97", "SoundBlaster 16", "Intel HD Audio").
And also there is some suspicious too long delay when usb (USB 3.0 xHCI) is detached at guest system shutdown/reboot.
comment:11 by , 11 months ago
Too big to Attach here this time this is where I uploaded it https://ufile.io/nukmavdq
comment:12 by , 11 months ago
Thanks for the logs -- I'll provide a new test build shortly w/ a different approach.
comment:13 by , 11 months ago
The new testbuild is available for download here: https://www.virtualbox.org/download/testcase/VirtualBox-7.0.13-160798-Win.exe
comment:14 by , 11 months ago
Build 160798 seems to be working for the case in #21896 (160767 didn't and crashed as well). Haven't done extensive testing but no crashes so far upon connecting/disconnecting with Sunshine+Moonlight. Keeping my fingers crossed that it stays that way. Will post an update on any further crashes should they occur. Thanks for the work put into this.
comment:15 by , 11 months ago
So the new build is not crashing but like 7.0.8 where it did not crash over some RDP on and off the guest VM sound then stops working over RDP not a big problem for me I just need it to run as a server just something to note.
follow-up: 20 comment:16 by , 11 months ago
@peteruk Just to be clear, it doesn't crash but the audio device switching does *not* work anymore? Did audio device switching work for you, at least occasionally, on 7.0.8?
Can you please supply new log files when reproducing this?
@kishi: Does audio device switching work for you with build 160798?
I need to make sure that this not just fixes the crash issue, but that audio device switching still is working as it should. Thanks!
by , 11 months ago
Attachment: | VBox.2.zip added |
---|
comment:17 by , 11 months ago
Yes no more crash I can be RDP with linux mint guest VM and hear test sounds over RDP then after some RDP on and off the test sounds from linux mint do not happen log file attached
comment:18 by , 11 months ago
Thanks for the new logs.
I've prepared the next test build, incorporates another fix: https://www.virtualbox.org/download/testcase/VirtualBox-7.0.13-160845-Win.exe
Please let me know if this test build works better for you. Thanks!
follow-up: 21 comment:20 by , 11 months ago
Replying to pentagonik:
@peteruk Just to be clear, it doesn't crash but the audio device switching does *not* work anymore? Did audio device switching work for you, at least occasionally, on 7.0.8?
Can you please supply new log files when reproducing this?
@kishi: Does audio device switching work for you with build 160798?
I need to make sure that this not just fixes the crash issue, but that audio device switching still is working as it should. Thanks!
Device switching works on both 160798 and 160845 (and did work back on 7.0.10 for my case). Also both haven't crashed yet, currently testing the latter, will post an update on any crash should it occur.
comment:21 by , 11 months ago
Replying to kishi:
Replying to pentagonik:
@peteruk Just to be clear, it doesn't crash but the audio device switching does *not* work anymore? Did audio device switching work for you, at least occasionally, on 7.0.8?
Can you please supply new log files when reproducing this?
@kishi: Does audio device switching work for you with build 160798?
I need to make sure that this not just fixes the crash issue, but that audio device switching still is working as it should. Thanks!
Device switching works on both 160798 and 160845 (and did work back on 7.0.10 for my case). Also both haven't crashed yet, currently testing the latter, will post an update on any crash should it occur.
I've noted some crackling and slowdowns on audio playback using Intel HD Audio/Windows DirectSound on 160845 that were not on 160798 but those are not there when using Intel ACH97/Default. Still have to workout more details but lacking the time to test more throughly right now so this is just a heads-up.
Update: was not able to reproduce this issue again so far (might have been something within the VM itself).
comment:22 by , 10 months ago
After recent Windows update to [Version 10.0.22621.3007] it started to fail at
"Windows Audio Session" / "ICH AC97"
and only when FreeBSD is boot up to login prompt (not failing at boot menu).
New logs at https://www.virtualbox.org/attachment/ticket/21925/Logs.2.zip
comment:23 by , 10 months ago
Sorry, didn't notice the update VirtualBox-7.0.14-161095-Win , which solves the failure in my case.
FWIW, the crash happened in the Aud0Wr01 thread, which is part of VirtualBox's audio implementation. It has been reported a few times in the VirtualBox forums, always on Windows hosts with VirtualBox 7.0.12, sometimes when using RDP to connect to the Windows host. As a workaround, disabling audio in the VM configuration helped affected users.