xy64 , 27.90 : run lax() crash

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

xy64 , 27.90 : run lax() crash

Post by bossi »

edit : found error , please see my last post , i cant execute more than 8 function calls in a row in x64 ...
Last edited by bossi on 17 Aug 2025 03:44, edited 1 time in total.

admin
Site Admin
Posts: 66536
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: xy64 , 27.90 : run lax() crash

Post by admin »

No crash here. Might be something about how your variables resolve.

klownboy
Posts: 4467
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: xy64 , 27.90 : run lax() crash

Post by klownboy »

Hi bossi, could you fill in the blanks on the variables such that it's a working script? I ask because based on your report, I ran an old script that uses montage.exe on XYplorer x64 and it ran fine viewtopic.php?t=12843 Though what I have on my computer may be slighlty updated from that linked script.

bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

Re: xy64 , 27.90 : run lax() crash

Post by bossi »

edit : found error , please see my last post , i cant execute more than 8 function calls in a row in x64 ...
Last edited by bossi on 17 Aug 2025 03:44, edited 1 time in total.

bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

Re: xy64 , 27.90 : run lax() crash

Post by bossi »

ok just for record : its unrelated to run external exe , seems to be an issue of chaining function calls. esp since load_menu also uses a helper function , so i basically need to limit the chain of fx calls . wont dig any deeper than that , but x32 in never got problems wich such chaining...

bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

Re: xy64 , 27.90 : run lax() crash

Post by bossi »

please do the basic code execution , proofing on my end that x64 crashes after a chain of 8 function calls .... while x32 handles more , no problem .

Code: Select all

"TEST"
	TESTA()	

	function TESTA(){
		echo "aaa";
		TESTB();
	}
	function TESTB(){
		echo "bbb";
		TESTC()
	}
	function TESTC(){
		echo "ccc";
		TESTD()
	}
	function TESTD(){
		echo "ddd";
		TESTE()
	}
	function TESTE(){
		echo "eee";
		TESTF()
	}
	function TESTF(){
		echo "fff";
		TESTG()
	}
	function TESTG(){
		echo "ggg";
		TESTH()
	}
	function TESTH(){ // -> crashhh in x64 
		echo "hhh";
		TESTI();
	}
	function TESTI(){ 
		echo "iii";
		TESTJ()
	}
	function TESTJ(){  // superior 32bit reaches and prints "jjj" 
		echo "jjj";
	}
for me it crashed both , when executed via load xytest.xys and via Scripting -> Run Script ...

admin
Site Admin
Posts: 66536
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: xy64 , 27.90 : run lax() crash

Post by admin »

Confirmed. I'll inform the TB guys.

btw, here's another test script:

Code: Select all

// 20250817: recursion depth checker
//            VB IDE goes till 202, then crash
//            VB EXE goes till 63, then crash (sometimes error "Out of stack space" before the crash)
//            TB IDE goes till 8, then crash
//            TB EXE goes till 8, then crash
func(1);

function func($i){
  copytext "Recursion depth: $i"; //copy text to clipboard to leave a trace before we crash
  if confirm("Recursion depth: $i<crlf>Click OK to go deeper.") {
    func($i + 1);
  }
}

admin
Site Admin
Posts: 66536
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: xy64 , 27.90 : run lax() crash

Post by admin »

Fixed in the next beta. :beer:

bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

Re: xy64 , 27.90 : run lax() crash

Post by bossi »

oh nice i thought im loosing my mind ))

admin
Site Admin
Posts: 66536
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: xy64 , 27.90 : run lax() crash

Post by admin »

just uploaded... :)

bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

Re: xy64 , 27.90 : run lax() crash

Post by bossi »

Thx for both quick fixes , back in my comfy zone :party:

Post Reply