Ok, the v640 plot thickens.
While shrinking 1 of my apps(35k LOC) to PM to Fred, I found that command line compiles for both v630 and v640b1 actually work.
But all v640alphas through v640b1 IDE compiles crash hard.
If I try to compile these settings from the v640b1 IDE, I crash.
C:\purebasic-x64-640b1\compilers\pbcompilerc -c -z -t "C:\dev-640\myapp\myapp.pbi" /DYNAMICCPU /XP /UCRT /ICON "C:\dev-640\myapp\img\myapp-32x32.ico" -o "c:\dev-640\myapp\myapp-x64v640b1.exe"
These same settings work in IDE v630.
C:\purebasic-x64-630\compilers\pbcompilerc -c -z -t "C:\dev-640\myapp\myapp.pbi" /DYNAMICCPU /XP /UCRT /ICON "C:\dev-640\myapp\img\myapp-32x32.ico" -o "c:\dev-640\myapp\myapp-x64v630.exe"
I will send Fred the code today after confirming what I'm seeing now.
[BUG-640b2] Code crashes with IDE compile but not command line?
[BUG-640b2] Code crashes with IDE compile but not command line?
Last edited by skywalk on Thu Mar 12, 2026 10:20 pm, edited 1 time in total.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: [BUG-640b2] Crash with IDE compile but not command line?
Ok, tried v640b2 and my app gets a little further but ultimately IMA crashes at a later line on a Space(my$) call.
Fred has the source code.
Code: Select all
r$ = Space(8) + " 1234 "
vtfw = 2 * wmid\WR_mm - VectorTextWidth(r$) + VectorTextWidth(Space(10)) ;<-- IMAThe nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: [BUG-640b1] Crash with IDE compile but not command line?
Can reproduce this on 6.40 B1 and B2 on Windows, with any app at all. Trying to run this or compile it to an executable hard crashes the IDE on Windows 11.
Should I open another report for this? It sounds like the same bug, although I'm unsure why it would just be your app.
Code: Select all
OpenWindow(0, #PB_Ignore, #PB_Ignore, #PB_Ignore, #PB_Ignore, "Accessware")
Repeat
Until WaitWindowEvent(1) = #PB_Event_CloseWindow
Re: [BUG-640b1] Code crash with IDE compile but not command line?
I think you posted in the wrong thread?
I'll rename this for clarity.
I'll rename this for clarity.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: [BUG-640b2] Code crashes with IDE compile but not command line?
Err...what?
Your thread talks about the IDE crashing when you compile/run your app. Same bug here.
Your thread talks about the IDE crashing when you compile/run your app. Same bug here.
