0
0

I’m getting a segmentation fault when using fmod 374 under linux at the end of stream playback. This is with or without a callback registered.

This is using the pySonic wrapper built for linux. Looking at the pysonic code, it looks fine and since it happens with or without a callback registered, I feel the problem may be elsewhere.

DDD said the segfault was thrown by the pthread library when sending a sempahore message.

The python extension is a shared object that calls the fmod shared object api. Could the python exe->shared object lib -> shared object lib be causing problems with pthreads?

Any suggestions on how to debug this?

Would love to get this working. I don’t want to be locked into windows for the application.

  • You must to post comments
0
0

Of course. I looked at the code and it looks fine, that is it is similar to the C++ example code.

I was wondering more about one shared library calling another when pthreads are involved. Figured you guys would have experience with that.

Also any compiler options dealing with the shared libs and pthreads.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.