#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 , 16 years ago
| Resolution: | → Works For Me |
|---|---|
| Status: | new → closed |
comment:4 by , 16 years ago
| Resolution: | Works For Me |
|---|---|
| Status: | closed → reopened |
Confirm a Hard crash when ran on x64 Win7.
reopened for more detailed review.
comment:5 by , 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 , 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 , 16 years ago
| Milestone: | → 3.3.5.4 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | reopened → closed |
Fixed by revision [5691] in version: 3.3.5.4
comment:8 by , 16 years ago
| Resolution: | Fixed |
|---|---|
| Status: | closed → reopened |
I reopened it as for X86 as stated by MSCreator 3.3.5.4 hardcrashed
comment:9 by , 16 years ago
| Resolution: | → Wont Fix |
|---|---|
| Status: | reopened → 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:11 by , 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

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.