VirtualBox

Ticket #11637 (new defect)

Opened 13 months ago

VBoxSVC crash when calling IPerformanceCollector.SetupMetrics

Reported by: UFO Owned by:
Priority: minor Component: other
Version: VirtualBox 4.2.10 Keywords: IPerformanceCollector SetupMetrics VBoxSVC crash
Cc: Guest type: all
Host type: Windows

Description

I accidentally discovered two (very similar) ways to crash VBoxSVC on Windows using the VirtualBox COM API:

  1. Call IPerformanceCollector.SetupMetrics and pass an empty array for aObjects
  2. Call IPerformanceCollector.SetupMetrics and pass an array containing a reference to an IHost object for aObjects (this is mentioned in the SDK doc as valid)

Testcase in C#:

VirtualBoxClientClass vboxclient = new VirtualBoxClientClass();
vboxclient.VirtualBox.PerformanceCollector.SetupMetrics(new String[] { "*" }, new Object[] { }, 1, 1);
vboxclient.VirtualBox.PerformanceCollector.SetupMetrics(new String[] { "*" }, new Object[] { vboxclient.VirtualBox.Host }, 1, 1);
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use