← Back to team overview

touch-packages team mailing list archive

[Bug 1531650] Re: Crashes and other bad behavior while mediascanner is indexing

 

Part of the problem might be the use of gstreamer to pull out the ID3
tags. The gstreamer API is brutally slow on the phone. Maybe there is a
different ID3 tag library we could use?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu.
https://bugs.launchpad.net/bugs/1531650

Title:
  Crashes and other bad behavior while mediascanner is indexing

Status in Ubuntu Music App:
  Confirmed
Status in mediascanner2 package in Ubuntu:
  New

Bug description:
  The attached archive contains 7000 "songs: of 1-second silence. Untar
  the archive into the music folder. The mediscanner will take several
  minutes to index the collection.

  Start the music app while the mediascanner is running. I'm seeing
  different kinds of errors every time I kill the music app and start it
  again while the mediscanner is indexing.

  Sometimes, it's an instant crash.

  Sometimes, I get the "No music found" page.

  Sometimes, I get the song list, but the song list is empty and will
  not fill.

  Sometimes, I get this in the application log:

  Error finalising statement: Could not finalize statement: database is locked
  Failed to retrieve rows: database is locked

  And this:

  Failed to start a new media-hub player session:  org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
  Failed to create a new media player backend. Video playback will not function. 

  Could not finish contructing new AalMediaPlayerService instance since
  m_hubPlayerSession is NULL.

  Basically, the application is completely unusable and broken while
  indexing is in progress. Once mediascanner finishes indexing, things
  behave normally again.

  This makes for a seriously bad user experience when someone inserts a
  flash card with their music collection and, almost certainly, will
  immediately go to the music app to start playing things.

To manage notifications about this bug go to:
https://bugs.launchpad.net/music-app/+bug/1531650/+subscriptions


References