Rockbox General > Rockbox General Discussion

"Data error at XXX" when playing ALAC in current

<< < (2/3) > >>

emody:
Ok, I did some more testing. It appears that the issue is not "easy" to reproduce. I copied one alac file in a new directory and it started playing correctly. It would not play correctly in the original directory (I checked the md5 hashes and they match).

I tought that it might be somewhere in the disk reading/caching code, so I added one more song to the new directory and the cover.jpg file and voila! I can make it crash now, but not always. You need to turn rockbox off, then on again and go to the new directory and play the file.

Every so often it willl crash with "data error".

I'm attaching a screenshot of one of these errors. The addresses change slightly when you move files / rename them etc, but they're are in the same "region", few bytes apart. I'm not sure if these can be mapped to the actual code or if rockbox O.S. has dynamic allocation of code.

EDIT: I tried to just replace .rockbox between 3.13 and dev. 3.13 still plays correctly the same file.

emody:
Saratoga, I sent you a PM with a link to the files. Pls tell me when you downloaded them so I can take them offline.

On a side note, I upgraded my ipod with a iflash solo and a 128GB sandisk ultra. It was tested with h2testw beforehand just in case and passed.

I have the same issue as with the HD now, same file same address.

I'm waiting for a batch to complete for converting all my alac to flac just for rockbox but I'll lurk this thread in case I can help further.

emody.

saratoga:
Thanks, I got those files.

They play fine for me though.  Do I have to do anything special to make them crash? 

emody:
Not really. I'm using a skin (AluminArt) but the problem is there also with the default calliev2. I'm under the impression that the issue is disk access (errors or timing?). The first file will crash at the beginning. Try clearing your database and force regeneration in background during playback.

A side note: Is there a way to debug rockbox in the target? Or a way to know where those addresses are ? It should be possible to match that agains the linker map for a clue.

saratoga:
These crashes happened with the original hard drive right? Hard disk corruption is pretty commonly reported with SD card adapters.

If you compiled your build you can look at the .map file included in the build directory to see where those addresses are.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version