Opened 9 years ago

Closed 3 years ago

#3021 closed Bug (Fixed)

AutoIt Crash - calling obj method

Reported by: mLipok Owned by: Jon
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


Repro code:

#include <ie.au3>

MsgBox(0, 'Correct', _IEObj().Navigate(''))
MsgBox(0, 'Crash', _IEObj.Navigate(''))

Func _IEObj()
	Local $oIE = _IECreate("")
	Return $oIE


>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "Z:\TOOLs\Macro\FORUM\___FORUM -- na forum\TEST_IE_CRASH.au3" /UserParams    
+>02:53:32 Starting AutoIt3Wrapper v.15.503.1200.1 SciTE v.   Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64    Environment(Language:0415)
+>         SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE   UserDir => C:\Users\user\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => C:\Users\user\AppData\Local\AutoIt v3\SciTE 
>Running AU3Check (  from:C:\Program Files (x86)\AutoIt3\Beta  input:Z:\TOOLs\Macro\FORUM\___FORUM -- na forum\TEST_IE_CRASH.au3
+>02:53:32 AU3Check ended.rc:0
>Running:(\Program Files (x86)\AutoIt3\Beta\autoit3.exe "Z:\TOOLs\Macro\FORUM\___FORUM -- na forum\TEST_IE_CRASH.au3"    
--> Press Ctrl+F11 to Restart or Ctrl+Break -or- F11 to Stop
!>02:53:57 AutoIt3.exe ended.rc:-1073741819
+>02:53:57 AutoIt3Wrapper Finished.
>Exit code: 3221225477    Time: 25.39

Attachments (0)

Change History (6)

comment:1 Changed 9 years ago by jchd18

Any function reference and dummy method will do:

$What = VarGetType.PleaseDoNotCrash()

comment:2 Changed 9 years ago by mLipok

It is even stranger - AutoIt unexpected behavior.
Regardless of whether my code is correct, incorrect or foolish,
AU3Check should it catch, or finally AutoIt should also catch it, and announce that it is a syntax error in line ....
It should not however reach a situation in which any program exits via CRASH.

comment:3 Changed 4 years ago by Jpm

Hi, Au3Check cannot catch such expression as it is not sensitivento variable type/value
I did a fix that I send to Jon for integration

comment:4 Changed 4 years ago by Jpm

  • Owner set to Jpm
  • Status changed from new to assigned

comment:5 Changed 4 years ago by mLipok


comment:6 Changed 3 years ago by Jon

  • Milestone set to
  • Owner changed from Jpm to Jon
  • Resolution set to Fixed
  • Status changed from assigned to closed

Fixed by revision [12552] in version:

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

as closed The owner will remain Jon.

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

Note: See TracTickets for help on using tickets.