Opened 12 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:
- Call IPerformanceCollector.SetupMetrics and pass an empty array for aObjects
- 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.
Please reopen if still relevant with a recent VirtualBox release.