All of lore.kernel.org
 help / color / mirror / Atom feed
* Issue with pulseaudio and QtMultimedia (Qt 5.0.2)
@ 2013-08-15 10:10 Erik Botö
  2013-08-15 13:07 ` Erik Botö
  0 siblings, 1 reply; 7+ messages in thread
From: Erik Botö @ 2013-08-15 10:10 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 659 bytes --]

I'm hitting a bug now when using Qt to play e.g mp3:s to a pulseaudio sink.
Using gst-launch with playbin2 and pulsesink works well on the same system.

Error:
Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at
pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting.

Google tells me that this has been an issue for OMAP4 when certain kernel
configuration where enabled [1], which makes me believe this might be a
hard one to track down.

Any ideas to what might have changed in the last month or so causing this
is appreciated.

[1]. http://lists.linaro.org/pipermail/linaro-dev/2013-April/015794.html

Cheers,
Erik Botö

[-- Attachment #2: Type: text/html, Size: 913 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Issue with pulseaudio and QtMultimedia (Qt 5.0.2)
  2013-08-15 10:10 Issue with pulseaudio and QtMultimedia (Qt 5.0.2) Erik Botö
@ 2013-08-15 13:07 ` Erik Botö
  2013-08-15 13:21   ` Erik Botö
  0 siblings, 1 reply; 7+ messages in thread
From: Erik Botö @ 2013-08-15 13:07 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1202 bytes --]

The culprit seems to be the move to pulseaudio 4.0, using pulseaudio 3.0
things work as they should. I'll keep investigating.

Cheers,
Erik Botö


On Thu, Aug 15, 2013 at 12:10 PM, Erik Botö <erik.boto@pelagicore.com>wrote:

> I'm hitting a bug now when using Qt to play e.g mp3:s to a pulseaudio
> sink. Using gst-launch with playbin2 and pulsesink works well on the same
> system.
>
> Error:
> Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at
> pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting.
>
> Google tells me that this has been an issue for OMAP4 when certain kernel
> configuration where enabled [1], which makes me believe this might be a
> hard one to track down.
>
> Any ideas to what might have changed in the last month or so causing this
> is appreciated.
>
> [1]. http://lists.linaro.org/pipermail/linaro-dev/2013-April/015794.html
>
> Cheers,
> Erik Botö
>



-- 
=============================================
Erik Botö
Senior Software Engineer
Pelagicore AB
Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden
Mobile: +46 (0)76 881 72 03
E-Mail: erik.boto@pelagicore.com
=============================================

[-- Attachment #2: Type: text/html, Size: 1940 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Issue with pulseaudio and QtMultimedia (Qt 5.0.2)
  2013-08-15 13:07 ` Erik Botö
@ 2013-08-15 13:21   ` Erik Botö
  2013-08-16 15:18     ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Erik Botö @ 2013-08-15 13:21 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1739 bytes --]

Hmm, I got happy to fast. It worked once, probably just to get my hopes up.
Now I see the same thing as with 4.0.

-- E


On Thu, Aug 15, 2013 at 3:07 PM, Erik Botö <erik.boto@pelagicore.com> wrote:

> The culprit seems to be the move to pulseaudio 4.0, using pulseaudio 3.0
> things work as they should. I'll keep investigating.
>
> Cheers,
> Erik Botö
>
>
> On Thu, Aug 15, 2013 at 12:10 PM, Erik Botö <erik.boto@pelagicore.com>wrote:
>
>> I'm hitting a bug now when using Qt to play e.g mp3:s to a pulseaudio
>> sink. Using gst-launch with playbin2 and pulsesink works well on the same
>> system.
>>
>> Error:
>> Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at
>> pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting.
>>
>> Google tells me that this has been an issue for OMAP4 when certain kernel
>> configuration where enabled [1], which makes me believe this might be a
>> hard one to track down.
>>
>> Any ideas to what might have changed in the last month or so causing this
>> is appreciated.
>>
>> [1]. http://lists.linaro.org/pipermail/linaro-dev/2013-April/015794.html
>>
>> Cheers,
>> Erik Botö
>>
>
>
>
> --
> =============================================
> Erik Botö
> Senior Software Engineer
> Pelagicore AB
> Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden
> Mobile: +46 (0)76 881 72 03
> E-Mail: erik.boto@pelagicore.com
> =============================================
>



-- 
=============================================
Erik Botö
Senior Software Engineer
Pelagicore AB
Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden
Mobile: +46 (0)76 881 72 03
E-Mail: erik.boto@pelagicore.com
=============================================

[-- Attachment #2: Type: text/html, Size: 2935 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Issue with pulseaudio and QtMultimedia (Qt 5.0.2)
  2013-08-15 13:21   ` Erik Botö
@ 2013-08-16 15:18     ` Otavio Salvador
  2013-08-21 11:35       ` Erik Botö
  0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2013-08-16 15:18 UTC (permalink / raw)
  To: Erik Botö; +Cc: meta-freescale

On Thu, Aug 15, 2013 at 10:21 AM, Erik Botö <erik.boto@pelagicore.com> wrote:
> Hmm, I got happy to fast. It worked once, probably just to get my hopes up.
> Now I see the same thing as with 4.0.

