Purebasic Executable error on the Mac

Everything else that doesn't fall into one of the other PB categories.
Muzza
New User
New User
Posts: 2
Joined: Thu Sep 12, 2019 5:15 pm

Purebasic Executable error on the Mac

Post by Muzza »

Hi

What have I missed. I am using a mac and can run and build from the IDE, with and without debugger, but as soon as I create a Mac Executable and try to run it i get an error. I must be missing something in compiler options.

Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000086
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [1933]


MacOS_mojav 10.14.6

If anyone has any ideas, I shall be most grateful, thanks, M.
User avatar
mk-soft
Always Here
Always Here
Posts: 5406
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Purebasic Executable error on the Mac

Post by mk-soft »

No idea without code and pb version...
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
Muzza
New User
New User
Posts: 2
Joined: Thu Sep 12, 2019 5:15 pm

Re: Purebasic Executable error on the Mac

Post by Muzza »

Thanks

I've solved it. it was an image file not being put in the contents folder of the app executable package. Ive changed the code to 'continue' if the image is not loaded and just replace it with a dull box
User avatar
Shardik
Addict
Addict
Posts: 1989
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: Purebasic Executable error on the Mac

Post by Shardik »

Thank you for posting the solution to your problem. Other users with a similar problem might benefit from your solution.

And welcome to the PureBasic forum! :)
User avatar
mk-soft
Always Here
Always Here
Posts: 5406
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Purebasic Executable error on the Mac

Post by mk-soft »

This tool copy the images and more to the right resources folder inside the app.

Link : MyAppData
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