Modify

Opened 6 years ago

Closed 6 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 Changed 6 years ago by Jon

  • Milestone set to 3.3.11.3
  • Owner set to Jon
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [9671] in version: 3.3.11.3

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 owner will remain Jon.
Author


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

 
Note: See TracTickets for help on using tickets.