media-hub gets easily confused and hangs (needs reboot)

Bug #1596329 reported by Michael Zanetti
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
John McAleely
media-hub (Ubuntu)
Fix Released
Critical
Jim Hodapp
media-hub (Ubuntu RTM)
Fix Released
Critical
Jim Hodapp

Bug Description

Install "animal farm" from the store and use it for a bit. after a few attempts it will stop working. The device needs to be rebooted then in order for any multimedia using media-hub to start working again.

Related branches

description: updated
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Confirmed on
current build number: 360
device name: arale
channel: ubuntu-touch/rc-proposed/meizu.en

Changed in media-hub (Ubuntu):
status: New → Confirmed
Changed in canonical-devices-system-image:
status: New → Confirmed
importance: Undecided → High
milestone: none → 12
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

crash reproduced on krillin/stable too

Changed in canonical-devices-system-image:
importance: High → Critical
assignee: nobody → John McAleely (john.mcaleely)
Jim Hodapp (jhodapp)
Changed in media-hub (Ubuntu RTM):
status: New → Confirmed
Changed in media-hub (Ubuntu):
importance: Undecided → Critical
Changed in media-hub (Ubuntu RTM):
importance: Undecided → Critical
Changed in media-hub (Ubuntu):
assignee: nobody → Jim Hodapp (jhodapp)
Changed in media-hub (Ubuntu RTM):
assignee: nobody → Jim Hodapp (jhodapp)
Revision history for this message
Jim Hodapp (jhodapp) wrote :

Verified, pretty easy to reproduce, and produced a log and gdb backtrace for it:

http://pastebin.ubuntu.com/18047059/

Changed in canonical-devices-system-image:
status: Confirmed → Triaged
Changed in media-hub (Ubuntu):
status: Confirmed → Triaged
Changed in media-hub (Ubuntu RTM):
status: Confirmed → Triaged
Revision history for this message
Jim Hodapp (jhodapp) wrote :

Another backtrace, this one is more interesting:

http://pastebin.ubuntu.com/18049795/

Revision history for this message
Jim Hodapp (jhodapp) wrote :

And another one...this one seemed to lock up right away after pressing a few of the animal buttons rapidly right after starting the app:

http://pastebin.ubuntu.com/18051685/

Jim Hodapp (jhodapp)
Changed in canonical-devices-system-image:
status: Triaged → In Progress
Changed in media-hub (Ubuntu):
status: Triaged → In Progress
Changed in media-hub (Ubuntu RTM):
status: Triaged → In Progress
Revision history for this message
Michał Sawicz (saviq) wrote :

Here's a trace from media-hub-server locked up after screenshotting

Revision history for this message
Michał Sawicz (saviq) wrote :

And a bit more - all threads

Jim Hodapp (jhodapp)
Changed in media-hub (Ubuntu):
status: In Progress → Fix Committed
Changed in media-hub (Ubuntu RTM):
status: In Progress → Fix Committed
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Fix in silo 36 wfm

Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

This bug was fixed in the package media-hub 4.2.0+15.04.20160705-0ubuntu1 in https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay

---------------

media-hub (4.2.0+15.04.20160705-0ubuntu1) vivid; urgency=medium

  [ Jim Hodapp ]
  * To avoid deadlocking, make sure that we don't ever change the
    pipeline's state on the streaming thread. It will always be set from
    the main thread context thanks to g_idle_add(). The deadlock that
    this fixes was when calling stop() in player_implementation.cpp in
    the on_end_of_tracklist() handler. (LP: #1596329)

 -- Łukasz Zemczak <email address hidden> Tue, 05 Jul 2016 14:58:25 +0000

Changed in media-hub (Ubuntu RTM):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package media-hub - 4.2.0+16.10.20160705-0ubuntu1

---------------
media-hub (4.2.0+16.10.20160705-0ubuntu1) yakkety; urgency=medium

  [ Jim Hodapp ]
  * To avoid deadlocking, make sure that we don't ever change the
    pipeline's state on the streaming thread. It will always be set from
    the main thread context thanks to g_idle_add(). The deadlock that
    this fixes was when calling stop() in player_implementation.cpp in
    the on_end_of_tracklist() handler. (LP: #1596329)

 -- Łukasz Zemczak <email address hidden> Tue, 05 Jul 2016 14:58:25 +0000

Changed in media-hub (Ubuntu):
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.