instantiating QML MediaStore component crashes if index can't be opened
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Medium
|
Unassigned | ||
Ubuntu Music App |
Invalid
|
Undecided
|
Unassigned | ||
mediascanner2 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
App crashes during start.
This app just works for me 1 time each 6 times proximately in all versions that I used from ubuntu (bq 4.5 ubuntu edition)
This is one of the logs from one crash:
ThumbnailerImag
libust[
libust[
UbuntuWindow:
** Application is now inactive
libust[
libust[
libust[
libust[
Loading module: 'libubuntu_
/usr/lib/
/usr/lib/
(process:15457): dconf-WARNING **: Unable to open /custom/
(process:15457): dconf-WARNING **: unable to open named profile (custom): using the null configuration.
libust[
libust[
libust[
libust[
terminate called after throwing an instance of 'std::runtime_
what(): Tried to open a db with schema version -1, while supported version is 9.
In this file there was also advices saying that numerous thumbnailer request was failed but I think that it is normal...
If you need the complete log just tell me.
I talk with some people that told me that the app works fine form them so i think that maybe the app is trying to open some corrupted files or files that it can't manage.
Additional info: I'm using as /home/phablet/Music folder a symbolic link for my SD card Music folder.
Related branches
- Michi Henning (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 135 lines (+67/-6)5 files modifiedsrc/extractor/CMakeLists.txt (+5/-1)
src/qml/Ubuntu/MediaScanner.0.1/MediaStoreWrapper.cc (+18/-4)
src/qml/Ubuntu/MediaScanner.0.1/StreamingModel.cc (+1/-1)
test/CMakeLists.txt (+5/-0)
test/test_qml_nodb.qml (+38/-0)
summary: |
- app crashes during start + instantiating QML MediaStore component crashes if index can't be opened |
Changed in mediascanner2 (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in mediascanner2 (Ubuntu): | |
importance: | Undecided → Medium |
Changed in canonical-devices-system-image: | |
status: | New → In Progress |
importance: | Undecided → Medium |
milestone: | none → ww02-2016 |
Changed in music-app: | |
status: | Incomplete → Invalid |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
The app has failed to start here due to your mediascanner2 database being incorrect, also in bug 1514522 you can see that the database is locked. Could you provide you mediascanner2 log located at /home/phablet/ .cache/ upstart/ mediascanner- 2.0.log ?