Rockbox

  • Status Unconfirmed
  • Percent Complete
    0%
  • 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
Attached to Project: Rockbox
Opened by padavoine - 2011-08-13
Last edited by sideral - 2011-08-13

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.

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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing