Modify

Opened 12 years ago

Closed 12 years ago

#2613 closed Bug (Fixed)

AutoIt crashes whenever an array value returned from a WMI query is null

Reported by: anonymous Owned by: Jon
Milestone: 3.3.11.3 Component: AutoIt
Version: 3.3.10.2 Severity: None
Keywords: Cc:

Description

Example:

_GetIPAddresses()

Func _GetIPAddresses($sComputer = @ComputerName)

Local $objWMI = ObjGet('winmgmts:
' & $sComputer & '\root\CIMV2')
Local $objClass = $objWMI.InstancesOf('Win32_NetworkAdapterConfiguration')

For $objItem In $objClass

MsgBox(0,"",$objItem.IPAddress(0))

Next

EndFunc

Here are the problem details as returned by Windows...
Problem signature:
Problem Event Name: APPCRASH
Application Name: autoit3.exe
Application Version: 3.3.10.2
Application Timestamp: 52c196bd
Fault Module Name: autoit3.exe
Fault Module Version: 3.3.10.2
Fault Module Timestamp: 52c196bd
Exception Code: c0000005
Exception Offset: 0004b79d
OS Version: 6.3.9600.2.0.0.272.7
Locale ID: 1033
Additional Information 1: 5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: 01d7
Additional Information 4: 01d7340064827245f2249cd1f1a7c264
Read our privacy statement online:

http://go.microsoft.com/fwlink/?linkid=280262
If the online privacy statement is not available, please read our privacy statement offline:

C:\Windows\system32\en-US\erofflps.txt

Here is AutoIT's exit code:
Exit code: -1073741819 Time: 57.541

Please see this thread.
http://www.autoitscript.com/forum/topic/157625-crash-after-upgrading-to-33102/#entry1142433

Attachments (0)

Change History (1)

comment:1 by Jon, 12 years ago

Milestone: 3.3.11.3
Owner: set to Jon
Resolution: Fixed
Status: newclosed

Fixed by revision [9671] in version: 3.3.11.3

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.