FS#11114 - Fuze v1: Music Playback Issues / Data Aborts

Attached to Project: Rockbox
Opened by Daniel Empie (BlastTyrant) - Tuesday, 16 March 2010, 16:33 GMT
Last edited by Rafaël Carré (funman) - Wednesday, 17 March 2010, 05:11 GMT
Task Type Bugs
Category Music playback
Status Closed
Assigned To No-one
Operating System Another
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Fuze v1:

MP3 224+ kbps VBR/CBR (Other audio formats untested)

After upgrading from r24404 (release 3.5.1 works fine - that's what I've downgraded to) to anything current (earliest I tried was r25202 from yesterday - also applies to r25218) playback of the current playlist resumes, but once it reaches the next song playback stops and RockBox returns to the main screen with Resume Playback selected. This only happens right after the upgrade.

After the upgrade (r25202/r25218):
When trying to play songs from the database (I've gone through Artist -> All Tracks/Random/[specifically selected artist] if there's a song playing it'll bring up the 'searching, found x...' window and at the same time it'll also bring up the 'Nothing To Resume' window then it'll stop playback and return to the database list. From here if the same song is selected the same thing will happen, but the song will start playing and it'll go to the wps for a second before returning to the main screen with Resume Playback selected.

If there isn't a song playing - trying to play a song through the database will just make the player go back to the database list but either the song that was selected will start to play, or it will start to play the last song in the database list that I was just currently in. Trying to play the same song again will bring the player back to the main screen with resume playback selected. Playing the song a 3rd time through the database will start the song over and bring the player to the WPS screen.

Getting data aborts randomly (the majority of the time the above described issues happen) when trying to play a song through Database -> [Specific Artist] -> All Tracks -> [any selected track]
data abort
at 300068A4
FSR 0x8
(domain 0, fault 8)
address 0x6B63616C (not the same address the 2nd time I got the abort)

2nd data abort:
at 300068E8
FSR 0x8
(domain 0, fault 8)
address 0xF4348C24

3rd data abort:
at 30006C24
FSR 0x8
(domain 0, fault 8)
address 0xE8BD8128

same as first data abort

same as first except for 'address 0x6576616C'

This bug completely froze my Fuze 3 times trying to start playback - I didn't even get a data abort.

I've downgraded/upgraded 2 times just to make sure that it wasn't a download issue.
This task depends upon

Closed by  Rafaël Carré (funman)
Wednesday, 17 March 2010, 05:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in r25229
Comment by Tim Nixon (timnixon) - Tuesday, 16 March 2010, 21:48 GMT
I'll confirm.. I see this too... it effects most files and whether they are on internal or external memory
Comment by Tim Nixon (timnixon) - Tuesday, 16 March 2010, 21:50 GMT
Also, I see this in a simplier way: select a folder, then a file in that folder.. it goes to the playing screen.. then exits is 2 secs..
Comment by philip kao (philibuster) - Tuesday, 16 March 2010, 23:01 GMT
I see it with ogg vorbis too.
Comment by Michael Chicoine (mc2739) - Wednesday, 17 March 2010, 02:25 GMT
This is also happening on my e260v2, except I get the error on booting the Rockbox firmware.

I have determined that this started with build r25198.
Comment by Rafaël Carré (funman) - Wednesday, 17 March 2010, 04:29 GMT
I confirm: commenting line 62 of crt0.S (ldr sp, =stackend) fixes the problems with database / end of playback.

Reproducing aborts: in find_handle, address 0x6C616E69 = "lani"
Comment by Rafaël Carré (funman) - Wednesday, 17 March 2010, 04:37 GMT
Edit: little endian so: "inal" (playing Ben Harper & the innocent crimINALs)

0x6B63616C = "lack"
0x6576617C = "lave"

BlastTyrant, are those part of the info of the tracks you were playing ?
Comment by Daniel Empie (BlastTyrant) - Wednesday, 17 March 2010, 05:00 GMT
Yes, they are parts of names of albums that I was trying to play songs from: AC/DC's Black Ice & Audioslave's self-titled albums.