hi Chris, that was it! thanks for the tip. i will try on linux with Gem cvs when i find time. you can test this pb with the attached patch (simplified). after creating the Gem window, simply loading a video file does produce the memory leak error. i was may be wrong in setting the "separator" object just after the "gemhead" object.
best, vincent
chris clepper wrote:
On 1/30/06, vincent rioux vincent.rioux@no-log.org wrote:
I have another pb with Gem and separator object on osx (pd 39.2, Gem
from latest Hans'installer). with several pix_film and separators, once i load a movie i get this output: separator : state->numTexCoords 4 != m_state.numTexCoords 0 ... separator : state->numTexCoords 4 != m_state.numTexCoords 0
This means you are leaking memory using the separator object. See if moving them after pix_texture gets rid of the message.
Also, I have no idea where Hans gets GEM for his installers, so post the patch or something representitive and I will see if the current CVS version does it.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
#N canvas 514 41 368 545 10; #N canvas 0 22 281 287 gemwin 0; #X obj 12 161 gemwin; #X obj 12 133 r gemwin; #X msg 116 94 create; #X msg 79 93 1; #X obj 15 14 inlet; #X msg 173 95 destroy; #X msg 4 85 FSAA 1; #X obj 22 38 t b b b b; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 0 0; #X connect 4 0 7 0; #X connect 5 0 0 0; #X connect 6 0 0 0; #X connect 7 0 6 0; #X connect 7 1 3 0; #X connect 7 2 2 0; #X connect 7 3 5 0; #X restore 30 57 pd gemwin; #X obj 30 1 bng 40 250 50 0 empty empty empty 0 -6 0 8 -241291 -1 -1 ; #X obj 102 223 pix_film; #X obj 147 148 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 147 169 openpanel; #X msg 147 194 open $1; #X obj 102 318 translateXYZ; #X obj 102 259 pix_texture; #X obj 102 343 rotateXYZ; #X obj 102 369 square; #X obj 143 291 separator; #X obj 48 122 gemhead; #X obj 48 167 separator; #X connect 1 0 0 0; #X connect 2 0 7 0; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 5 0 2 0; #X connect 6 0 8 0; #X connect 7 0 6 0; #X connect 8 0 9 0; #X connect 10 0 6 0; #X connect 11 0 12 0; #X connect 12 0 2 0;