pyglet has a fast memory leak - does not happen on hardy system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyglet (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The little program below leaks memory like there is no tomorrow.
it is a pruned down screen saver framework.
Do not run for too long as it will bring you xserver down.
package version is
python-pyglet 1.1.2.dfsg-1
On another machine running hardy and a package from here
https:/
The problem does not exist.
-------
#!/usr/bin/python
import pyglet
import numpy
DIM_X = 600
DIM_Y = 1200
image = pyglet.
window = pyglet.
rgba = "\0" * (4 * (DIM_X+2) * (DIM_Y+2))
@window.event
def on_draw():
global image
global rgba
# comment out any of the two lines below and the leak goes away
image.
image.blit(0, 0)
# schedule an empty update function, at 60 frames/second
pyglet.
pyglet.app.run()
Which version of Ubuntu is affected by this bug ?