Tracker crawls when encountering gif and tif

Bug #194221 reported by Tore S Bekkedal
16
Affects Status Importance Assigned to Milestone
tracker (Ubuntu)
Fix Released
High
Unassigned

Bug Description

When trackerd encounters gif and tif files, it slows to a positive crawl (around one file a second, max) due to being confused by ImageMagick creating temporary files.

This is made doubly annoying by the flashing red exclamation mark inside the tracker applet flashing once or twice per file.

This has been fixed in upstream by the very helpful Saleem Abdulrasool ("compnerd" on IRC).
03:46 < compnerd> excellent, Ive added the gif, will add the tiff one as well so it should be fixed with 0.6.5
...
03:48 < compnerd> though 0.6.5 is due out in a few days (I think)

Thanks for your work,
Tore Sinding Bekkedal

Related branches

Revision history for this message
Martin Emrich (emme) wrote :

Had this here too. In my home, there was a GIF file name "/home/martin/xmp:-", and tracker continously jumped between "Paused temporarily" and "Indexing in progress" on this file.
After chmod ugo-rwx on this file, tracker continues. I touched a text file named "abc:-", but tracker did not choke on this one (maybe it won't try to index this new file unless all other files in the current indexing run are through... Nevertheless, soon after re-allowing read access to the xmp:- file, tracker again choked on it.

I'll keep them lying around and see what happens.

Revision history for this message
Martin Emrich (emme) wrote :

Yep, my experience is exactly that of bug #194221, which is a duplicate of this.

Changed in tracker:
status: New → Confirmed
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

This was reported [1] by Michael Biebl at the tracker mailing list. It's been discussed there and it looks like the issue has been found [2].

If we can't get 0.6.5 in Hardy due to the freeze, I'll backport a patch for this.

[1] http://mail.gnome.org/archives/tracker-list/2008-February/msg00037.html
[2] http://mail.gnome.org/archives/tracker-list/2008-February/msg00054.html

Changed in tracker:
importance: Undecided → High
Revision history for this message
Jamie McCracken (jamiemcc-blueyonder) wrote :

This is due to exempi support being enabled which has not been well tested

I have temporarily disabled xmp extraction using imagemagick until we can get it to work reliably without creating files as its supposed to extract to stdout only

marking as fixed for time being

Changed in tracker:
status: Confirmed → Fix Committed
Revision history for this message
Tore S Bekkedal (toresbe) wrote :

My fix was simply creating this file in /usr/lib/tracker/thumbnailers/image/, named "tif_thumbnailer" and "gif_thumbnailer".

#!/bin/sh
nice -n19 convert "$1" -thumbnail $3x$3 $2

I don't know why or how this fixed the problem, but it did.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tracker - 0.6.4-1ubuntu2

---------------
tracker (0.6.4-1ubuntu2) hardy; urgency=low

  * debian/tracker.py:
    - Added an apport hook to ignore tracker-extract crashes, since they
      are caused by setrlimit terminating tracker-extract when it raises
      it's cpu/memory limit.
  * debian/tracker.install:
    - Install tracker.py in /usr/share/apport/package-hooks/
  * debian/patches/07_disable_xmp_metadata_extracting.patch:
    - Disable xmp metadata extraction for now, as it's buggy and is causing
      tracker-extract to get stuck indexing the same file.
      Patch backported from trunk. LP: #194221.
  * debian/patches/08_fix_potential_stack_overflow.patch:
    - Fix a potential stack overflow, backported from trunk. LP: #164150.

 -- Emilio Pozuelo Monfort <email address hidden> Mon, 25 Feb 2008 09:46:41 +0100

Changed in tracker:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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