This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10930 - Playback stuck after selection of broken/non-playable audio file
Attached to Project:
Rockbox
Opened by Andree Buschmann (Buschel) - Sunday, 24 January 2010, 17:51 GMT+2
Last edited by Andree Buschmann (Buschel) - Wednesday, 27 April 2011, 22:41 GMT+2
Opened by Andree Buschmann (Buschel) - Sunday, 24 January 2010, 17:51 GMT+2
Last edited by Andree Buschmann (Buschel) - Wednesday, 27 April 2011, 22:41 GMT+2
|
DetailsDuring investigation of
Preconditions: Have a folder or playlist with several audio files. Of these one audio file is corrupted (e.g. some file named to .mp3). The corrupted file is recognized in metadata.c and the check of this file will return "false" (e.g. using sv8 mpc or simply save an 6 byte binary file to .mp3). Usecase: Playing a non-corrupted file and selecting the corrupted file by hand. Observed: The playback stops and will stay blocked until you restart the player. This blocking only happens, if the corrupted file is not the last file in the playlist/folder. Tested with mp3 and mpc files. For mpc this is bad as we do not support all versions of mpc bitstreams. In this case the check of the file results in "false" (=not playable), and the playback engine is blocked afterwards. |
This task depends upon
Closed by Andree Buschmann (Buschel)
Wednesday, 27 April 2011, 22:41 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed with playback engine rework (r29785).
Wednesday, 27 April 2011, 22:41 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed with playback engine rework (r29785).
I am new here and not experienced with tech-stuff. justt managed to get rockbox on the player.
Your help is being appreciated - cheers!
Thomas
FS#10919for the issue you are describing.Edit: After intensive testing it seems this patch does not fix the issue but reduces the probability that the failure occurs. Also it seems like additionally activating LOGF-messages in codec.c again rises the probability.... To me this sounds like timing...
For reproduction just create a folder with 3 files:
Track01.mp3
Track02.mp3
Track03.mp3
whereas Track02.mp3 is just a renamed small text file (e.g. version.h from the build-folder).
To reproduce the error first play Track01.mp3 and then select Track02.mp3 from the filebrowser. From now on the playback is totally blocked and you will need to restart your player/simulation.
1) zero'ing the full mp3entry-struct
-> shows the failure with the blocked playback engine
2) zero'ing the mp3entry except 2 contents => filename and codectype
-> works fine
-> if you additionally set filename or codectype to zero, the same as in 1) happens
So, there is something wrong in the playback engine when handling empty filenames and/or codectype==AFMT_UNKNOWN.
Should I try the playback_v3 patch?