This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8511 - Auto resume on restart broken in recent days (
Attached to Project:
Rockbox
Opened by matt henschel (otherone23) - Friday, 25 January 2008, 03:29 GMT+2
Last edited by Nicolas Pennequin (nicolas_p) - Monday, 25 February 2008, 07:31 GMT+2
Opened by matt henschel (otherone23) - Friday, 25 January 2008, 03:29 GMT+2
Last edited by Nicolas Pennequin (nicolas_p) - Monday, 25 February 2008, 07:31 GMT+2
|
Detailsi dunno what happened, but in a recent build my files stopped resuming properly on restart. the display shows the right position, say an hour into something, but the sound is the beginning of the file. odd
|
This task depends upon
Closed by Nicolas Pennequin (nicolas_p)
Monday, 25 February 2008, 07:31 GMT+2
Reason for closing: Fixed
Additional comments about closing: Appears to be fixed by r16392.
Monday, 25 February 2008, 07:31 GMT+2
Reason for closing: Fixed
Additional comments about closing: Appears to be fixed by r16392.
I was also getting somewhat frequent track truncation, it would go to the next song before the current one was finished, if i went back and FF to the end of the track, i could hear the ending fine.
the files i noticed it on was a VBR mp3 files. I reverted back to an older rockbox ver. and both problems went away.
In fact, playback in general got very flaky right around that time.
Some MP3 tracks, such as the podcast edition of "Wait, Wait, Don't Tell Me", won't play at all.
Some OGG CD rips play but they may take a long time to start playing the first time, or the controls will freeze for several seconds when playback begins.
Looking at the changelog, I think it's most likely the spinlock patch(es) that caused some of these problems (not that I know what's wrong with them).
matt: I've found archived builds by going here: http://www.rockbox.org/daily.shtml and clicking on the "old" link below the model you have.
Yup, I can confirm mine bites it on 16105, but works as usual on 16099. and it goes from bad to worse on the next version up; spinlock being the one thing that change on both versions. not that i've even blinked at the source yet.... thanks for the pinpoint charles! I didn't realize how hooked on rockbox I had become, my audio routine had been seriously altered ;-)
I do find it interesting that the bug so far seems to occur on MP3 files (which are presumably decoded by special hardware in the Sansa), but not on OGG files which are decoded in software. That, and the fact of a recent spinlock/mutex patch makes it seem like it is almost certainly a hardware/thread synchronization issue. And they can be REALLY hard to debug. I wonder if anyone can reproduce it in a simulator?
Matt: I think the spinlock patches look like they were specific to the r16105 version. Their repetition on the r16114 page is probably a side-effect of the way the changelogs are generated.
The resume function has also broken on my iriver H140 with my last rockbox update (no more than 2 weeks ago). I don't run files under 60mb. Resume on MP3 files seems to work fine. However, none of my OGG files will resume, the player automatically moves to the next file.
It seems strange that on other machines it's the MP3s that won't resume, whereas on my iriver it's the oggs. Unfortunately I don't know any programming so I can't hypothesise why that might be.
I do find it interesting that the bug so far seems to occur on MP3 files (which are presumably decoded by special hardware in the Sansa), but not on OGG files which are decoded in software. That, and the fact of a recent spinlock/mutex patch makes it seem like it is almost certainly a hardware/thread synchronization issue. And they can be REALLY hard to debug. I wonder if anyone can reproduce it in a simulator?
Matt: I think the spinlock patches look like they were specific to the r16105 version. Their repetition on the r16114 page is probably a side-effect of the way the changelogs are generated.
Anyway, I still don't think anything more recent than r16099-20080118 will be useful until this is fixed.
Build 16096 (the one I'm using to help check a battery life extension patch) works fine. But any SVN's after it, breaks resume playback on power up.
It is a very annoying bug, and I hope someone who knows about the build history can find out what change caused it.
In the meantime, it looks as if 16096 will be the last build I use until I see this repaired.
I think 161xx is where it started. 16105 is where people say that it started, so I think the 160xx series should be fine. My previous post was inaccurate. 16096 is the last one built with the battery optimizer patch that I can use, so that's what I meant.
1. Power On Player
2. Set Start Screen to Resume Playback (Settings/General Settings/System/Start Screen
3. Queue up a list of songs via database (I use Albums All Tracks)
4. Set Shuffle Mode On (I don't think its related, but thats how I normally use the player)
5. Start playback of a song, Let the song play at least 15 to 20 sec.
6. Power off the player, note position in song during power off.
7. Restart the player.
After Reboot, briefly, the player will show the last position you started at (depending on your WPS) and then quickly reset to 0:00 and restart the song. Sometimes the Resume feature will work, approx. 10% of the time, and sometimes the player will skip to the next track. I can't accurately reproduce it working normally or the skip ahead, but the restarting the track happens the most anyway.
When I listen to a audio book and then switch off the player.
The next time I switch it on, the position rewinds to 00:00 and the track counter increments but it is still the same track.
its especially annoying when you are listening to a book.
After a power cycle, 'Resume Playback' reverts to the beginning of the track for mp3, and skips to the beginning next track in the playlist with ogg.
I am currently using the Feb. 13, 2008 build, but builds from the last few days are also definite culprits. I've updated a few times over the last few days, and reverted all settings.
It's an annoying problem for me because I listen to long podcasts intermittently in the lab, with long periods of office work in between lab sessions. So I'd just like to add a vote that this be addressed.
Thanks. Otherwise I just love this software.
Interestingly, the problem didn't manifest itself immediately. The first half-dozen or so times I powered down and back up, resume seemed to work fine but today, it's skipping to the beginning of the next track again. (With the 1/21/08 build it would also sometimes skip back to the beginning of the current track and play from there...)
I've just downgraded to 16099 build to see if the problem goes away, as others have suggested.
So far 16099 seems to be ok.
Thank you,
Denis
Anyone have a copy of 16099? I accidently rm'd mine (d'oh!)
i guess it was the fix from "23 Feb 17:46 Magnus Holmgren" that did the job.
Thanks.
(IPOD 5.5G). I am using r16374.
Thanks!