[meta-freescale] PulseAudio abort with BT/A2DP disconnect

Takashi Matsuzawa tmatsuzawa at uievolution.com
Tue Sep 6 17:37:14 PDT 2016


Hello.
Correction:   I re-tested and confirmed even for me the below 2 patches were enough to prevent the A2DP crash.

"Fix: Prevent calling pa_rtpoll_free() for a NULL rtpoll"
"thread-mq: Make pa_thread_mq_done more robust"


________________________________
From: Takashi Matsuzawa
Sent: Tuesday, September 6, 2016 5:53 PM
To: Otavio Salvador; meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] PulseAudio abort with BT/A2DP disconnect


Hello.

I further looked into, and turned out that the issue is essentially the same as below.


https://bugs.freedesktop.org/show_bug.cgi?id=89672

Though the two patches mentioned there was not enough to solve my crash, and I still needed to prevent stop_thread() code to be recursively called, as mentioned in the proposed patch mentioned there.

________________________________
From: Takashi Matsuzawa
Sent: Tuesday, September 6, 2016 10:58 AM
To: Otavio Salvador
Cc: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] PulseAudio abort with BT/A2DP disconnect


Hello

Thank you for your information, It might be PA 9.0 but so far I did not tried yet.

PA9.0 still seems to have similar issue but for A2DP source scenario, and I am thinking to look into its fix when it is available.

(https://bugs.freedesktop.org/show_bug.cgi?id=96831)


What I am seeing now is that if it causes segfault, PA daemon is restarted and from user-point of view it look normal (though there is a short period of no PA running).  If it causes assert (instead of segfault), PA dies and need restart (manually or by board reboot).

This happens in PA's asyncmsgq code..

________________________________
From: Otavio Salvador <otavio.salvador at ossystems.com.br>
Sent: Monday, September 5, 2016 9:21 PM
To: Takashi Matsuzawa
Cc: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] PulseAudio abort with BT/A2DP disconnect

On Sat, Sep 3, 2016 at 9:17 PM, Takashi Matsuzawa
<tmatsuzawa at uievolution.com> wrote:
> Hello, SABRE community.
>
> I am trying bluetooth A2DP sink on SABRE-AI board, using Jethro-based BSP
> with some customization.
> (As you know BT/Audio configuration for this is Bluez5 + PulseAudio 6.0,
> with the patches enabling PulseAudio to run as root).

We have this working for a customer but based on Krogoth. It works well for him.

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
O.S. Systems<http://www.ossystems.com.br/>
www.ossystems.com.br
O.S. Systems is specialized in the development and customization of embedded operating systems and BSPs based on Linux. We provide software development and ...



Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20160907/83bef845/attachment.html>


More information about the meta-freescale mailing list