On Thu, 18.12.08 16:35, Rick Bronson (rick at efn.org) wrote: heya! > Hello, > > Lets say you call snd_pcm_prepare() but for some reason the creation > of the stream fails and pa_create_stream_callback() gets called with > command != PA_COMMAND_REPLY then does pa_stream_set_state(s, > PA_STREAM_FAILED). Just before snd_pcm_prepare() exits, it clears out > pcm->stream. > > The problem here is that when snd_pcm_close() gets called it > references *pcm->stream but it's been set to NULL. > > Any help or ideas would be greatly appreciated. Hmm, I am a bit confused. I figure you are speaking o the PA plugin for libasound, right? in pulse_close() we touch pcm->stream only when it is set. But I might be mistaken what exactly you are referring to. Please try to be more elaborate and include refeernces to code/line numbers please! Thank you, Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net ICQ# 11060553 http://0pointer.net/lennart/ GnuPG 0x1A015CC4