Abort Signal -dylib -strange

Mac OSX specific forum
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Abort Signal -dylib -strange

Post by walbus »

PB560 Mac
Hi
What is this, i can absolutely not localize or understand ?
On Linux and Windows all works fine

As sample :
I have a little Window on the desktop
Now i call a function in a dylib
This function open also a little Window inside the dylib and make a progressbar
Is the function ready, it close the progressbar window again

The Problem is :
Is in the dylib loop a WindowEvent call, it crash and mean : Abort Signal : Error Code 6

Its only a problem the code is used as dyLib !

A dylib call without a desktop window works

Opening a window after the dylib call with a window event inside crash also

Its simple for making a demo code for this, but, with the dylib not usable for the forum
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: Abort Signal -dylib -strange

Post by wilbert »

On OSX updating the gui has to be done from the main thread.
Maybe it has to do with this :?
Windows (x64)
Raspberry Pi OS (Arm64)
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: Abort Signal -dylib -strange

Post by walbus »

Many thanks for your answer Wilbert

I think, this is it !
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: Abort Signal -dylib -strange

Post by walbus »

It's just like wilbert says
It looks, macOS can not handle the window output from the dylib
The QAES Suite run on Mac, but the suite use the dylib content directly
I will to time not make a separately suite for Mac
The needed text size for the little suite buttons on mac OS is very little, not good readable
And changing the complete suite GUI for a optimized output on mac OS a lot of work
Post Reply