<div dir="ltr"><div>ohh my bad.. thanks for the reply.<br></div>using the locking APIS fixed the issue.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 16, 2016 at 6:29 PM, Tanu Kaskinen <span dir="ltr"><<a href="mailto:tanuk@iki.fi" target="_blank">tanuk@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 2016-08-16 at 18:20 +0530, Dhananjay Joshi wrote:<br>
> Hi Arun,<br>
><br>
> Thanks for the reply.<br>
> we tried updating to pulseaudio-9.0 and simulated the test case in loop .<br>
><br>
> as we are getting the same crash , and the frequency of the crash is also<br>
> same as that of pulseaudio-6.0.<br>
><br>
> stack trace for this is<br>
><br>
> > #0 __GI_raise (sig=sig@entry=6) at<br>
> ../nptl/sysdeps/unix/sysv/<wbr>linux/raise.c:57<br>
> 57 ../nptl/sysdeps/unix/<wbr>sysv/linux/raise.c: No such file or directory.<br>
> (gdb) bt<br>
> > #0 __GI_raise (sig=sig@entry=6) at<br>
> ../nptl/sysdeps/unix/sysv/<wbr>linux/raise.c:57<br>
> #1 0xb6bf7690 in __GI_abort () at abort.c:89<br>
> #2 0xb527d4f4 in calc_next_timeout (m=<optimized out>) at<br>
> /u02/yoctobms/build/info3-low/<wbr>tmp-eglibc/work/cortexa7hf-<wbr>vfp-neon-kpit-linux-gnueabi/<wbr>pulseaudio/9.0-r0/pulseaudio-<wbr>9.0/src/pulse/mainloop.c:719<br>
<br>
</span>This looks like a concurrency bug in the application. You seem to be<br>
using the threaded mainloop. My guess is that you're accessing libpulse<br>
objects from a non-mainloop thread without locking the mainloop first.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
Tanu<br>
</font></span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org">pulseaudio-discuss@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/pulseaudio-<wbr>discuss</a><br>
</div></div></blockquote></div><br></div>