Opened 3 years ago
Last modified 55 years ago
#20915 new defect
SessionState never unlocked
Reported by: | mbono | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 6.1.32 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
The step to reproduce the problem:
- Start a VM in "headless"
- When the state is Running I stop it
The session state never go back to Unlocked.
Attached a .cpp that reproduce the problem.
From the log I see:
00:00:01.819978 Changing the VM state from 'DESTROYING' to 'TERMINATED' 00:00:01.824010 Console: Machine state changed to 'PoweredOff' 00:00:01.937393 VBoxHeadless: starting event loop
I suspect that VBoxHeadless do not exit becaus the event loop is started after the machine go to PoweredOff.
Using a "gui" session type do not reproduce the problem.
In VirtualBox 6.0 this works as expected also for "headless" session type.
Attachments (2)
Note:
See TracTickets
for help on using tickets.
example program that reproduce the issue