VirtualBox

Opened 8 years ago

Last modified 8 years ago

#16335 new defect

VirtualBox automatically forces shut down of guest before displaying "new version available" dialog

Reported by: gats Owned by:
Component: VM control Version: VirtualBox 5.1.12
Keywords: Cc:
Guest type: Linux Host type: Windows

Description

VirtualBox version 5.x (any since 5.0) forces a shutdown of a running guest process to display a dialog stating that there is a new version available.

Steps to reproduce:

  1. Install and run a guest operating system (Fedora Linux 23/24/25 in this case(s)).
  2. Leave the guest operating system running on the host (Win10 in this case) for many weeks without issue.
  3. When a new version of VirtualBox is released, the guest is automatically forced to shut down, and then the VirtualBox GUI displays a notice dialog box stating "VirtualBox - Information: A new version of VirtualBox is has been released!....".

Expected behavior: Don't shut down my running guest operating system to display a simple informational dialog.

Notes: This has happened to me on various VirtualBox versions 5.0.x and 5.1.x for over 10 months now. VirtualBox guest tools are installed and are always updated with the host update. Although I list a Windows 10 host and Fedora guest above, I have had the same exact issue happen on a Fedora 23/24 host and Windows 7 guest, with the same 5.x series of VirtualBox (I did run version VirtualBox 4.x on that combination for a while, however I never experienced this issue).

Change History (3)

comment:1 by Frank Mehnert, 8 years ago

Could you explain what you mean by "the guest is automatically forced to shut down"? Does the VM process crash? Does the guest shut down without any user interaction?

comment:2 by gats, 8 years ago

According to its log files, the Linux guest receives a shutdown notice through some unknown means. The only odd item I can pick out in the log file is this, at the beginning of the shutdown messages:

Dec 29 16:02:17 myhost systemd-logind: No resume= argument specified in the kernel command line, disabling hibernation.

(After this there are the usual system messages about processes shutting down, Dec 29 16:03:29 is the last message before the boot messages when I manually started the system again. The above 16:02:17 is the first message after a long gap from 15:20:13, some system cron activity.)

I cannot tell what signal was sent, but this clue in combination with the fact that it is an orderly shutdown with full cleanup tells me that it is possibly an "S4 Hibernate" hardware signal. This would make no sense automated,as the machine was on for days, and weeks in the past when this happens. During this time I am nowhere near the host machine, and no-one is logged into it the guest or host from e.g. an SSH connection. I combed through the host VBox.log file looking for anomalies and I see several tens of lines discussing a GUI resize operation just before the guest shutdown, example follows:

144:03:01.669463 VBVA: InfoScreen: [0] @0,0 1920x1135, line 0x1e00, BPP 32, flags 0x1 144:03:01.669562 Display::handleDisplayResize: uScreenId=0 pvVRAM=000000000fd80000 w=1920 h=1135 bpp=32 cbLine=0x1E00 flags=0x1 144:03:01.669598 GUI: UIFrameBufferPrivate::NotifyChange: Screen=0, Origin=0x0, Size=1920x1135, Sending to async-handler 144:03:01.669654 GUI: UIMachineView::sltHandleNotifyChange: Screen=0, Size=1920x1135

After about 50 or so lines of this GUI resize (no-one is resizing the GUI at the time), the log simply states the guest is going into a shutdown routine a few seconds later:

146:40:54.207771 VMMDev: Guest Log: 146:36:13.597060 control Guest control service stopped 146:40:54.207834 VMMDev: Guest Log: 146:36:13.597139 control Guest control worker returned with rc=VINF_SUCCESS 146:40:54.207919 VMMDev: Guest Log: 146:36:13.597226 main Session 0 is about to close ... 146:40:54.207958 VMMDev: Guest Log: 146:36:13.597270 main Stopping all guest processes ... 146:40:54.207989 VMMDev: Guest Log: 146:36:13.597302 main Closing all guest files ... 146:40:54.318033 VMMDev: Guest Log: 146:36:13.707333 main Ended.

When the guest is stopped, whether or not I had the VirtualBox control window open during the run, the control window opens (on its own if it was not open) and displays the update notice dialog box I mentioned earlier.

Version 0, edited 8 years ago by gats (next)

comment:3 by Frank Mehnert, 8 years ago

Please attach the complete log files to this ticket, at least the VBox.log from such a VM session.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy