FS#12446 - [FUZE+]Undefined instruction at 0x0000AC44 when selecting an mp3 file while playing any other format

Attached to Project: Rockbox
Opened by Jean-Louis Biasini (JeanLouisBiasini) - Sunday, 11 December 2011, 17:41 GMT
Last edited by Jean-Louis Biasini (JeanLouisBiasini) - Monday, 27 August 2012, 13:37 GMT
Task Type Bugs
Category Music playback
Status Closed
Assigned To No-one
Operating System Sansa Fuze+
Severity Low
Priority Normal
Reported Version Release 3.9
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


1. Way to reproduce:
While playing any file except mp3 select a MP3 file

2. Bug description
WPS stay idle a couple of second on the new file without playing it (detection of the format correctly being showed) then:

Undefined instruction at 0000AC44
backtrace start
pc: 0x0000AC44
sp: 0x00005350
backtrace end returns:
jean-louis@debian:~/Bureau/rockbox-devtree/rockbox/buidl$ ../utils/analysis/ 0x0000AC44 1
/home/jean-louis/Bureau/rockbox-devtree/rockbox/buidl/firmware/libfirmware.a(thread.o) -> threads

jean-louis@debian:~/Bureau/rockbox-devtree/rockbox/buidl$ ../utils/analysis/ 0x00005350 1
/home/jean-louis/Bureau/rockbox-devtree/rockbox/buidl/apps/codec_thread.o ->

Whatever the format of the "coming from" file is, the address in backtrace stay the same.

3. No bug if:
- If the files are in the same playlist, the bug doesn't occurs - only on moving to a new dynamic playlist.

4. test performed:
tested format:
WMA > MP3 bug
MPC > MP3 bug
OGG > MP3 bug
FLAC > MP3 bug

MP3 > OGG no bug
WMA > OGG no bug
FLAC > OGG no bug

each format transition tested 2 times with 4 different files
This task depends upon

Closed by  Jean-Louis Biasini (JeanLouisBiasini)
Monday, 27 August 2012, 13:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  by 08/27/2012 the bug cannot be reproduced anymore Solving probably related to 4908b8e where pamaury fixed some dma issue
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Sunday, 11 December 2011, 17:46 GMT
ogg > flac no bug
flac > wma no bug
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Monday, 12 December 2011, 13:46 GMT
I forget to write that if one stop the music (not pause, real stop) before selecting mp3, then the problem won't occurs
Comment by Andrej (rarog) - Tuesday, 20 December 2011, 01:05 GMT
I can't reproduce this with current builds with flach > mp3 change.
Comment by Andrej (rarog) - Tuesday, 20 December 2011, 01:11 GMT
Ok, I could reproduce this in 1 of 10 times. It seems to be unrelated to the files.
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Tuesday, 20 December 2011, 12:56 GMT
this is systematic on my device. What ever the file of whatever other format. But only if selecting it (i. e. generating a new dynamic playlist) and not just adding it to queue