Pthreads and Extension Modules on Linux

K

Kevin Dahlhausen

I've been playing with pySonic on unix. PySonic is pyrex wrapper
around the fmod sound library. Fmod is distributed as a shared
library that uses pthreads. I am getting a segfault when a stream
stops playing, at this point I've been able to determine only that the
segfault is from a semaphore message in the pthread library.

Native C++ code solution works fine, so it is some interaction between
python->pySonic shared lib extension->fmod shared lib.

Is anyone aware of any issues or special compiler settings when
building an extension (shared lib) that depends on another shared lib
that uses pthreads?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top