Modify

#1459 closed Bug (Wont Fix)

Hard Crash

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

Description

The following causes a hard crash with the latest stable of AutoIt. The code is useless but IMO it stil shouldnt cause a hard crash.

While 1
	$V=1
	$V=Ret($V)
	MsgBox(0,"",$V)
WEnd


Func Ret($Val)
	Return Ret($Val)
EndFunc   ;==>Ret

Attachments (0)

Change History (11)

comment:1 by Valik, on Feb 8, 2010 at 12:46:08 AM

Resolution: Works For Me
Status: newclosed

It doesn't cause a hard crash for me. It correctly gives the "Recursion level has been exceeded - AutoIt will quit to prevent stack overflow." error.

comment:2 by anonymous, on Feb 8, 2010 at 2:51:42 AM

It appears to work on x86 autoit. However in x64 the crash happens.

comment:3 by anonymous, on Feb 11, 2010 at 10:01:42 AM

any word on this issue?

comment:4 by Jos, on Feb 11, 2010 at 12:17:19 PM

Resolution: Works For Me
Status: closedreopened

Confirm a Hard crash when ran on x64 Win7.

reopened for more detailed review.

in reply to:  3 comment:5 by Jpm, on Feb 11, 2010 at 1:26:26 PM

Replying to anonymous:

any word on this issue?

next time follow the track report submission guideline. The Environment is fondamental ...

comment:6 by MrCreatoR <mscreator@…>, on Feb 11, 2010 at 2:37:45 PM

Reproducing script for x86:

AutoIt:3.3.4.0 (Os:WIN_XP/X86/Service Pack 2 Language:0419 Keyboard:00000409 Cpu:X86)

$Count = 0
$Max = 4282
$Max += 1 ;Comment this line, and the script will not crash

Ret()

Func Ret()
	$Count += 1
	If $Count < $Max Then Return Ret()
EndFunc

comment:7 by Jon, on Feb 11, 2010 at 4:46:03 PM

Milestone: 3.3.5.4
Owner: set to Jon
Resolution: Fixed
Status: reopenedclosed

Fixed by revision [5691] in version: 3.3.5.4

comment:8 by Jpm, on Feb 14, 2010 at 11:01:09 AM

Resolution: Fixed
Status: closedreopened

I reopened it as for X86 as stated by MSCreator 3.3.5.4 hardcrashed

comment:9 by Jon, on Feb 14, 2010 at 11:14:32 AM

Resolution: Wont Fix
Status: reopenedclosed

Works for me. It's environment related. The only current solution is to keep reducing the recursion level and it's a fairly pointless excercise as unless it is set at some ridiculously low level it will always break for someone.

comment:10 by TicketCleanup, on Feb 14, 2010 at 12:00:02 PM

Milestone: 3.3.5.4

Automatic ticket cleanup.

comment:11 by Jpm, on Feb 14, 2010 at 12:27:15 PM

perhaps Win7 as a greater limit than Vista.
The anonymous example is working under Vista 3.3.5.4
I don't understand why the limit under X64 will be smaller than X86

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.