Rockbox

Tasklist

FS#9924 - "Most Played" and "Recently Played" display "dir buffer full!" in the database

Attached to Project: Rockbox
Opened by Marvin Miller (Mouser X) - Wednesday, 18 February 2009, 05:57 GMT
Last edited by amaury pouly (pamaury) - Monday, 03 May 2010, 09:36 GMT
Task Type Bugs
Category Database
Status Closed
Assigned To No-one
Operating System Gigabeat F/X
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When I access History>Most Played; or History>Recently Played, a small box comes up saying something like "2462 files found" and then once it gets near 6000-7000, I get the error "dir buffer full!"

After I've reinitialized the database, those entries are accessible again. However, because it's a new database, they're empty. When I "Import changes" from the previous database, the problem occurs again. I've included the exported database file, in the hopes that someone can take a look at it and find where the problem may be, and perhaps what caused it.

I'm using revision 20032, but I know it didn't work in 20002 or quite a few previous ones. While I'd say it's probably likely that there's corruption somewhere, what I'm wondering is what caused that corruption, and can it be found/fixed? Hopefully the included file will be useful to that end.
This task depends upon

Closed by  amaury pouly (pamaury)
Monday, 03 May 2010, 09:36 GMT
Reason for closing:  Not a Bug
Additional comments about closing:  Increase "Max entries in File Browser" to solve the issue.
Comment by amaury pouly (pamaury) - Monday, 03 May 2010, 09:00 GMT
This is linked to the "Max entries in directory browser" settings. If you ask for a history of about 7000 files and your "Max entries..." setting is lower than that, then it will give up with this error.
I know it's written nowhere but at least there is a solution to this problem: increase the setting.

Loading...