Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - snd_pcm_open() core dumps: (2 Items)
   
snd_pcm_open() core dumps  
Hi all,

I am looking at a problem where my debugger doesnt seem to help. My
target
has a sound card that has to be shared by 2 applications. Hence, I am
trying to open/close my DSP pcm channel using libasound calls.

On spawning my app, I can successfully play audio tracks. Now, I stop
playing the track, flush the audio and close the channel using XXXX()
call. When I try to open the channel again I end up in a core dump. It
happens when my fn() calls the snd_pcm_open(). The arguments do not seem
to be corrupt.

When can such a situation arise?
Re: snd_pcm_open() core dumps  
post your core and backtrace here, if everything is correct then why it crashed.