Music app crashes with unsupported schema version with latest v0.105+15.04.20150127-0ubuntu1 on Vivid
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Ubuntu Music App |
Critical
|
Unassigned | ||
| | mediascanner2 (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
The music app is crashing on the latest vivid images. The following error is seen on console prior to the crash in image #80 for mako and #79 for flo--both of which update mediascanner2 to version 0.105+15.
terminate called after throwing an instance of 'std::runtime_
what(): Tried to open a db with an unsupported schema version.
Was the something not updated? It seems like the daemon is the same schema version (8), but the plugin does not support this version.
Related branches
- Pete Woods (community): Approve on 2015-01-28
- PS Jenkins bot (community): Approve (continuous-integration) on 2015-01-28
-
Diff: 71 lines (+19/-17)2 files modifiedsrc/mediascanner/MediaStore.cc (+5/-16)
src/mediascanner/internal/sqliteutils.hh (+14/-1)
| Changed in music-app: | |
| importance: | Undecided → High |
| importance: | High → Critical |
| Jussi Pakkanen (jpakkane) wrote : | #1 |
| Changed in music-app: | |
| status: | New → Triaged |
| Launchpad Janitor (janitor) wrote : | #2 |
This bug was fixed in the package mediascanner2 - 0.105+15.
---------------
mediascanner2 (0.105+
* Revert mediascanner2 to the previous working version as the newest
upload broke the music-app (LP: #1415318)
-- Lukasz 'sil2100' Zemczak <email address hidden> Wed, 28 Jan 2015 14:00:55 +0100
| Changed in mediascanner2 (Ubuntu): | |
| status: | New → Fix Released |
| Leo Arias (elopio) wrote : | #3 |
This needs a test, right?
How can we check that a new release of media scanner won't break the apps that depend on it?
| Victor Thompson (vthompson) wrote : | #4 |
Leo, this is a great point. If such a thing could be made testable it'd be very appreciated by our team. I don't think it'd require much more than exercising a minimal AP test to load the models that ms2 retains (maybe a unit test?). We'd really appreciate it in the future. Currently we're pretty good at catching regressions, but I'd rather automate testing--since it really is not our responsibility.
| Ken VanDine (ken-vandine) wrote : | #5 |
This is still broken for me, with mediascanner2=
| Ken VanDine (ken-vandine) wrote : | #6 |
OK, I was able to work around it by moving .cache/
| Andrew Hayzen (ahayzen) wrote : | #7 |
@Leo, can we not just run the music-app AP tests each time ms2 changes? or as Victor said create a mini app that has all of the models we use (maybe we could write a small set of QML Unit tests todo this) ?
| Changed in music-app: | |
| status: | Triaged → Invalid |
| no longer affects: | mediascanner2 |


Thank you for noticing this. I can replicate and am investigating.