← Back to team overview

touch-packages team mailing list archive

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

 

Public bug reported:

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.

** Affects: music-app
     Importance: Undecided
         Status: New

** Affects: mediascanner2 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "music-no-artwork.tar.gz"
   https://bugs.launchpad.net/bugs/1531650/+attachment/4545201/+files/music-no-artwork.tar.gz

** Also affects: mediascanner2 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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:
  New
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


Follow ups