QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: CBTJD on April 18, 2020, 04:00:28 pm
-
Hello All,
Occasionally, I am unable to run QB64 on the Mac. It just throws out a quick "Segmentation Fault 11" error and refuses to run. Any ideas?
Thanks.
:@)
-
Up until v1.3 QB64 would occasionally throw a segfault error if there was an image in memory (like copied with Command+C from another program), but that was fixed in 1.4 (at least I don't get those anymore - running Catalina here). Is it random or do you think there are steps to reproduce it?
-
Up until v1.3 QB64 would occasionally throw a segfault error if there was an image in memory (like copied with Command+C from another program), but that was fixed in 1.4 (at least I don't get those anymore - running Catalina here). Is it random or do you think there are steps to reproduce it?
I haven't seen a pattern to reproduce yet. I thought I had seen some connection with running Firefox browser, but that didn't pan out. It doesn't help that my daily driver is running Sierra. I'll poke around with the clipboard. Thanks!
-
Hey! That did the trick. I cleared my clipboard and it started up right away.
Thanks again!
-
dang... I'm glad it did it for you but I could swear id fixed it... Maybe it was in the current dev build. I'll check.
-
I am able to easily replicate it just by putting an image in the clipboard. Removing it fixes the error straight away.
-
Nevermind, I'm happy again. v1.4 is indeed still plagued, as the patch was applied after it was released. It's the current dev build that's already fixed.
The fix is as simple as you can see below:
[ This attachment cannot be displayed inline in 'Print Page' view ]
If you want to give it a try, just change libqb.cpp as above and run ./setup_osx.command to generate a new qb64 binary. Or get the dev build (https://www.qb64.org/portal/development-build/) anyway ;-)
-
That's awesome! Thank you. I'll do that. :@)
-
Made the change and it did the trick! Thanks!
-
My pleasure.