Hey all,
(In case your all wondering why I spout off so many bug reports and issues, I've been working on PD for over 20hrs a week for the last three months.)
This one is REALLY strange, I've only seen it on OSX since I can't get ftgl to play on gem/linux. It compiles fine, the configure is happy but then when I create a text3d object with the gemwin open I get:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 4840)] 0x401181f9 in free () from /lib/i686/libc.so.6 (gdb) where #0 0x401181f9 in free () from /lib/i686/libc.so.6 #1 0x40b600c1 in operator delete(void*) () from /usr/lib/libstdc++.so.5 #2 0x40b6011d in operator delete[](void*) () from /usr/lib/libstdc++.so.5 #3 0x402abab9 in TextBase::~TextBase() () from /home/bbogart/gem/gemcvs/src/Gnu/Gem.pd_linux #4 0x403279d8 in text3d::~text3d() () from /home/bbogart/gem/gemcvs/src/Gnu/Gem.pd_linux #5 0x40327a38 in text3d::obj_freeCallback(void*) () from /home/bbogart/gem/gemcvs/src/Gnu/Gem.pd_linux #6 0x08094c8e in pd_free (x=0x81211c8) at m_pd.c:35 #7 0x08233068 in ?? () #8 0x0823306c in ?? () #9 0x081127e0 in ?? () #10 0x081211c8 in ?? ()
But this is beside the point. Attached is an example patch.
Go through 1st to fourth and everything is fine. After "fourth" create the window again, the text gets replaced with a copy of the model! Click on the font message again to recreate the text and the model turns into the first letter of the text!!! I hope someone else can see this and I'm not losing my mind.
Thanks all, Ben
#N canvas 531 324 570 347 10; #X obj 21 114 gemhead 1; #X obj 20 217 text3d hello; #X obj 19 77 gemwin; #X msg 19 17 create , 1; #X msg 37 47 0 , destroy; #X msg 59 192 font ../fonts/arial.ttf; #X obj 22 164 rotateXYZ; #X floatatom 70 140 5 0 0 0 - - -; #X obj 368 74 rotateXYZ; #X floatatom 416 50 5 0 0 0 - - -; #X obj 371 209 model; #X obj 441 160 openpanel; #X msg 440 139 bang; #X msg 441 186 open $1; #X obj 368 25 gemhead 3; #X obj 369 111 scaleXYZ; #X floatatom 438 87 5 0 0 0 - - -; #X text 98 18 First; #X text 233 193 Second; #X text 476 141 Third; #X text 118 47 Fourth; #X text 25 263 After "fourth" create the window again , the text gets replaced with a copy of the model! Click on the font message again to recreate the text and the model turns into the first letter of hello!!! ; #X connect 0 0 6 0; #X connect 3 0 2 0; #X connect 4 0 2 0; #X connect 5 0 1 0; #X connect 6 0 1 0; #X connect 7 0 6 3; #X connect 8 0 15 0; #X connect 9 0 8 3; #X connect 11 0 13 0; #X connect 12 0 11 0; #X connect 13 0 10 0; #X connect 14 0 8 0; #X connect 15 0 10 0; #X connect 16 0 15 3; #X connect 16 0 15 2; #X connect 16 0 15 1;