Opened 5 years ago

Last modified 5 years ago

#3021 new Bug

AutoIt Crash - calling obj method

Reported by: mLipok Owned by:
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 (2)

comment:1 Changed 5 years ago by jchd18

Any function reference and dummy method will do:

$What = VarGetType.PleaseDoNotCrash()

comment:2 Changed 5 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.

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 new The ticket will remain with no owner.

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

Note: See TracTickets for help on using tickets.