mediascanner respawns on supposedly blacklisted video

Bug #1365908 reported by Alan Pope 🍺🐧🐱 🦄
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mediascanner2 (Ubuntu)
New
Undecided
Jussi Pakkanen

Bug Description

big_buck_bunny_480p_MPEG4_MP3_25fps_1600K.AVI in my Videos folder causes mediascanner to repeatedly / rapidly respawn and crash.

Changed in mediascanner (Ubuntu):
assignee: nobody → Jussi Pakkanen (jpakkane)
affects: mediascanner (Ubuntu) → mediascanner2 (Ubuntu)
Revision history for this message
Jussi Pakkanen (jpakkane) wrote :

This is extremely strange. This happens also with a version compiled from trunk. The problem seems to be that MediaStore will claim that a file is not broken even if the file in question is in the database.

sqlite3 ~/.cache/mediascanner-2.0/mediastore.db "select * from broken_files;"

gives

/home/phablet/Videos/big_buck_bunny_480p_MPEG4_MP3_25fps_1600K_short.AVI|1409927801:865485

and so does

sqlite3 ~/.cache/mediascanner-2.0/mediastore.db "select * from broken_files where filename = '/home/phablet/Videos/big_buck_bunny_480p_MPEG4_MP3_25fps_1600K_short.AVI' and etag = '1409927801:865485';

However printf debugging on the device says that sqlite returns false when asked if the file is broken.

The major headache is that this seems to happen nondeterministically. Sometimes the system will work. Then you delete the entire cache directory and then magically it will start failing. Or maybe it doesn't. Something really strange is going on here.

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.