Rockbox

Tasklist

FS#12575 - DAP hangs in last track of FLAC album with HD activity light Illuminated continuously

Attached to Project: Rockbox
Opened by Joaquim Dias (dunno) - Thursday, 02 February 2012, 06:28 GMT
Task Type Bugs
Category Music playback
Status Unconfirmed
Assigned To No-one
Operating System Iriver H100 series
Severity Low
Priority Normal
Reported Version Release 3.10
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

H140; R-box v3.10 and current.
codec; libFlac v1.1.0. 20030126
Embedded cue sheet; No.

When playing my only FLAC album (6 tracks), I can reproduce the following condition at will,
The player hangs in the last track, player does not respond to buttons and only a hard reset will fix it.

I can consistently reproduce the above bug as follows,

I start track 1 and let it play for a few sec's, then FF to 5 sec's before the end of track 1,
let it play the remaining 5 sec's of track 1 and let it change into track 2,
Play a few sec's of track 2, then FF to 5 sec's before the end of track 2, let it change into track 3,
Play a few sec's of track 3, then FF to 5 seconds before the end of track 3, let it play etc...
( I repeat the above until I'm in the last track),
when it has changed into the last track, FF to 5 sec's before the end of the last track and let it play, when play time reaches 1~0 sec's before the end of the last track, the player hangs in that last track with the disk activity light on continuously, player does not respond to buttons and only a hard reset will fix it.
This task depends upon

Comment by Joaquim Dias (dunno) - Monday, 06 February 2012, 11:38 GMT
I found what was causing the above bug.

I had "Auto Change Directory" set to Random, but my "Folder_advance_dir txt file didn't have the correct path required, hence the player would hang on the last track.

I corrected the path in "folder_advance_dir" and R-Box plays as advertised now.

Wouldn't it be better if R-box could fail gracefully, instead of hanging, if "Random folder advance" is set and the is no directory in the Folder Advance list ?.

Comment by Dave Hooper (stripwax) - Monday, 21 May 2012, 08:53 GMT
yes, that would definitely be better. Rockbox should not hang on malformed or corrupted inputs.

Loading...