Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Operating System/Drivers
  • Assigned To No-one
  • Operating System iPod 3G
  • Severity Medium
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
  • Private
Attached to Project: Rockbox
Opened by billodo - 2006-09-13
Last edited by nls - 2008-04-22

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

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.

Closed by  nls
2008-04-22 14:13
Reason for closing:  Out of Date
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

No response, request a reopen if the problem still exists.

dan_a commented on 2006-09-13 14:20

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?

Thanks

Hello-
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.
Bill

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 :

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.

dan_a commented on 2006-10-04 18:16

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.

Is this still applicable after the recent changes to the 3g code?

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.

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.

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.”

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.

Anyone care to update on this?

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing