Notice: A non well formed numeric value encountered in /sites/ on line 96 Notice: A non well formed numeric value encountered in /sites/ on line 96 Notice: A non well formed numeric value encountered in /sites/ on line 96 Deprecated: Function create_function() is deprecated in /sites/ on line 104 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /sites/ on line 845 Deprecated: Function create_function() is deprecated in /sites/ on line 111 FS#5987 : RockBox-iPod3G freeze after "pause" pressed (occasional)



FS#5987 - RockBox-iPod3G freeze after "pause" pressed (occasional)

Attached to Project: Rockbox
Opened by Bill O\'Donnell (billodo) - Wednesday, 13 September 2006, 13:38 GMT
Last edited by Nils Wallménius (nls) - Tuesday, 22 April 2008, 14:13 GMT
Task Type Bugs
Category Operating System/Drivers
Status Closed
Assigned To No-one
Operating System iPod 3G
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


Rockbox on iPod3G occasionally will freeze (requiring reboot) when pause button pressed, during playback of mp3 file. Estimate this occurs about 50% of the time.
This task depends upon

Closed by  Nils Wallménius (nls)
Tuesday, 22 April 2008, 14:13 GMT
Reason for closing:  Out of Date
Additional comments about closing:  No response, request a reopen if the problem still exists.
Comment by Daniel Ankers (dan_a) - Wednesday, 13 September 2006, 14:20 GMT
Hi Bill,
I've never experienced these freezes on my 3G, so I will need a bit more information to work out what is causing it and why I don't see it.

Does the icon in the status bar change from "play" to "pause" before it freezes?
What WPS do you use?
Have you seen this on multiple MP3 files, or just one? Does it happen with .wav files?

Comment by Bill O\'Donnell (billodo) - Wednesday, 13 September 2006, 14:48 GMT
I've only tried it on one long (50minute, 128kbps) mp3 file, and
the condition is definitely repeatable. Yes the status bar changes
from "play" to "pause" when I push pause, but then its frozen
on pause. I'll try it today with wav files and different mp3 files.
I've tried "zezayer" and "engineeer2" WPS so far, and have had the
problem in both.
Comment by Bill O\'Donnell (billodo) - Wednesday, 13 September 2006, 19:04 GMT
Tried a wav file, and it played through nicely, with no problems when pause/play pressed (several times).
Next I tried a flac file, and although it worked _slightly_ better, it too resulted in freeze. So evidently
this is related to the codec. I'll try a different mp3 file next. I'm sure someone has been over this
bridge already, right? I've been trying Rockbox for about 2 days now :\\
Comment by Bill O\'Donnell (billodo) - Thursday, 14 September 2006, 12:42 GMT
Well it happened on the wav file too. So if the file is wav, the freeze can occur about
30% of the time (successive play/pause presses during wav playback). If the file is flac
freeze occurs probably 50% of the time. If the file is mp3 it freezes about 90% of the time.
Comment by Daniel Ankers (dan_a) - Wednesday, 04 October 2006, 18:16 GMT
This bug is still present with the latest CVS, though I don't see it as much as Bill reports.
Using a 4:19 long flac file, I get a crash after pausing and resuming a song about 10 times.
Comment by Will Robertson (aliask) - Monday, 30 July 2007, 01:39 GMT
Is this still applicable after the recent changes to the 3g code?
Comment by John K (yegods) - Friday, 10 August 2007, 00:11 GMT
i've created a patch to the wps that seems to ... circumvent this problem. it does this by making the audio_pause and audio_resume functions use audio_stop and audio_play respectively. i had to change a few other lines in the gwps to prevent it from exiting the wps screen. the provided patch only enables this for ipod video. if you want to enable it for other ipods, then edit your corresponding config-<ipod type>.h file to add the STOP_INSTEADOF_PAUSE define.
Comment by John K (yegods) - Monday, 13 August 2007, 20:44 GMT
i've been using this patch for a week now, and have not had any hard locks while paused, as used to happen all the time. i'm not sure what's going on with the pause function, but it really needs to be looked at. meanwhile, this patch DOES workaround the problem.
Comment by Paul Louden (Llorean) - Sunday, 21 October 2007, 15:49 GMT
So are any of you people who had the problem actually still investigating it, or did you do as so many others do and choose to simply accept the workaround?

With problems like this that don't affect everyone, it's NECESSARY that the people who experience it investigate it because nobody else can, and always disappointing that the frequent response is "A workaround is good enough for me."
Comment by John K (yegods) - Sunday, 21 October 2007, 17:43 GMT
truthfully, i got so little reaction to my patches, workarounds and posts, that i assumed no one else was having this problem.... so i accepted my patch, and haven't really looked into the problem anymore. i don't really know enough about the internals to even have a guess as to why the pausing causes the freeze. i did see a few weeks back that someone claimed to have fixed one of the freezing issues dealing with resuming the playback after pause -- had something to do with resuming during an interrupt? -- but when i installed the latest build after that, i immediately experience a freeze, and so moved back to my patched build.
Comment by Marc Guay (Marc_Guay) - Wednesday, 02 April 2008, 22:50 GMT
Anyone care to update on this?