FS#4879 - bubbles game overflowing stack

Attached to Project: Rockbox
Opened by Mikael Magnusson (mikaelh) - Tuesday, 21 March 2006, 21:24 GMT
Task Type Bugs
Category Games
Status Closed
Assigned To No-one
Operating System iPod Nano
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


well, as it turns out my patch (4872) didn't fix the problem after all, but at least i have some more details on reproducing the crash. If you play to level 21 (possibly by editing the save file to save time) and the first thing you do is hit one of the groups of 3 reds with another red ball, the game crashes with what i'm told is a stack overflow (i know what a stack overflow is but rockbox says something like *PANIC* foobar). There are two functions in the game that are recursive so those are the prime suspects. You don't have to get a red ball as the first piece, but you have to not remove any other balls first it seems. If you try a few times it should "work", ie crash. Only tried on nano but i think all stacks are the same size.
This task depends upon

Closed by  Nicolas Pennequin (nicolas_p)
Thursday, 23 March 2006, 19:17 GMT
Reason for closing:  Accepted
Additional comments about closing:  fix in CVS
Comment by Mikael Magnusson (mikaelh) - Wednesday, 22 March 2006, 10:22 GMT
rotator sent me a patch last night that seems to fix the problem. just thought i'd mention it here so you don't duplicate efforts and so on.
Comment by Mikael Magnusson (mikaelh) - Thursday, 23 March 2006, 19:09 GMT
the patch has been committed to cvs now, so please close this bug