I've started from scratch but still having problems with osgAudio on Mac OS
X when using OpenAL, (I tried FMOD and no problems at all).

Actually I think that the problem happens only when trying to play ogg files
(or maybe when playing streams in general, I'm not sure) and the problem may
be related to threads because of the error messages I'm getting:

*StreamUpdater::cancelCleanup: Should probably not delete this*
*Error: Thread 0x14b0f010 still running in destructor*
*
*
*Bus error* (or sometimes* Segmentation fault*)

finally the app sometimes crashes. Do you have any idea or suggestion?
Thanks.
Alessandro




On Tue, Mar 8, 2011 at 10:43 AM, Alessandro Terenzi <a.tere...@gmail.com>wrote:

> Just for your information, I was keeping trying with OpenAL bundled with OS
> X and other osgAudio examples, I tried "example_osgaudiolow_playOgg" and,
> while everything goes fine during the app lifetime, when the app quits, I
> get this error:
>
> StreamUpdater::cancelCleanup: Should probably not delete this
> Error: Thread 0x837300 still running in destructor
> Segmentation fault
>
> and the app crashes (I can send the dump if you want).
>
> Regards.
> Alessandro
>
>
> On Tue, Mar 8, 2011 at 9:59 AM, Alessandro Terenzi <a.tere...@gmail.com>wrote:
>
>> Yes, I tried the OpenAL framework that comes with OS X and it works, but
>> I'm just getting an error the first time I press the 'm' key in the
>> 'example_osgaudio':
>>
>> *alError: (1718449215)
>> Builds/osgAudio/osgAudio_02_00_00/src/openalpp/Source.cpp at Line: 115: No
>> message associated with error code.*
>> *Error: pthread_cond_destroy(,) returned error status, status = 16*
>>
>> but actually the sound keeps playing correctly and the app does not crash.
>> So, not considering the error that is printed in the console, everything
>> seems to work fine using the framework that comes with OS X.
>>
>> I'll keep trying OpenAL and also have a look at fmod for further
>> development.
>> Thanks everybody for the help.
>>
>> Cheers.
>> Alessandro
>>
>> On Tue, Mar 8, 2011 at 9:07 AM, Stephan Huber <ratzf...@digitalmind.de>wrote:
>>
>>> Am 07.03.11 11:46, schrieb Alessandro Terenzi:
>>> > verything works fine on Windows, I'm having this problems only on Mac
>>> OS X
>>> > and, FYI, I've built all the dependencies for osgAudio, including
>>> > OpenAL-soft and freeAlut. The OSG version I'm using is 2.9.6.
>>>
>>> OpenAL is bundled with OS X as a framework. Have you tried this version
>>> of OpenAL?
>>>
>>> Cheers,
>>> Stephan
>>> _______________________________________________
>>> osg-users mailing list
>>> osg-users@lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>>
>>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to