This might be a issue in QtMultimedia. Did you try a newer version of it?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Issue with pulseaudio and QtMultimedia (Qt 5.0.2)
  2013-08-16 15:18     ` Otavio Salvador
@ 2013-08-21 11:35       ` Erik Botö
  2013-08-22 14:54         ` Erik Botö
  0 siblings, 1 reply; 7+ messages in thread
From: Erik Botö @ 2013-08-21 11:35 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]

On Fri, Aug 16, 2013 at 5:18 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:

> On Thu, Aug 15, 2013 at 10:21 AM, Erik Botö <erik.boto@pelagicore.com>
> wrote:
> > Hmm, I got happy to fast. It worked once, probably just to get my hopes
> up.
> > Now I see the same thing as with 4.0.
>
> This might be a issue in QtMultimedia. Did you try a newer version of it?
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://projetos.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
>

Just tried building Qt 5.0.2 and Qt 5.1 manually against the yocto sysroot,
both experience the same bug. I'll try Qt 5.0.1 as well as I know that
version has been working in the past.

-- 
=============================================
Erik Botö
Senior Software Engineer
Pelagicore AB
Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden
Mobile: +46 (0)76 881 72 03
E-Mail: erik.boto@pelagicore.com
=============================================

[-- Attachment #2: Type: text/html, Size: 1722 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Issue with pulseaudio and QtMultimedia (Qt 5.0.2)
  2013-08-21 11:35       ` Erik Botö
@ 2013-08-22 14:54         ` Erik Botö
  2013-08-22 16:44           ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Erik Botö @ 2013-08-22 14:54 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1814 bytes --]

I added this to local.conf:

PREFERRED_VERSION_eglibc-locale = "2.17"
PREFERRED_VERSION_eglibc-mtrace = "2.17"
PREFERRED_VERSION_eglibc-scripts = "2.17"
PREFERRED_VERSION_eglibc-initial = "2.17"
PREFERRED_VERSION_eglibc = "2.17"

And then it works well again. So the error was introduced when moving to
eglibc 2.18. The saga continues...

Cheers,
Erik Botö

On Wed, Aug 21, 2013 at 1:35 PM, Erik Botö <erik.boto@pelagicore.com> wrote:

> On Fri, Aug 16, 2013 at 5:18 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:
>
>> On Thu, Aug 15, 2013 at 10:21 AM, Erik Botö <erik.boto@pelagicore.com>
>> wrote:
>> > Hmm, I got happy to fast. It worked once, probably just to get my hopes
>> up.
>> > Now I see the same thing as with 4.0.
>>
>> This might be a issue in QtMultimedia. Did you try a newer version of it?
>>
>> --
>> Otavio Salvador                             O.S. Systems
>> http://www.ossystems.com.br        http://projetos.ossystems.com.br
>> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
>>
>
> Just tried building Qt 5.0.2 and Qt 5.1 manually against the yocto
> sysroot, both experience the same bug. I'll try Qt 5.0.1 as well as I know
> that version has been working in the past.
>
>
> --
> =============================================
> Erik Botö
> Senior Software Engineer
> Pelagicore AB
> Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden
> Mobile: +46 (0)76 881 72 03
> E-Mail: erik.boto@pelagicore.com
> =============================================
>



-- 
=============================================
Erik Botö
Senior Software Engineer
Pelagicore AB
Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden
Mobile: +46 (0)76 881 72 03
E-Mail: erik.boto@pelagicore.com
=============================================

[-- Attachment #2: Type: text/html, Size: 3321 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Issue with pulseaudio and QtMultimedia (Qt 5.0.2)
  2013-08-22 14:54         ` Erik Botö
@ 2013-08-22 16:44           ` Otavio Salvador
  0 siblings, 0 replies; 7+ messages in thread
From: Otavio Salvador @ 2013-08-22 16:44 UTC (permalink / raw)
  To: Erik Botö; +Cc: meta-freescale

On Thu, Aug 22, 2013 at 11:54 AM, Erik Botö <erik.boto@pelagicore.com> wrote:
> I added this to local.conf:
>
> PREFERRED_VERSION_eglibc-locale = "2.17"
> PREFERRED_VERSION_eglibc-mtrace = "2.17"
> PREFERRED_VERSION_eglibc-scripts = "2.17"
> PREFERRED_VERSION_eglibc-initial = "2.17"
> PREFERRED_VERSION_eglibc = "2.17"
>
> And then it works well again. So the error was introduced when moving to
> eglibc 2.18. The saga continues...

Great news! So let's move this to OE-Core mailing list and add Khem in Cc.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-22 16:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-15 10:10 Issue with pulseaudio and QtMultimedia (Qt 5.0.2) Erik Botö
2013-08-15 13:07 ` Erik Botö
2013-08-15 13:21   ` Erik Botö
2013-08-16 15:18     ` Otavio Salvador
2013-08-21 11:35       ` Erik Botö
2013-08-22 14:54         ` Erik Botö
2013-08-22 16:44           ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.