qcosc and Quartz Builder

itsthejayj's picture

Hi all

I'm tying to use hexlers qcosc plugin (http://hexler.net/software/qcosc) to receive osc signals in a Quartz Builder application. After a minute or so i get a crash (see attached crash log). Everything is fine within the QC editor which leads me to believe its QB having problems when running this plugin, is it because the plugin runs on the main thread? Is there any way i can solve this crash?

I've attached an example QB app + composition. If you run the app and the oscsender composition you should see the problems i'm having within a few minutes. Thanks for any help with this

PreviewAttachmentSize
QB+qcosc.zip297.62 KB

gtoledo3's picture
Re: qcosc and Quartz Builder

Is qcosc a 64/32 bit universal? Quartz Builder is a 32 bit runtime, so that's one possibility. I seem to remember qcosc doing something that adds or subtracts ports programtically, during runtime... Maybe that could be a problem? I've used the stock osc device in qc apps though.

itsthejayj's picture
Re: qcosc and Quartz Builder

qcosc is universal 32/64 compatible. This is what jaymie @ kineme first thought but it turn out not to be the case. You maybe on to some thing with how Robs approach of adding ports and paths dynamically though, I'll mention that in an email to him.

Its the line below in the crash log that means nothing to me

<NSCFDictionary: 0x100573250> was mutated while being enumerated.<CFBasicHash 0x100573250 [0x7fff709e9ee0]>

gtoledo3's picture
Re: qcosc and Quartz Builder

I'm looking at it looks like that's what's going on to me, but I could stand corrected. It's not a 32/64 bit issue (looking at the plugin now). I'm pretty sure that Quartz Builder is saving the composition as data, so in doing that, it has to save all of the connections/ports, etc. When this plugin is causing the qtz connections to try to reconfigure, I think it's failing.

Does this have to listen to a port that you put into settings, and then it spawns a port? What happens normally when you re-open a composition? Do you have to reconnect stuff? Do you have to manually put the port info in settings to get it to "take"?

itsthejayj's picture
Re: qcosc and Quartz Builder

Quote:
Does this have to listen to a port that you put into settings, and then it spawns a port? What happens normally when you re-open a composition? Do you have to reconnect stuff? Do you have to manually put the port info in settings to get it to "take"?

A port is set in the settings, its not an available parameter, qcosc then spawns and checks to see if the port is available via Zeroconf (aka bonjour), this maybe the problem?. Everything works as expected in theQC editor no reconnecting of osc arguments(outlets) or port number.

I'm close to giving up on this and QB.

Does anyone have an application that can float ontop, has a preview size and go fullscreen. With i can just swap the qc composition for my own. I really need to package things up into an application to send to some one.

micrem73's picture
Re: qcosc and Quartz Builder

I have the same problem. An app built with QB that crash due to qcOSC crash, with the same message above in console. Did anyone find a solution? mic