Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#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, 16 years ago

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, 16 years ago

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

comment:3 by anonymous, 16 years ago

any word on this issue?

comment:4 by Jos, 16 years ago

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 J-Paul Mesnage, 16 years ago

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@…>, 16 years ago

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, 16 years ago

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 J-Paul Mesnage, 16 years ago

Resolution: Fixed
Status: closedreopened

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

comment:9 by Jon, 16 years ago

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, 16 years ago

Milestone: 3.3.5.4

Automatic ticket cleanup.

comment:11 by J-Paul Mesnage, 16 years ago

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.