Hey all,
I'm trying to load an obj model into Gem OSX and it just seems to crash. The packaged venus.obj file works fine. Here is the PD output:
_glmFindMaterial(): can't find material "vn". _glmFindMaterial(): can't find material "vn". _glmFindMaterial(): can't find material "vn". _glmFindMaterial(): can't find material "vn". _glmFindMaterial(): can't find material "vn". _glmFindMaterial(): can't find material "vn". _glmFindMaterial(): can't find material "vn". _glmFindMaterial(): can't find material "vn". _glmFindMaterial(): can't find material "vn". _glmFindMaterial(): can't find material "vn". _glmFindMaterial(): can't find material "vn". _glmFindMaterial(): can't find material "vn". _glmFindMaterial(): can't find material "vn". *** malloc[500]: error for object 0x20c6690: Incorrect checksum for freed object - object was probably modified after being freed; break at szone_error
gdb tells me:
Program received signal EXC_BAD_ACCESS, Could not access memory. 0x011f42cc in glmFacetNormals (model=0x20a9600) at /Users/cgc/CVS_Temp/Gem/src/Geos/model_loader.cpp:964 964 in /Users/cgc/CVS_Temp/Gem/src/Geos/model_loader.cpp (gdb) where #0 0x011f42cc in glmFacetNormals (model=0x20a9600) at /Users/cgc/CVS_Temp/Gem/src/Geos/model_loader.cpp:964 watchdog: signaling pd... #1 0x01147b00 in model::openMess(_symbol*) (this=0x20f5530, filename=0x20e6580) at /Users/cgc/CVS_Temp/Gem/src/Geos/model.cpp:158 #2 0x0003394c in pd_typedmess () #3 0x00034970 in outlet_anything () #4 0x00033a68 in pd_typedmess () #5 0x0003698c in binbuf_eval () #6 0x0000977c in message_symbol () #7 0x00034870 in outlet_symbol () #8 0x000336d4 in pd_typedmess () #9 0x0003698c in binbuf_eval () #10 0x0003b0c0 in socketreceiver_read () #11 0x0003abe4 in sys_domicrosleep () #12 0x000396f0 in m_scheduler () #13 0x000027e8 in _start (argc=8, argv=0xbffffd78, envp=0xbffffd9c) at /SourceCache/Csu/Csu-45/crt.c:267 #14 0x00002668 in start ()
I've attached the offending obj file (I tried three that all don't work)
Sorry about the anoying "watchdog" messages interdispersed... but thats another email to pd-dev.
Thanks Ben