Hello,
I am currently developing an audio effect plug-in on Mac, which supports both VST/AudioUnit formats. I am trying to get the plug-in to work correctly in Audition CS6, but I am witnessing some very strange behaviour which is causing crash scenarios.
The problem occurs when I make a call to boost library functions timed_wait() or sleep(). which are called from within a thread I create when the plug-in is first loaded into memory. As soon as one of these methods is called, a crash occurs inside the pthreads library function pthread_getspecific(), due to memory access at address 0x0.
This behaviour is not exhibited in any other host I've tested in. Can you think of any reason why this might be happening?
Thanks in advance,
Luke