FS#6129 - Pressing stop on startup with auto-resume crashes

Attached to Project: Rockbox
Opened by Steve Bavin (pondlife) - Friday, 06 October 2006, 10:20 GMT
Last edited by Nils Wallménius (nls) - Tuesday, 20 November 2007, 15:55 GMT
Task Type Bugs
Category User Interface
Status Closed
Assigned To No-one
Operating System All players
Severity High
Priority Normal
Reported Version Daily build (which?)
Due in Version Version 3.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


As reported (by Deb) as a secondary issue to  FS#5536 :
"play a track and stop it in the middle and then shut down the player
start the player (auto-resume is on) and while it's resuming (but before it resumes) press stop. it freezes completely and need a reset"

I have reproduced this on an H340 too.
This task depends upon

Closed by  Nils Wallménius (nls)
Tuesday, 20 November 2007, 15:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  works for me too now :)
Comment by Nils Wallménius (nls) - Sunday, 12 November 2006, 13:33 GMT
I added  FS#6317  as a related task as it appears to be the same issue but in different situations.
Comment by Jonathan Gordon (jdgordon) - Wednesday, 27 December 2006, 06:21 GMT
is this still happening? I just checked on my h300 (with the resume point at about 15min into a 20min track) and it didnt crash.
Comment by Nils Wallménius (nls) - Saturday, 30 December 2006, 19:39 GMT
I managed to trigger it with a cvs build from 30 decmber so it seems to still be here.
edit: with my h320 and a flac file about 20 megs.
Comment by Michael Sevakis (MikeS) - Sunday, 31 December 2006, 04:45 GMT
I would expect lockup while resuming to still exist, sure. I never found the need for an urgent bandaid fix since it's easily avoided. After the holdidays and associated obligations I gotta get my head back in the game and continue the playback reworking that I started a few days before xmas.
Comment by Nils Wallménius (nls) - Wednesday, 14 March 2007, 22:37 GMT
I reopened this because I can still trigger it reliably on my h320 with the latest current build, this time playing vorbis.
If i press stop as soon as I see the wps on startup, bang, every time.
Comment by Michael Sevakis (MikeS) - Thursday, 15 March 2007, 14:22 GMT
This could probably be fixed in the short term if codecs get a reply while waiting for the audio thread but all have to behave predicably when the buffer callback returns false. Atm you can get a bunch of codec failures after forcing them to exit like that. Will investigate that. It could have another reason in playback.
Comment by Steve Bavin (pondlife) - Tuesday, 20 November 2007, 14:44 GMT
Has this been fixed now? Seems ok here...