• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category Games
  • Assigned To No-one
  • Operating System iPod 5G
  • Severity Medium
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by stripwax - 2006-10-23
Last edited by midgey34 - 2007-07-30

FS#6232 - Star - no longer possible to quit game, game lockups.

I think one of the last two commits to star.c has broken the behaviour on ipod 5g:
1. While playing the game, there is no way to exit
2. Game locks up while initially drawing the map for level 20 (the ‘transitional’ box drawing never completes)

#1 is reproducible on simulator, haven’t tried to reproduce #2 yet.

Interestingly audio playback continues while the game is in the locked up state.

Closed by  midgey34
2007-07-30 21:22
Reason for closing:  Works For Me
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

Tested on both a Gigabeat F40 and iPod 5G. Both load level 20 fine and can be quit. Quit on iPod is MENU+SELECT.

Also, why has the rb→yield() call been added back in for ipod 5g? It was slow enough before …

More info:
#1 - is NOT reproducible on simulator, I am an idiot. Sim is fine, and target is probably fine too but attempting to exit the game seems to lock up … i.e. #1 doesn’t exist and #2 is the only problem.

#2 - also not reproducible on simulator.

However, I can only reproduce lockups on the ipod 5g target itself while music is playing. In fact the lockups on the device itself seem to be able to occur at any time, not just when attempting to exit, or while starting level 20. This morning the game just locked up on the initial screen of star (the menu with the spinning arrow). I imagine this must be related to the change to calling yield() on ipod 5g targets whereas other targets use sleep : perhaps this yield call never returns whilst playing music (= just a guess)

Hmm, none of these problems is reproducable on any of my targets here (closest to G5 would be mini G2 and H300). I added the yield() because every thread has to yield every now and then in order to not starve other threads. The other targets also yield, in sleep(), not only once but over and over until the sleep() times out. I suspect the new scheduler to be the root cause of the problem, as several people reported occasional freezes.

Could someone who does have a 5g video ipod please confirm if this is reproducible for them? This is *consistently* reproducible for me, i.e. star locks up after just a few seconds after launching, and requires resetting the ipod. star is basically unplayable on ipod 5g right now (whatever the cause..)

Star works fine on my 5g. I’m currently testing some changes to increase the animation speeds to make it more playable, but I haven’t encountered the bugs you’ve mentioned, even before I started making my (very minor) changes.

I’ve recently experienced this on my Gigabeat. After starting the plugin the player locks up, I must cycle the battery to get it to shoutdown.


Available keyboard shortcuts


Task Details

Task Editing