On Wed, 16 Feb 2011, cyrille henry wrote:
here is a patch that make Gem to crash.
The subject line is wrong. they don't like "0". The "destroy" message is never reached.
#0 gem::GLStack::pop (this=0x854dfe8, id=gem::GLStack::TEXTURE) at GLStack.cpp:161 #1 0x00a7fa20 in separator::postrender (this=0x81c69e8, state=0x819693c) at separator.cpp:160 #2 0x0093eebc in GemBase::gem_renderMess (this=0x81c69e8, cache=0x8196878, state=0x819693c) at GemBase.cpp:155 #3 0x0093f117 in GemBase::gem_MessCallback (data=0x81c69c0, s=0x812a7d0, argc=2, argv=0x3) at GemBase.cpp:227 #4 0x080b54b9 in pd_typedmess (x=0x81c69c0, s=0x812a7d0, argc=2, argv=0xbfffe900) at m_class.c:716 #5 0x080b7aff in outlet_anything (x=0x81969b8, s=0x812a7d0, argc=2, argv=0xbfffe900) at m_obj.c:442 #6 0x009a0c65 in gemlist::sendCacheState (this=0x81968f0, cache=0x8196878, state=0x819693c) at gemlist.cpp:91 #7 0x009a1296 in gemlist::trigger (this=0x81968f0) at gemlist.cpp:104 #8 0x009a15b0 in gemlist::triggerMessCallback (data=0x81968c8) at gemlist.cpp:194 #9 0x080b8353 in outlet_bang (x=0x81c6e58) at m_obj.c:371 #10 0x080e355b in trigger_anything (x=0x81c6e20, s=0x812a7d0, argc=1, argv=0xbfffeb78) at x_connective.c:1002 #11 0x080b536c in pd_typedmess (x=0x81c6e20, s=0x812a7d0, argc=1, argv=0xbfffeb78) at m_class.c:813 #12 0x080b7aff in outlet_anything (x=0x8196d68, s=0x812a7d0, argc=1, argv=0xbfffeb78) at m_obj.c:442 #13 0x0099efce in gemhead::outputRenderOnOff (this=0x8196d18, state=0) at gemhead.cpp:172 #14 0x0099f005 in gemhead::stopRendering (this=0x8196d18) at gemhead.cpp:193 #15 0x00961d8a in GemMan::stopRendering () at GemMan.cpp:963 #16 0x009a530e in gemwin::intMess (this=0x811de00, state=0) at gemwin.cpp:104 #17 0x009a536a in gemwin::floatMessCallback (data=0x811ddd8, state=0) at gemwin.cpp:684
The intMess call is the method called by the "0" message.
_______________________________________________________________________ | Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC