VirtualBox

Opened 11 years ago

Closed 8 years ago

#11637 closed defect (obsolete)

VBoxSVC crash when calling IPerformanceCollector.SetupMetrics

Reported by: Ivo Smits Owned by:
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);

Change History (1)

comment:1 by aeichner, 8 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use