--- stack trace --- #0 0x00007f6d27aeba93 in _int_free () from /lib/libc.so.6 #1 0x00007f6d27aebf86 in free () from /lib/libc.so.6 #2 0x00007f6d2325deb0 in pa_pstream_unlink (p=0x19b3b40) at pulsecore/pstream.c:982 __func__ = "pa_pstream_unlink" __PRETTY_FUNCTION__ = "pa_pstream_unlink" #3 0x00007f6d23238733 in pa_context_set_state (c=0x19af000, st=PA_CONTEXT_TERMINATED) at pulse/context.c:257 s = (pa_stream *) 0x0 __func__ = "pa_context_set_state" __PRETTY_FUNCTION__ = "pa_context_set_state" #4 0x00007f6d23482015 in pulse_free (p=0x199fa60) at pulse.c:234 No locals. #5 0x00007f6d23480dcd in pulse_close (io=) at pcm_pulse.c:723 pcm = (snd_pcm_pulse_t *) 0x199f970 __PRETTY_FUNCTION__ = "pulse_close" #6 0x00007f6d23713fde in snd_pcm_ioplug_close (pcm=) at pcm_ioplug.c:744 io = (ioplug_priv_t *) 0x19b4160 #7 0x00007f6d236d66c5 in snd_pcm_close (pcm=0x19b35f0) at pcm.c:699 res = 0 err = __PRETTY_FUNCTION__ = "snd_pcm_close" #8 0x00007f6d23967071 in outstanding_free (o=0x196b030) at alsa.c:78 __PRETTY_FUNCTION__ = "outstanding_free" #9 0x00007f6d23967631 in thread_func (userdata=) at alsa.c:411 out = (struct outstanding *) 0x196b030 ret = 0 data = (void *) 0x19b6060 d = fs = 4 data_size = 16384 nbytes = 0 pfd = (struct pollfd *) 0x19698b0 n_pfd = 2 p = (struct private *) 0x1969be0 __PRETTY_FUNCTION__ = "thread_func" #10 0x00007f6d27de93ea in start_thread () from /lib/libpthread.so.0 #11 0x00007f6d27b56c6d in clone () from /lib/libc.so.6 #12 0x0000000000000000 in ?? () --- thread stack trace --- . Thread 3 (process 5902): #0 0x00007f6d27b64b1e in __lll_lock_wait_private () from /lib/libc.so.6 #1 0x00007f6d27aefb25 in _L_lock_4802 () from /lib/libc.so.6 #2 0x00007f6d27aebf7b in free () from /lib/libc.so.6 #3 0x00007f6d2682b110 in ?? () from /lib/libselinux.so.1 #4 0x00007f6d2681e2ff in ?? () from /lib/libselinux.so.1 #5 0x0000000000000000 in ?? () . Thread 2 (process 5909): #0 0x00007f6d27de957d in start_thread () from /lib/libpthread.so.0 #1 0x00007f6d2ccc6040 in ?? () from /lib64/ld-linux-x86-64.so.2 #2 0x0000000000000000 in ?? () . Thread 1 (process 5910): #0 0x00007f6d27aeba93 in _int_free () from /lib/libc.so.6 #1 0x00007f6d27aebf86 in free () from /lib/libc.so.6 #2 0x00007f6d2325deb0 in pa_pstream_unlink (p=0x19b3b40) at pulsecore/pstream.c:982 __func__ = "pa_pstream_unlink" __PRETTY_FUNCTION__ = "pa_pstream_unlink" #3 0x00007f6d23238733 in pa_context_set_state (c=0x19af000, st=PA_CONTEXT_TERMINATED) at pulse/context.c:257 s = (pa_stream *) 0x0 __func__ = "pa_context_set_state" __PRETTY_FUNCTION__ = "pa_context_set_state" #4 0x00007f6d23482015 in pulse_free (p=0x199fa60) at pulse.c:234 No locals. #5 0x00007f6d23480dcd in pulse_close (io=) at pcm_pulse.c:723 pcm = (snd_pcm_pulse_t *) 0x199f970 __PRETTY_FUNCTION__ = "pulse_close" #6 0x00007f6d23713fde in snd_pcm_ioplug_close (pcm=) at pcm_ioplug.c:744 io = (ioplug_priv_t *) 0x19b4160 #7 0x00007f6d236d66c5 in snd_pcm_close (pcm=0x19b35f0) at pcm.c:699 res = 0 err = __PRETTY_FUNCTION__ = "snd_pcm_close" #8 0x00007f6d23967071 in outstanding_free (o=0x196b030) at alsa.c:78 __PRETTY_FUNCTION__ = "outstanding_free" #9 0x00007f6d23967631 in thread_func (userdata=) at alsa.c:411 out = (struct outstanding *) 0x196b030 ret = 0 data = (void *) 0x19b6060 d = fs = 4 data_size = 16384 nbytes = 0 pfd = (struct pollfd *) 0x19698b0 n_pfd = 2 p = (struct private *) 0x1969be0 __PRETTY_FUNCTION__ = "thread_func" #10 0x00007f6d27de93ea in start_thread () from /lib/libpthread.so.0 #11 0x00007f6d27b56c6d in clone () from /lib/libc.so.6 #12 0x0000000000000000 in ?? () --- source code stack trace --- #0 0x00007f6d27aeba93 in _int_free () from /lib/libc.so.6 #1 0x00007f6d27aebf86 in free () from /lib/libc.so.6 #2 0x00007f6d2325deb0 in pa_pstream_unlink (p=0x19b3b40) at pulsecore/pstream.c:982 [Error: pulsecore/pstream.c was not found in source tree] #3 0x00007f6d23238733 in pa_context_set_state (c=0x19af000, st=PA_CONTEXT_TERMINATED) at pulse/context.c:257 [Error: pulse/context.c was not found in source tree] #4 0x00007f6d23482015 in pulse_free (p=0x199fa60) at pulse.c:234 229: } 230: 231: ca_mutex_unlock(p->outstanding_mutex); 232: 233: while (l) { 234: out = l; 235: 236: CA_LLIST_REMOVE(struct outstanding, l, out); 237: 238: if (out->callback) 239: out->callback(c, out->id, CA_SUCCESS, out->userdata); #5 0x00007f6d23480dcd in pulse_close (io=) at pcm_pulse.c:723 [Error: pcm_pulse.c was not found in source tree] #6 0x00007f6d23713fde in snd_pcm_ioplug_close (pcm=) at pcm_ioplug.c:744 [Error: pcm_ioplug.c was not found in source tree] #7 0x00007f6d236d66c5 in snd_pcm_close (pcm=0x19b35f0) at pcm.c:699 [Error: pcm.c was not found in source tree] #8 0x00007f6d23967071 in outstanding_free (o=0x196b030) at alsa.c:78 73: 74: if (o->file) 75: ca_sound_file_close(o->file); 76: 77: if (o->pcm) 78: snd_pcm_close(o->pcm); 79: 80: ca_free(o); 81: } 82: 83: int driver_open(ca_context *c) { #9 0x00007f6d23967631 in thread_func (userdata=) at alsa.c:411 406: CA_LLIST_REMOVE(struct outstanding, p->outstanding, out); 407: 408: if (!p->outstanding && p->signal_semaphore) 409: sem_post(&p->semaphore); 410: 411: outstanding_free(out); 412: 413: ca_mutex_unlock(p->outstanding_mutex); 414: 415: return NULL; 416: } #10 0x00007f6d27de93ea in start_thread () from /lib/libpthread.so.0 #11 0x00007f6d27b56c6d in clone () from /lib/libc.so.6 #12 0x0000000000000000 in ?? ()