FS#7355 - Database: Sansa, upgrade: Undefined instruction

Attached to Project: Rockbox
Opened by Jurrie Lulofs (jurrie) - Monday, 25 June 2007, 16:56 GMT
Last edited by Barry Wardell (barrywardell) - Tuesday, 14 August 2007, 23:29 GMT
Task Type Bugs
Category Applications
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


When installing an updated version of Rockbox (possibly only when there are Database code changes?), a Database rebuild leads to "Undefined instruction at 00000460" (or other addresses, such as 000E2410).

This happened when going from official builds 20070622 to 20070625, it also happened when going from 20070606 to 20070622 (all official builds).

Deleting .rockbox followed by a fresh install avoids the problem. Only deleting the database files in ./rockbox does not help.

It seems like the database finds existing data/files that it cannot cope with. If so, it would be preferable to be presented with a "Database found incompatible data, press select to remove incompatible data and rebuild the database" message.
This task depends upon

Closed by  Barry Wardell (barrywardell)
Tuesday, 14 August 2007, 23:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  Seems to be fixed already.
Comment by Jurrie Lulofs (jurrie) - Monday, 25 June 2007, 17:03 GMT
The current build in question is: r13711-070625
Comment by Jurrie Lulofs (jurrie) - Tuesday, 26 June 2007, 17:42 GMT
Narrowing things down.... now using r13721-090626

1. fresh install (RettumBox, fonts + Rockbox)
2. select RettumBox theme
3. build database
4. kaboom

1. fresh install (RettumBox, fonts + Rockbox)
2. build database
3. select RettumBox theme
4. life is good

So it would appear that the theme selection (and associated resources) may have some influence on this issue.
Comment by Nils Wallménius (nls) - Tuesday, 31 July 2007, 08:52 GMT
Could you please retry this with a current build, there has been
some improvements made to sansa stability since june.
Comment by Jurrie Lulofs (jurrie) - Tuesday, 14 August 2007, 20:14 GMT
Just tried a fresh install of r14335-070814.

The "Undefined Instruction" crashes appear to have been resolved.

There are other database related issues, but this one has been resolved.