Modify

Opened 13 years ago

Closed 13 years ago

#1878 closed Bug (Wont Fix)

Hard crash on VirtualBox.GuestOSTypes

Reported by: rbhkamal@… Owned by:
Milestone: Component: AutoIt
Version: 3.3.6.1 Severity: None
Keywords: Cc:

Description

VirtualBox provides a COM interface through VirtualBox.VirtualBox. AutoIt crashes with core dump on Windows 7 (at least) when GuestOSTypes is invoked.

I verified that the crash wasn't from the virtualbox code by testing the same code on python

Here is the code:

$oVBox_VirtualBox = ObjCreate( "VirtualBox.VirtualBox" )
ConsoleWrite( "Version: " & $oVBox_VirtualBox.Version & @CRLF )
ConsoleWrite( "GuestOSTypes: " & $oVBox_VirtualBox.GuestOSTypes & @CRLF )

When running the code in python I get the following output for OSTypes:

3.2.12_OSE
(<COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>, <COMObject <unknown>>)

Attachments (0)

Change History (2)

comment:1 Changed 13 years ago by rbhkamal@…

Here is the code in python:

import win32com.client

object = win32com.client.Dispatch("VirtualBox.VirtualBox")
if not object:
    print "Failed to get object"
    exit


print object.Version
osTypes =  object.GuestOSTypes

os = ""
for os in osTypes:
    print "FamilyId" + str(os.FamilyId)
    print "FamilyDescription" + str(os.FamilyDescription)
    print "Id" + str(os.Id)
    print "Description" + str(os.Description)
    print "RecommendedRAM" + str(os.RecommendedRAM)
    print "RecommendedVRAM" + str(os.RecommendedVRAM)
    print "-------------------"
    
    

comment:2 Changed 13 years ago by Jon

  • Resolution set to Wont Fix
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.