Hi Gerrit, > ok, I'm about to track down why the state sorter doesn't sort as > expected. > > For the error message could you just break into the > ShaderProgramChunk::deactivate and send me the callstack, > your OSGConfigured.h looks ok. As you only get the warning > for deactivate something is really strange.
The callstack is appended. Aloha, Andi > OSGSystemD.dll!OSG::ShaderProgramChunk::deactivate(OSG::DrawEnv * pEnv=0x04cc0268, unsigned int uiIdx=0) Line 203 C++ OSGSystemD.dll!OSG::DrawEnv::changeTo(OSG::State * pState=0x04db0fa8, OSG::StateOverride * pOverride=0x04eb4b30, OSG::State * pOld=0x04cc00c8, OSG::StateOverride * pOldOverride=0x10ee6920) Line 509 + 0x1a bytes C++ OSGSystemD.dll!OSG::DrawEnv::activateState(OSG::State * pNewState=0x04db0fa8, OSG::StateOverride * pNewStateOverride=0x04eb4b30) Line 355 C++ OSGSystemD.dll!OSG::TreeBuilderBase::drawNode(OSG::RenderTreeNode * pNode=0x1103d6a0, OSG::DrawEnv & denv={...}, OSG::RenderPartitionBase * part=0x04cc0230) Line 156 C++ OSGSystemD.dll!OSG::TreeBuilderBase::drawNode(OSG::RenderTreeNode * pNode=0x04d46728, OSG::DrawEnv & denv={...}, OSG::RenderPartitionBase * part=0x04cc0230) Line 166 C++ OSGSystemD.dll!OSG::TreeBuilderBase::drawNode(OSG::RenderTreeNode * pNode=0x04d46a20, OSG::DrawEnv & denv={...}, OSG::RenderPartitionBase * part=0x04cc0230) Line 166 C++ OSGSystemD.dll!OSG::TreeBuilderBase::drawNode(OSG::RenderTreeNode * pNode=0x04d465e0, OSG::DrawEnv & denv={...}, OSG::RenderPartitionBase * part=0x04cc0230) Line 166 C++ OSGSystemD.dll!OSG::TreeBuilderBase::drawNode(OSG::RenderTreeNode * pNode=0x04d46498, OSG::DrawEnv & denv={...}, OSG::RenderPartitionBase * part=0x04cc0230) Line 166 C++ OSGSystemD.dll!OSG::TreeBuilderBase::draw(OSG::DrawEnv & denv={...}, OSG::RenderPartitionBase * part=0x04cc0230) Line 102 C++ OSGSystemD.dll!OSG::RenderPartition::doExecution() Line 487 + 0x31 bytes C++ OSGSystemD.dll!OSG::RenderAction::drawBuffer(unsigned int buf=0) Line 852 C++ OSGSystemD.dll!OSG::RenderAction::stop(OSG::ActionBase::ResultE res=Continue) Line 776 C++ OSGSystemD.dll!OSG::Action::callStop(OSG::ActionBase::ResultE res=Continue) Line 513 + 0x13 bytes C++ OSGSystemD.dll!OSG::Action::apply(std::_Vector_iterator<OSG::Node *,std::allocator<OSG::Node *> > begin=0xfdfdfdfd {_sfVolume={...} _sfTravMask={...} _sfParent={...} ...}, std::_Vector_iterator<OSG::Node *,std::allocator<OSG::Node *> > end=0xfdfdfdfd {_sfVolume={...} _sfTravMask={...} _sfParent={...} ...}) Line 297 + 0xc bytes C++ OSGSystemD.dll!OSG::Action::apply(OSG::Node * const node=0x04d2a1b0) Line 314 + 0x43 bytes C++ OSGSystemD.dll!OSG::Viewport::render(OSG::RenderActionBase * action=0x04d07840) Line 367 + 0x18 bytes C++ OSGSystemD.dll!OSG::Window::doRenderAllViewports(OSG::RenderActionBase * action=0x04d07840) Line 2254 + 0x21 bytes C++ OSGSystemD.dll!OSG::Window::render(OSG::RenderActionBase * action=0x04d07840) Line 1943 + 0x16 bytes C++ OSGUtilD.dll!OSG::SimpleSceneManager::redraw() Line 842 + 0x2a bytes C++ BioSG.exe!CChildView::Render() Line 209 + 0x17 bytes C++ BioSG.exe!CChildView::OnDraw(CDC * pDC=0x0083f830) Line 164 C++ mfc90d.dll!CView::OnPaint() Line 185 C++ mfc90d.dll!CWnd::OnWndMsg(unsigned int message=15, unsigned int wParam=0, long lParam=0, long * pResult=0x0083fa00) Line 2042 C++ mfc90d.dll!CWnd::WindowProc(unsigned int message=15, unsigned int wParam=0, long lParam=0) Line 1755 + 0x20 bytes C++ mfc90d.dll!AfxCallWndProc(CWnd * pWnd=0x04cafc48, HWND__ * hWnd=0x00010d88, unsigned int nMsg=15, unsigned int wParam=0, long lParam=0) Line 240 + 0x1c bytes C++ mfc90d.dll!AfxWndProc(HWND__ * hWnd=0x00010d88, unsigned int nMsg=15, unsigned int wParam=0, long lParam=0) Line 403 C++ mfc90d.dll!AfxWndProcBase(HWND__ * hWnd=0x00010d88, unsigned int nMsg=15, unsigned int wParam=0, long lParam=0) Line 441 + 0x15 bytes C++ user32.dll!74ec6238() [Frames below may be incorrect and/or missing, no symbols loaded for user32.dll] user32.dll!74ec68ea() user32.dll!74ec6899() user32.dll!74ed0ab0() user32.dll!74ed0ad6() opengl32.dll!6a7e60fb() user32.dll!74ec6238() user32.dll!74ec7298() user32.dll!74ec6899() user32.dll!74ec7177() user32.dll!74ec72f1() ntdll.dll!772f00e6() user32.dll!74ed0e8f() user32.dll!74ed0ee5() user32.dll!74ec8112() mfc90d.dll!AfxInternalPumpMessage() Line 183 C++ mfc90d.dll!CWinThread::PumpMessage() Line 900 C++ mfc90d.dll!CWinThread::Run() Line 629 + 0xd bytes C++ mfc90d.dll!CWinApp::Run() Line 865 C++ mfc90d.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00290000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00b477ef, int nCmdShow=1) Line 47 + 0xd bytes C++ BioSG.exe!WinMain(HINSTANCE__ * hInstance=0x00290000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00b477ef, int nCmdShow=1) Line 34 C++ BioSG.exe!__tmainCRTStartup() Line 578 + 0x35 bytes C BioSG.exe!WinMainCRTStartup() Line 403 C kernel32.dll!761b3677() ntdll.dll!77319d72() ntdll.dll!77319d45() ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users