Ticket #11637 (closed defect: obsolete)

Opened 5 years ago

Last modified 22 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


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);

Change History

comment:1 Changed 22 months ago by aeichner

  • Status changed from new to closed
  • Resolution set to obsolete

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use