FS#5966 - system crash with IO5 when building TagCache

Attached to Project: Rockbox
Opened by C foster (cgfoz) - Sunday, 10 September 2006, 18:04 GMT
Last edited by Dominik Riebeling (bluebrother) - Sunday, 10 September 2006, 18:36 GMT
Task Type Bugs
Category Playlists
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I am trying to run the "initialize now" to build the tag cache db on my iHP-140.

I have a fair few albums (~30G) so this takes a while, it seems to run well in the background for roughly 5minutes then crashes with the error "IO5 at 31030402". The only way to restart the player is to use the reset button.

I've tried several different times with slightly different settings in the tag cache menu but always get the same outcome.

I'm not sure if there a half-written db file somewhere on the device, if so then I can rerun and take a look

(I'm running the latest daily - CVS-060910)
This task depends upon

Closed by  Nils Wallménius (nls)
Monday, 25 September 2006, 17:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  This has been fixed with this commit are/id3.c.diff?r1=1.132&r2=1.133
If similar craches still happends please open a new report.
Comment by Dominik Riebeling (bluebrother) - Sunday, 10 September 2006, 18:36 GMT
try removing all *.tcd files in the .rockbox folder to make sure there are no incomplete TagCache files left. Does this help?
Comment by C foster (cgfoz) - Sunday, 10 September 2006, 20:45 GMT
I've just tried that but I'm still getting the same error.

When I run "initialize now", it gets as far as making an empty file called tagcache_tmp.tcd
Comment by Guillaume Boujasson (GuB) - Tuesday, 12 September 2006, 09:51 GMT
Uhm, I had a similar problem.

I found that it came from some MP3s. When I try to play these, the same problem appears. On an older version of rockbox (about 2 month old) it only show "codec error" before skipping to the next track.

Under windows XP, if you look at the properties of these MP3s, they have a duration of 00:00:00. They look like VBR MP3 created by Xing.

Maybe this will help (not directly related but can give a starting point)
Comment by C foster (cgfoz) - Tuesday, 12 September 2006, 11:55 GMT
Cheers Guillaume, That was exactly the problem.

Plugged in my player to USB and did a search of *.mp3 ordering them by time. There were a couple of albums with all tracks as 00:00:00. Once they were deleted off the player then I no longer go the error
Comment by Václav Brožík (pabouk) - Tuesday, 12 September 2006, 12:07 GMT
I05 should be division by zero error so parameters of some computation are not probably checked properly during the TagCache build.