Rockbox Technical Forums

Support and General Use => Audio Playback, Database and Playlists => Topic started by: dalesd on November 01, 2008, 01:04:10 PM

Title: Initializing database gives Data abort error.
Post by: dalesd on November 01, 2008, 01:04:10 PM
After hearing about it on FLOSS weekly, I installed rockbox just fine on my 5G iPod (30 gig).  It boots into Rockbox fine, and I can do all sorts of things like play games, change themes, change settings, etc.

One thing I can't do is play music.

When I go to Database, it says, "Database is not ready" so I push Select to initialize it.  It finds roughly 1100 songs, then it stops and says,
"Data abort at 0004DA64  (0)"

I have tried a current build and the stable build.  I tried installing first under Ubuntu Hardy x64, the error had a different number, but everything else was the same.  Now I have tried it under windows, in case it was the older version of the RockBox utility that was responsible.

So, what's going on?

I'm going to spin-rite the ipod and see if that helps.
Title: Re: Initializing database gives Data abort error.
Post by: nls on November 01, 2008, 04:26:47 PM
This is most likely a bug in rockbox triggered by some unusual music file or exotic tag of some sort.
Does it always crash in the same place? same number of songs found?
It would be most helpful if you could work out which son that is causing this and file a bug report in the tracker with that file attached or linked.

To find the file (assuming this is caused by a specific file) use bisection.
That is, remove half of your collection from the player, if it still crashes, remove half of what's left etc.
If it doesn't crash remove the half that you left in the step before and copy back the half you removed.
In a few iterations you should have the file, please file a bug report with it attached or linked from so that this can be fixed, it is far too common that people just deletes or "fixes" the file to "fix" their problem :/
Title: Re: Initializing database gives Data abort error.
Post by: dalesd on November 01, 2008, 07:23:47 PM
Thanks, nls.  Spin-rite came back negative (no errors).

I was pretty sure I was going to get a "search, noob" flame after I started this thread, so I was pleasantly surprised by your polite reply.  :)  I'm going to follow your instructions and find which song is making it abort.

Interestingly, if I keep ticking the click wheel while it's initializing, it just freezes at 1209 found.  No Data abort error.  I can hear the disk has stopped seeking, and nothing more happens until I reboot it.

I do have a lot of mashups, which are unusual music files, often with exotic tags.  There could be more than one file that's doing this.  We'll see.  I'll report back.
Title: Re: Initializing database gives Data abort error.
Post by: LurkAzusa on November 01, 2008, 11:01:24 PM
I have the same issue.  I look forward to your results.
Title: Re: Initializing database gives Data abort error.
Post by: dalesd on November 01, 2008, 11:09:05 PM
Ok, I found a file that's causing the problem.  What should I do next?  It's only 533 kB.  I could email it to someone else to test with it.
Title: Re: Initializing database gives Data abort error.
Post by: saratoga on November 01, 2008, 11:36:04 PM
You could probably just upload it to the bug tracker.
Title: Re: Initializing database gives Data abort error.
Post by: dalesd on November 02, 2008, 12:21:52 AM
Ok, done. 
http://www.rockbox.org/tracker/task/9522