- Status Unconfirmed
- Percent Complete
- Task Type Bugs
- Category Database
- Assigned To No-one
- Operating System Sansa AMSv2
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#12228 - Database fails to commit on Fuze v2 fresh SVN build
Using r30284
Initialization of the database, from scratch, on the Fuze v2, using a fresh SVN build, fails when committing.
It scans all files, gets to committing 4/9, then hangs at “building database, N files found”.
If I reboot, it tries to commit on reboot, stops at 4/9, then boots into rockbox with no database (ie it asks me to initialize if I try to view it).
Attached are my database* files.
This is a bug in post-3.9 code, as I don’t have the problem with a 3.9 release.
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
Build is 30283M
I guess this regression is caused by changes in the dircache, allowing old bugs in the database to pop up; so it's probably not in new code. Most likely, the bug is triggered by memory compaction in the dircache, which reduces the memory space available for the database commit (the DB defaults to using the dircache buffer for commit).
I suggest trying to use the plugin buffer instead of the dircache one (or just not the dircache buffer as first attempt).
kugel, yes, using a larger buffer certainly is a good idea, but this will only hide, not fix the database bugs. So I'd refrain from switching to a larger buffer until those problems are sorted out (except maybe on the next release branch to contain the dircache changes).
Any news on this? I'm having the exact same problem with Rockbox 3.11.2. The database worked fine for months; now I just added some files and it stops committing at 4/9, and I can't access my data. I'm worried I just lost many weeks of play count data, which I rely on heavily to find the songs I like to listen to.