PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's

Post bugs related to the IDE here
User avatar
mk-soft
Always Here
Always Here
Posts: 6244
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's

Post 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
Last edited by mk-soft on Sat Jul 26, 2025 6:49 pm, edited 2 times in total.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Fred
Administrator
Administrator
Posts: 18207
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's

Post by Fred »

Thanks, it helps a lot !
User avatar
mk-soft
Always Here
Always Here
Posts: 6244
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's

Post by mk-soft »

Fred wrote: Mon Jul 07, 2025 8:23 am Thanks, it helps a lot !
:D :wink:

Will there be an intermediate update to download soon?
If not so fast, I compile a few more linux versions as a patch.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
acreis
Enthusiast
Enthusiast
Posts: 204
Joined: Fri Jun 01, 2012 12:20 am

Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's

Post by acreis »

Really thanks!
User avatar
mk-soft
Always Here
Always Here
Posts: 6244
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's

Post by mk-soft »

List of IDE's
- Added - Linux3 (Ubuntu 24.04)

:wink:
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Piero
Addict
Addict
Posts: 917
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's

Post 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 :mrgreen: :wink:
User avatar
mk-soft
Always Here
Always Here
Posts: 6244
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's

Post 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 :mrgreen: :wink:
There is no guarantee 8) . 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 ...
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Piero
Addict
Addict
Posts: 917
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's

Post by Piero »

mk-soft wrote: Tue Jul 08, 2025 6:49 pmThere is no guarantee 8) . 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
User avatar
mk-soft
Always Here
Always Here
Posts: 6244
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's

Post 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.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Piero
Addict
Addict
Posts: 917
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's

Post 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………
User avatar
mk-soft
Always Here
Always Here
Posts: 6244
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PB v6.21 Some Bug Fixed - Pull Request and Compiled IDE's

Post by mk-soft »

Update List Of IDE's
- Added Linux Arm64 (Raspberry PI OS)

;)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply