Music scan partially fails on Ubuntu Jaunty

Bug #357097 reported by Pete Dorman
8
Affects Status Importance Assigned to Milestone
Moovida
Fix Released
Critical
Guillaume Emont
elisa-plugins-bad (Ubuntu)
Fix Released
Undecided
Loïc Minier

Bug Description

When I run Elisa 0.5.34 under Mandriva Linux cooker version (2009.1 pre-release) it fails to index more than half the tracks. My music collection is around 3200 tracks all in flac format. The first time I ran it I left the music scan running all night and it only reached around 30% done and appeared to have stopped with all the memory and swap space on the machine used. It took several restarts of Elisa for the scan to reach 100%. The music library shows my albums but at least half the tracks are missing, e.g an ablum will only list tracks 4,5,6 and 9. Subsequent restarts of Elisa doesn't add anymore tracks to the list (the music scan reaches 100% in a few seconds).

Even if I add one new album to the collection it shows the same symptoms, e.g. the music scan will complete and the album appears in the list but not all the tracks are there.

I also have Elisa running on another PC under the stable Mandriva 2009.0 release and music scan picks up all tracks correctly. The 2 PCs have similar hardware, Core2 Duo CPU, 2GB RAM + Nvidia graphics with the same music files. The main difference between Mandriva 2009.0 and 2009.1 that could be relevant is the upgrade from python 2.4 to 2.6

I've also noticed Elisa is 100% busy on one CPU even when idle under 2009.1 but not 2009.0.

Revision history for this message
Philippe Normand (philn) wrote :

Thanks for investigating that issue Pete!

Most of the developers of the team use Python 2.5 so Elisa is poorly tested with Python 2.6, excepted for users like you who have the luck to have Python 2.6 on their distro ;)

Can you have a look at ~/.elisa-0.5/elisa.log and see if there are any relevant traceback reported there? Also check the processes running, there should be elisa itself and 2 elisa gst_metadata "slave" processess running. Is that the case for you?

Revision history for this message
Pete Dorman (dorman-pete) wrote :

I don't have an elisa.log file in my ~.elisa-0.5 directory or anywhere else on the system that I can see

I do have elisa and the 2 slave processes running

Revision history for this message
Philippe Normand (philn) wrote :

Oh yeah, forgot that the log file is created be default on windows only...

Anyway, can you identify one or two tracks that are not correctly scanned, reduce all your music directories and put these 2 tracks in a single directory that will be scanned by Elisa?

Start Elisa with this command:

ELISA_DEBUG=gst*:5,database_parser:5 elisa &> elisa.log

That should log what elisa is doing when trying to scan these tracks

Revision history for this message
Philippe Normand (philn) wrote :

Pete, this looks like a bug in the GStreamer version shipped with Jaunty. See http://bugzilla.gnome.org/show_bug.cgi?id=578494

Changed in elisa:
importance: Undecided → Critical
milestone: none → 0.6.x
status: New → Confirmed
summary: - Music scan partially fails with python 2.6?
+ Music scan partially fails on Ubuntu Jaunty
Revision history for this message
Pete Dorman (dorman-pete) wrote :

Philippe, it looks like the same bug. I've attached the debug log file which includes messages very similar to the ones on that bug report. The Mandriva 2009.1 gstreamer packages for flac and python are labelled version 0.10.14.

Revision history for this message
Johannes Wissen (j-wissen) wrote :

Hi,

same here on debian with gstreamer 0.10.7-1

Revision history for this message
Philippe Normand (philn) wrote : Re: [Bug 357097] Re: Music scan partially fails on Ubuntu Jaunty

0.10.7 ?? That's rather old, are you sure? version of gst-plugins-base
and -good please.

Le mardi 14 avril 2009 à 14:09 +0000, Johannes Wissen a écrit :
> Hi,
>
> same here on debian with gstreamer 0.10.7-1
>
> ** Attachment added: "Output from lsof and ps"
> http://launchpadlibrarian.net/25453946/Output_from_lsof_and_ps.txt
>

Revision history for this message
Johannes Wissen (j-wissen) wrote :

plugins-base: 0.10.22-5
plugins-good: 0.10.14-2
ffmpeg: 0.10.7-1

Revision history for this message
Philippe Normand (philn) wrote :

This is a big issue on Jaunty. Elisa doesn't work properly and the user ends up with a pile of zombie processes.

Changed in elisa-plugins-bad (Ubuntu):
status: New → Confirmed
Changed in elisa:
assignee: nobody → guijemont
milestone: 0.6.x → 0.5.37
status: Confirmed → In Progress
Revision history for this message
Guillaume Emont (guijemont) wrote :

The attached patch (against lp:elisa, should apply on older versions) should fix the issue. It would be good to have it applied in Jaunty's Elisa package before Jaunty gets out if that's still possible.

Revision history for this message
Loïc Minier (lool) wrote :

Pushed to jaunty; waiting for motu-release ack

Changed in elisa-plugins-bad (Ubuntu):
assignee: nobody → lool
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package elisa-plugins-bad - 0.5.28-1ubuntu2

---------------
elisa-plugins-bad (0.5.28-1ubuntu2) jaunty; urgency=low

  * New patch, 60_plug-decodebin-earlier, from upstream, fixes music scan
    failing on *.ogg files; LP: #357097.

 -- Loic Minier <email address hidden> Tue, 21 Apr 2009 17:08:14 +0200

Changed in elisa-plugins-bad (Ubuntu):
status: Fix Committed → Fix Released
Changed in elisa:
status: In Progress → Fix Committed
Olivier Tilloy (osomon)
Changed in elisa:
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.