[GEM-dev] text3d and model -- utter weirdness OSX

B. Bogart ben at ekran.org
Mon Mar 22 18:45:21 CET 2004


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


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: text3d_model.pd
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20040322/9f0d5e95/attachment.asc>


More information about the GEM-dev mailing list