Page 1 of 1

[Done] BUGS-640a1 Len(r$)?, #myStr$+r$ CRASH

Posted: Sat Jan 24, 2026 6:51 pm
by skywalk
Ok, lots of errors in big apps.
Structures with string arrays seem corrupt.
Cannot post snippet until this simple code runs without errors.

Code: Select all

EnableExplicit
#VER$           = "26.01.24"  ;-! -SET_VERSION
#SEMI$          = Chr(59):  #SEMI         = 59  ; ";"
#RPAREN$        = Chr(41):  #RPAREN       = 41  ; ")"
Global.s winTitle$        = "Version (" + #VER$ + #RPAREN$
Global.s r$ = #Empty$
Global.s r$ = Space(32)
r$ = "12345678223456783234567842345678523456786"
Global.i nPts
nPts = Len(winTitle$)
ShowMemoryViewer(@r$, 96)
CallDebugger
r$ = #SEMI$ + winTitle$ + #LF$
r$ + #SEMI$ + "len(winTitle$) = " + Str(nPts)
Debug r$

Re: [BUGS-640a1] Len(r$)?, #myStr$+r$ CRASH

Posted: Mon Jan 26, 2026 11:22 am
by Fred
I guess you have the purifier enabled ? Should be fixed for next alpha.

Re: [Done] BUGS-640a1 Len(r$)?, #myStr$+r$ CRASH

Posted: Mon Jan 26, 2026 12:56 pm
by skywalk
No, I turned purifier off from your notes on the alpha release.
I did enable threaded enabled, optimizer, shared crt.

Re: [Done] BUGS-640a1 Len(r$)?, #myStr$+r$ CRASH

Posted: Mon Jan 26, 2026 2:26 pm
by Fred
Strange, I can't reproduce it here. Can anybody else confirm ?

Re: [Done] BUGS-640a1 Len(r$)?, #myStr$+r$ CRASH

Posted: Tue Jan 27, 2026 10:23 am
by ChrisR
I am also not reproducing it with the same flags for the C Backend compiler (win x64).

Re: [Done] BUGS-640a1 Len(r$)?, #myStr$+r$ CRASH

Posted: Tue Jan 27, 2026 4:12 pm
by skywalk
I can check some other errors today.
Windows 11 latest.

Re: [Done] BUGS-640a1 Len(r$)?, #myStr$+r$ CRASH

Posted: Tue Jan 27, 2026 5:19 pm
by Fred
Wait for the alpha 2, it will be better for larger tests

Re: [Done] BUGS-640a1 Len(r$)?, #myStr$+r$ CRASH

Posted: Tue Jan 27, 2026 11:32 pm
by skywalk
Nice!

Re: [Done] BUGS-640a1 Len(r$)?, #myStr$+r$ CRASH

Posted: Wed Jan 28, 2026 6:07 pm
by skywalk
Ok, a2 works for this simple code.

I have errors still in the 40k LOC app.
I will try to make snippets in a few days.

Complex structure fails on this line with IMA and repeats in a loop...
wmi\mp$ = UCase(myFilePath$) ;<-- CRASH here