music apps doesn't find any files

Bug #1514522 reported by Josué
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Music App
Incomplete
Undecided
Unassigned
mediascanner2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Some times Music app doesn't find any files.
List appear empty.

Here is a part of the log:

Failed to retrieve rows: database is locked
"ThumbnailerRequestImpl::dbusCallFinished(): D-Bus error: Handler::check_finished(): no artwork for album: Mago de Oz/La Leyenda de la Mancha (512,512): FAILED PREVIOUSLY"
ThumbnailerImageResponse::dbusCallFinished(): D-Bus error: "ThumbnailerRequestImpl::dbusCallFinished(): D-Bus error: Handler::check_finished(): no artwork for album: Mago de Oz/La Leyenda de la Mancha (512,512): FAILED PREVIOUSLY"
Error finalising statement: Could not finalize statement: database is locked
Failed to retrieve rows: database is locked
"Request cancelled"
ThumbnailerImageResponse::dbusCallFinished(): D-Bus error: "Request cancelled"
"Request cancelled"
ThumbnailerImageResponse::dbusCallFinished(): D-Bus error: "Request cancelled"
"Request cancelled"
ThumbnailerImageResponse::dbusCallFinished(): D-Bus error: "Request cancelled"
"Request cancelled"
ThumbnailerImageResponse::dbusCallFinished(): D-Bus error: "Request cancelled"
"Request cancelled"
ThumbnailerImageResponse::dbusCallFinished(): D-Bus error: "Request cancelled"
libust[18456/18491]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[18456/18492]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
UbuntuWindow::handleSurfaceFocusChange(focused=false)
** Application is now inactive
libust[18456/18491]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[18456/18492]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[18456/18491]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[18456/18492]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[18456/18491]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[18456/18492]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[18456/18491]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[18456/18492]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[18456/18491]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[18456/18492]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)

I usually have other crashes with the app so I don't know if it is related with them.

Tell me if you need more information.

Revision history for this message
Victor Thompson (vthompson) wrote :

Hi, thanks for taking the time to file this issue and for making Ubuntu better. Personally, I'm not sure what the issue is, but it seems like a thumbnailer issue--which I wouldn't normally expect being responsible for preventing items from being listed.

Could you provide the following log file (so we can see all crashes):

/home/phablet/.cache/upstart/application-click-com.ubuntu.music_music_*.log

Here are some of the odd parts of the log:

ThumbnailerImageResponse::dbusCallFinished(): D-Bus error: "ThumbnailerRequestImpl::dbusCallFinished(): D-Bus error: Handler::check_finished(): no artwork for album: Mago de Oz/La Leyenda de la Mancha (512,512): FAILED PREVIOUSLY"
Error finalising statement: Could not finalize statement: database is locked
Failed to retrieve rows: database is locked
"Request cancelled"
ThumbnailerImageResponse::dbusCallFinished(): D-Bus error: "Request cancelled"
"Request cancelled"

Changed in music-app:
status: New → Incomplete
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

'Database is locked' suggests mediascanner2 is running and has not released for clients yet. Either it is still scanning, it is looping over a file or it has crashed and a restart may assist the issue.

Revision history for this message
Josué (j2g2rp) wrote :

Yes it looks like that.
As suggested in the bug https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1508142 I read the mediascan file and i saw some errors with some videos ,In my case there wasn’t any *.webm files but i tried to delete them. It worked fine, mediascaner looks working fine and app won't crash any more since then. Last week I tried to put those videos again (after OTA 8) and it looks working fine =)

Revision history for this message
Josué (j2g2rp) wrote :

Yesterday happened again to me, but looks like this time isn't related with the database, since i can't read it in the log.
Attached you will find the log of music app.
I have other logs if they become necesary.

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mediascanner2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Scott Hodgson (lgnux) wrote :
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.