answered
2014-10-03 18:03:01 +0200
I noticed as well as the artwork was not updated, but when I added new files I noticed that they were not added and automatically, so I dug a bit more. When I run tracker-control -es to reindex my files I suddenly lost most of my music, and what was left of my 42GB/~3500 music files was just a handful seemingly random songs some with and some without metadata. Basically the problem got worse.
Turns out the tracker-extract miner crashes at some point since I found this in the journal:
Oct 03 16:33:48 Jolla dbus-daemon[913]: [flac @ 0x460905c0] max_analyze_duration reached
Oct 03 16:33:48 Jolla kernel: tracker-extract: unhandled page fault (11) at 0x00000014, code 0x017
Oct 03 16:33:48 Jolla kernel: pgd = c2d80000
Oct 03 16:33:48 Jolla kernel: slim reconfig done!
Oct 03 16:33:48 Jolla kernel: [00000014] *pgd=b1e55831
Oct 03 16:33:48 Jolla kernel: , *pte=00000000, *ppte=00000000
Oct 03 16:33:48 Jolla kernel: Oct 03 16:33:48 Jolla kernel: Pid: 13326, comm: tracker-extract
Oct 03 16:33:48 Jolla kernel: CPU: 1 Tainted: P W O (3.4.91.20140612.1 #1)
Oct 03 16:33:48 Jolla kernel: PC is at 0x401b3c50
Oct 03 16:33:48 Jolla kernel: LR is at 0x4c988c90
Oct 03 16:33:48 Jolla kernel: pc : [<401b3c50>] lr : [<4c988c90>] psr: 800e0010
sp : beed3028 ip : 4cb292b0 fp : 460905c0
Oct 03 16:33:48 Jolla kernel: r10: 460905c0 r9 : beed3238 r8 : 00000000
Oct 03 16:33:48 Jolla kernel: r7 : fffe7960 r6 : 460909c0 r5 : 00000400 r4 : 46099b60
Oct 03 16:33:48 Jolla kernel: r3 : 00000400 r2 : 00016000 r1 : 00000004 r0 : 00000000
Oct 03 16:33:48 Jolla kernel: Flags: Nzcv IRQs on FIQs on Mode USER_32 ISA ARM Segment user
Oct 03 16:33:48 Jolla kernel: Control: 10c5787d Table: 82f8006a DAC: 00000015
Oct 03 16:33:48 Jolla kernel:
R7: 0xfffe78e0:
Oct 03 16:33:48 Jolla kernel: 78e0 ******** ******** ******** ******** ******** ******** ******** ********
Oct 03 16:33:48 Jolla kernel: 7900 ******** ******** ******** ******** ******** ******** ******** ********
Oct 03 16:33:48 Jolla kernel: 7920 ******** ******** ******** ******** ******** ******** ******** ********
Oct 03 16:33:48 Jolla kernel: 7940 ******** ******** ******** ******** ******** ******** ******** ********
Oct 03 16:33:48 Jolla kernel: 7960 ******** ******** ******** ******** ******** ******** ******** ********
Oct 03 16:33:48 Jolla kernel: 7980 ******** ******** ******** ******** ******** ******** ******** ********
Oct 03 16:33:48 Jolla kernel: 79a0 ******** ******** ******** ******** ******** ******** ******** ********
Oct 03 16:33:48 Jolla kernel: 79c0 ******** ******** ******** ******** ******** ******** ******** ********
Oct 03 16:33:48 Jolla kernel: [<c010cabc>] (unwind_backtrace+0x0/0x11c) from [<c0110b18>] (__do_user_fault+0x7c/0xc4)
Oct 03 16:33:48 Jolla kernel: [<c0110b18>] (__do_user_fault+0x7c/0xc4) from [<c08b6a68>] (do_page_fault+0x374/0x3c0)
Oct 03 16:33:48 Jolla kernel: [<c08b6a68>] (do_page_fault+0x374/0x3c0) from [<c01002d4>] (do_DataAbort+0x134/0x1a8)
Oct 03 16:33:48 Jolla kernel: [<c01002d4>] (do_DataAbort+0x134/0x1a8) from [<c08b52b4>] (__dabt_usr+0x34/0x40)
Oct 03 16:33:48 Jolla kernel: Exception stack(0xc3f11fb0 to 0xc3f11ff8)
Oct 03 16:33:48 Jolla kernel: 1fa0: 00000000 00000004 00016000 00000400
Oct 03 16:33:48 Jolla kernel: 1fc0: 46099b60 00000400 460909c0 fffe7960 00000000 beed3238 460905c0 460905c0
Oct 03 16:33:48 Jolla kernel: 1fe0: 4cb292b0 beed3028 4c988c90 401b3c50 800e0010 ffffffff
Oct 03 16:33:48 Jolla kernel: tracker-extract(13326) send signal 11 to tracker-extract(13326)
Oct 03 16:33:49 Jolla tracker-miner-fs[13298]: GLIB CRITICAL ** Tracker - (Sparql buffer) Error in task 0 of the array-update: column
nie:url is not unique (strerror of errno (not necessarily related): No such file or directory)
Oct 03 16:33:49 Jolla tracker-miner-fs[13298]: GLIB CRITICAL ** Tracker - Could not execute sparql: column nie:url is not unique (strerr
or of errno (not necessarily related): No such file or directory)
Oct 03 16:33:50 Jolla kernel: wlan: [855:E :PE ] __limProcessAddBAReq: 1425: ADDBAREQ NUMBUFF 40
</c08b52b4></c01002d4></c01002d4></c08b6a68></c08b6a68></c0110b18></c0110b18></c010cabc>
I tried to get a core dump (by setting ulimit -c unlimited) before executing tracker-control -es, but it didn't seem to work (or it put the dump somewhere I didn't find). Does anyone know if there is a way to get tracker-extract to log when it starts working on each file? I guess it would be a good start to check if it is a specific file it fails on... Any developer who wants help to debug this, let me know, it happens every time I try to run tracker-extract.
Edit:
Turns out it's not a specific file that causes this, but it may be certain types of files that cause the miner to randomly crash (and in one case, hung). I reformatted the SD card and rsynced over the entire music library again while monitoring the tracker activity and the pid of tracker-extract. It was hardly precise science, but I think I found some sort of link, because it crashed on:
- FLAC-files created with libflac 1.3 (I also noticed this)
- FLAC-files that later showed up in the library as "unknown artist" and "unknown album" even though they have FLAC-metadata
So it obviously has problem with certain flac files, but when I tried to only index each specific file one at a time it did not crash, so it doesn't happen every time. Also, I managed to completely avoid a crash by first moving the "bad" files a few at a time to the SD card, and then sync the rest of the library.
I did run into another problem as well tough: when syncing the library the last time tracker-extract simply stopped scanning. The pid was still alive, so it wasn't a crash, but it didn't process any new files. I used lsof and hoped to see which file on the sdcard it had open (and perhaps tried to process) but was surprised:
# lsof -p 11185 | grep /media/sdcard | wc -l
611
Turns out tracker-extract had lots of files open on the SD card. I ended up killing the process and starting it again (with tracker-control -s) and then it processed the rest of the files... But a few hours afterwards it still had ~200 files open on the SD card, so I think it doesn't close files correctly. I only noticed .flac and .m4v files in the list, but I can't say for sure if other files get stuck as well (it may be related to the filesize?)
I really hope a developer take a look at this.
Yes, I have the same issue. Reinserting the SD card does not help. I see some songs in "All songs" view but they are zero length and the artist is unknown. The music files are just fine and not corrupted in the sd card. Re-creating tracker index with "tracker-control -r" does not help.
Update: It seems that the miners are not running properly. I saw some of the songs (not all) seen in the media lists by doing hard reset "tracker-control -r" followed by "tracker-control -s". Also needed to execute "tracker-control -s" many times for some weird reason. Decided to dump the native player and go to QuasarMX, at least it is working ok.
jr ( 2014-07-16 12:55:03 +0200 )editYes I can confirm this bug, added FLAC files not seen by media player altbougb clearly there. All properly tagged.
unruly ( 2014-07-18 22:13:23 +0200 )editI'm also experiencing this issue.
I've had the Jolla for 2 days now, I updated to 1.0.8.19 the moment I unboxed it. I've since been happily listening to music from the SD Card via the Media App without issues; all artists, albums and songs correctly organised.
Today was the Jolla's first reboot (I ran the battery to 0%). Since powering it back up, the Media App just shows "All songs", "Albums" and "Artists". All the media seems to be there, and it's playable, but it's in one long list of songs under "Unknown Artist" with no other meta data and song durations of 0:00.
I've rebooted numerous times, removed and reinserted the SD Card and reinstalled the Media app but the problem still exists.
boxel ( 2014-07-25 23:27:06 +0200 )editAlso have this issue... and just when i though the Media player was actually getting better. Trying all the solutions below but to no avail so far. It will now go back in the draw awaiting a few more updates till it becomes usable.
bockersjv ( 2014-07-31 11:58:18 +0200 )editI have that issue too. Hey, guys. Did y'all try to cut all the songs from your SD card to computer while your jolla is connected to computer? Then you unplugged it. After a while, you connected your jolla and then put all the songs back to your jolla. After a few day, my jolla still recognizes all the songs I put.
But Here's the problem I find: Say for example, I put some Songs of an artist which is from unknown album. When I clicked into that artist's album, it shows "unknown album". Then I clicked into it and see all the songs from Unknown album... I think it's a bug...
fenditsim ( 2014-08-04 12:40:31 +0200 )edit