Mediascanner crashes and loops on bad media (webm)
Bug #1508142 reported by
Alan Pope 🍺🐧🐱 🦄
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Alejandro J. Cura | ||
mediascanner2 (Ubuntu) |
Fix Released
|
High
|
James Henstridge |
Bug Description
Updated my retail bq E4.5 phone to OTA-7.
Opened Music app and saw no music. Tailed mediascanner log, found it repeatedly scanning my music over and over. This causes high cpu, high IO, increased disk usage through logging and locks the database so Music app is unusable.
The only way I could make Music appear was to issue:-
stop mediascanner-2.0
Then re-open Music.
Attached mediascanner log (all 369M of it)
Related branches
lp:~jamesh/mediascanner2/external-metadata-extractor
- Jamie Strandboge (community): Approve
- Michi Henning (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Jussi Pakkanen (community): Needs Fixing
-
Diff: 2036 lines (+1153/-239)27 files modifiedCMakeLists.txt (+6/-0)
debian/mediascanner2.0.install (+2/-0)
debian/rules (+1/-0)
debian/usr.bin.mediascanner-service-2.0 (+0/-55)
debian/usr.lib.mediascanner-2.0.mediascanner-extractor (+119/-0)
src/daemon/CMakeLists.txt (+2/-5)
src/daemon/Scanner.cc (+2/-1)
src/daemon/SubtreeWatcher.cc (+2/-1)
src/daemon/scannerdaemon.cc (+4/-5)
src/extractor/CMakeLists.txt (+55/-0)
src/extractor/DetectedFile.hh (+47/-0)
src/extractor/ExtractorBackend.cc (+14/-79)
src/extractor/ExtractorBackend.hh (+47/-0)
src/extractor/MetadataExtractor.cc (+189/-0)
src/extractor/MetadataExtractor.hh (+6/-18)
src/extractor/com.canonical.MediaScanner2.Extractor.service.in (+3/-0)
src/extractor/dbus-interface.xml (+12/-0)
src/extractor/dbus-marshal.cc (+96/-0)
src/extractor/dbus-marshal.hh (+34/-0)
src/extractor/main.cc (+207/-0)
test/CMakeLists.txt (+22/-4)
test/basic.cc (+48/-29)
test/services/com.canonical.MediaScanner2.Extractor.service.in (+3/-0)
test/services/com.canonical.MediaScanner2.service.in (+3/-0)
test/test_extractorbackend.cc (+124/-0)
test/test_metadataextractor.cc (+89/-28)
test/test_qml.cc (+16/-14)
Changed in mediascanner2 (Ubuntu): | |
importance: | Undecided → Critical |
assignee: | nobody → James Henstridge (jamesh) |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Alejandro J. Cura (alecu) |
importance: | Undecided → Critical |
summary: |
- Mediascanner runs constantly, rescanning repeatedly + Mediascanner crashes and loops on bad media (webm) |
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
Changed in mediascanner2 (Ubuntu): | |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Deleted two of the webm videos from my sd card and now it appears to have stopped looping.
Uploaded to here for "analysis":-
http:// people. canonical. com/~alan/ big_buck_ bunny_1080p_ VP8_VORBIS_ 25fps_7800K_ short.WebM people. canonical. com/~alan/ goat-rage. webm
http://