- Status Closed
- Percent Complete
- Task Type Bugs
- Category Database
- Assigned To No-one
- Operating System iPod 5G
- Severity Medium
- Priority Very Low
- Reported Version Release 3.11
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#12676 - rb userinterface freezes - some database-related deadlock maybe?
rockbox version 3.11.2
If I do a manual database update (settings → database → Update Now), [rockbox tells me the database will update in the background], then while the database is updating I go to main menu → Plugins, then rockbox hangs. It seems unresponsive however disk is still spinning and seeking (rapidly). I can get the same hang if I go to main menu → Database → Recently Added . At a guess, it could be related to trying to access the disk while the database updater is accessing the disk - but if that's the case I'd be surprise if it's gone unnoticed before.
Note that dircache turns itself off (still? at least for me) when I go to settings → database → Update Now.
rockbox seems to be functioning fine usually, so long as database update isn't running
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Interesting (and possibly related?) - I just tried doing another database update after copying some more music to the device, and after the database had appeared to finish updating (by which I mean - the CPU went back to being unboosted and the System→Debug→View Database Info showed Progress: -1% , which seems to mean 'finished scanning' I guess?) , the disk actually didn't ever spin down, just kept spinning and occasionally clicking. Usually I wouldn't notice, I'd probably play some music or shut it down, but I thought I'd leave it for a while and see how long it took to spin down.
It never did. After ten minutes of no obvious activity but continual disk spinning I tried something (remembering that a different ipod 5g that I'd used earlier did not exhibit this problem) - and turned off the Last.FM Scrobbling. Disk immediately spun down.
That's odd right? Why would the Last.FM Scrobbling function keep the disk continually spinning and (presumably) seeking, if I'm not even playing any music, and the only thing that's happened since turning on was actually a database scan, no playback whatsoever?
I wonder if the lockup was a combination then of database update + last.fm + dircache. (which is actually my default setup)