VirtualBox

Opened 2 years ago

Last modified 54 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)

simple_vbox_test.cpp (6.3 KB ) - added by mbono 2 years ago.
example program that reproduce the issue
TESTING-2022-04-21-14-15-29.log (108.0 KB ) - added by mbono 2 years ago.
log file

Download all attachments as: .zip

Change History (2)

by mbono, 2 years ago

Attachment: simple_vbox_test.cpp added

example program that reproduce the issue

by mbono, 2 years ago

log file

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use