Modify

Opened 10 years ago

Closed 4 years ago

#3021 closed Bug (Fixed)

AutoIt Crash - calling obj method

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

Description

Repro code:

#include <ie.au3>

MsgBox(0, 'Correct', _IEObj().Navigate('https://www.autoitscript.com/forum/'))
MsgBox(0, 'Crash', _IEObj.Navigate('https://www.autoitscript.com/forum/'))

Func _IEObj()
	Local $oIE = _IECreate("www.autoitscript.com")
	Return $oIE
EndFunc

Result:

>"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.3.5.4.0   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 (3.3.13.21)  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:(3.3.13.20):C:\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 10 years ago by jchd18

Any function reference and dummy method will do:

$What = VarGetType.PleaseDoNotCrash()

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

Thanks

comment:6 Changed 4 years ago by Jon

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

Fixed by revision [12552] in version: 3.3.15.4

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.