widerules / frozenbubbleplus

Automatically exported from code.google.com/p/frozenbubbleplus
0 stars 0 forks source link

In newMusicPlayer(), if a memory allocation failure occurs during LoadMODResource(), the exception is unhandled. #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See summary.

Original issue reported on code.google.com by forter...@gmail.com on 26 Apr 2013 at 3:55

GoogleCodeExporter commented 9 years ago
A good place to test this is by setting the game credits to start after you 
beat the first level.  The player is destroyed and created several times in 
quick succession, especially if you hit the back arrow to abort the credits.

Original comment by forter...@gmail.com on 26 Apr 2013 at 4:00

GoogleCodeExporter commented 9 years ago
The issue is related to a memory leak dealing with creating a new player.  
Something is not getting freed when the player is destroyed.

I have attached a log file of the out of memory error.  Again, to reproduce 
this bug, set the credits to start after you beat the first level, then back 
out of the credits, start a new game, rinse and repeat a couple of times.

Original comment by forter...@gmail.com on 26 Apr 2013 at 8:53

Attachments:

GoogleCodeExporter commented 9 years ago
Verified in version 1.18.

Original comment by forter...@gmail.com on 8 Jul 2013 at 1:56