Page 1 of 1
PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's
Posted: Sun Jul 06, 2025 2:25 pm
by mk-soft
In the PureBasic IDE are unfortunately still some bugs that I could fix.
Unfortunately I didn't have time for this during the beta phase.
GitHub Pull Request:
https://github.com/fantaisie-software/p ... c/pull/321
macOS:
- Crash of the IDE when quitting with Command-Q keyboard
Form Designer:
- Standard PB constants landed in custom flags
- Assignment of the custom flags was in the wrong list
Procedure Browser:
- The position of PopListPosition was in the wrong place and sporadically crashed
If you don't want to compile the PureBasic IDE yourself, I have already put some ready compiled on my OnDrive.
These are only the PureBasic IDE's without libraries and compilers from fantaisie-soft.
Link:
OneDrive PureBasic-IDE
List of IDE's:
- macOS X64
- Windows x86
- Windows x64
- Linux2 (Ubuntu 20.04, 22.04)
- Linux3 (Ubuntu 24.04)
- Linux Arm64 (Raspberry PI OS)
Linux IDE's will follow
Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's
Posted: Mon Jul 07, 2025 8:23 am
by Fred
Thanks, it helps a lot !
Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's
Posted: Mon Jul 07, 2025 6:04 pm
by mk-soft
Fred wrote: Mon Jul 07, 2025 8:23 am
Thanks, it helps a lot !
Will there be an intermediate update to download soon?
If not so fast, I compile a few more linux versions as a patch.
Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's
Posted: Mon Jul 07, 2025 6:15 pm
by acreis
Really thanks!
Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's
Posted: Mon Jul 07, 2025 6:54 pm
by mk-soft
List of IDE's
- Added - Linux3 (Ubuntu 24.04)

Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's
Posted: Tue Jul 08, 2025 3:13 pm
by Piero
THANKS mk!
I became an expert: I can make PB hang also
using menu quit and (much more rarely) by
closing the window………
But with your (Mac) intel patch, it SEEMS to work (on M1, and I didn't really test a LOT…)
My point is: are you sure your patch cannot leave """corrupted""" files? This can include PB prefs… (on quit, not all stuff may get properly executed…)
Anyway, I promise I will risk to destroy my SSD again trying to make the next PB version misbehave

Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's
Posted: Tue Jul 08, 2025 6:49 pm
by mk-soft
Piero wrote: Tue Jul 08, 2025 3:13 pm
THANKS mk!
I became an expert: I can make PB hang also
using menu quit and (much more rarely) by
closing the window………
But with your (Mac) intel patch, it SEEMS to work (on M1, and I didn't really test a LOT…)
My point is: are you sure your patch cannot leave """corrupted""" files? This can include PB prefs… (on quit, not all stuff may get properly executed…)
Anyway, I promise I will risk to destroy my SSD again trying to make the next PB version misbehave
There is no guarantee

. But how is PB supposed to destroy an SSD? At the latest when exiting PB Programs, all open resources are closed.
Have you already downloaded and tested the PureBasic IDE from GitHub with your M1 ...
Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's
Posted: Thu Jul 10, 2025 12:48 pm
by Piero
mk-soft wrote: Tue Jul 08, 2025 6:49 pmThere is no guarantee

. But how is PB supposed to destroy an SSD? At the latest when exiting PB Programs, all open resources are closed.
Have you already downloaded and tested the PureBasic IDE from GitHub with your M1 ...
From my tests, there's definitely something wrong about PB shortcuts management
Example: assign ^Q to quit, and LATER (in another session) assign ⌘Q; it "stops working" after some tries (preferences don't get updated/saved)…
Also: successfully assigning ⌘Q results in a non-working shortcut…
I SUSPECT """shortcut events may erratically fail""" preventing e.g. a proper quit:
Code: Select all
[MAY FAIL]
PB hijacks "MacOS ⌘Q"
Saves and closes files properly, including preferences etc.
[END MAY FAIL]
MacOS quit
From my PB-crashing, SSD-crushing tests, I wonder if it can also happen with other shortcuts (like ⌘S)… maybe USING SHORTCUTS CAN CREATE CHAOS and make PB hang (or MISBEHAVE) even by closing the window…
Please forgive me for not daring to try to debug the IDE code: YOU are the threads/callbacks/events/cocoa/pools Guru (but we invented Pizza!)
PS: don't forget to check with Disk Utility if you make it crash many times on purpose!
viewtopic.php?p=642904#p642904
Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's
Posted: Thu Jul 10, 2025 6:57 pm
by mk-soft
I can also compile a debug version for the macOS PB-IDE (x64) for you.
Started via terminal will give you the debug info.
Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's
Posted: Fri Jul 11, 2025 12:14 am
by Piero
mk-soft wrote: Thu Jul 10, 2025 6:57 pm
I can also compile a debug version for the macOS PB-IDE (x64) for you.
Started via terminal will give you the debug info.
You surely are far, FAR better than me @debugging PB stuff…
Did you spot "
shortcuts not working well" situations? Seems it can happen erratically, after some tries…
Anyway, probably, best would be to find a better way to "manage/implement" them………
Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's
Posted: Sat Jul 26, 2025 6:50 pm
by mk-soft
Update List Of IDE's
- Added Linux Arm64 (Raspberry PI OS)
