Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 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 Changed 14 years ago by Valik

  • Resolution set to Works For Me
  • Status changed from new to closed

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 Changed 14 years ago by anonymous

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

comment:3 follow-up: Changed 14 years ago by anonymous

any word on this issue?

comment:4 Changed 14 years ago by Jos

  • Resolution Works For Me deleted
  • Status changed from closed to reopened

Confirm a Hard crash when ran on x64 Win7.

reopened for more detailed review.

comment:5 in reply to: ↑ 3 Changed 14 years ago by Jpm

Replying to anonymous:

any word on this issue?

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

comment:6 Changed 14 years ago by MrCreatoR <mscreator@…>

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 Changed 14 years ago by Jon

  • Milestone set to 3.3.5.4
  • Owner set to Jon
  • Resolution set to Fixed
  • Status changed from reopened to closed

Fixed by revision [5691] in version: 3.3.5.4

comment:8 Changed 14 years ago by Jpm

  • Resolution Fixed deleted
  • Status changed from closed to reopened

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

comment:9 Changed 14 years ago by Jon

  • Resolution set to Wont Fix
  • Status changed from reopened to closed

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 Changed 14 years ago by TicketCleanup

  • Milestone 3.3.5.4 deleted

Automatic ticket cleanup.

comment:11 Changed 14 years ago by Jpm

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

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.