Hi David, All sorted thanks, stupid VS2008.
Deleted my build and rechecked out from SVN/Cmake and it works great.... I will get on with some more tests... Cheers Martin From: [email protected] [mailto:[email protected]] On Behalf Of David Callu Sent: 03 April 2012 01:53 To: OpenSceneGraph Users Subject: Re: [osg-users] problem with svn (atomic counter?) Hi Martin I use VS 2010, Windows 7 64 bit, Nvidia 460M, Driver 296.10, osg 3.1.2 build in 32 bit and osggeometryshader work fine. As I am a little bit paranoiac with the crappy VS developpement tools : Have you restart Windows and/or VS after NVidia driver update ? Have you rebuild OSG since your last SVN update or just do a 'build' ? Are you sure to use good osg dll ? HTH David Callu 2012/4/2 Martin Naylor <[email protected]> Hello all, I have been just doing some testing of OSG (latest from the SVN). Whilst executing osggeomertyshaders I am getting a crash: CALL STACK: msvcp90d.dll!std::_Debug_message(const wchar_t * message=0x000007fee9bb9b68, const wchar_t * file=0x000007fee9bb9bb0, unsigned int line=779) Line 24 C++ osg92-osgd.dll!std::vector<int,std::allocator<int> >::operator[](unsigned __int64 _Pos=0) Line 780 C++ > osg92-osgd.dll!osg::Program::PerContextProgram::linkProgram(osg::State & state={...}) Line 784 + 0xf bytes C++ osg92-osgd.dll!osg::Program::compileGLObjects(osg::State & state={...}) Line 233 C++ osg92-osgd.dll!osg::StateSet::compileGLObjects(osg::State & state={...}) Line 1335 C++ osg92-osgUtild.dll!osgUtil::GLObjectsVisitor::apply(osg::StateSet & stateset={...}) Line 114 C++ LOCALS: + end (3452816845,<Bad Ptr>) std::_Tree<std::_Tmap_traits<unsigned int,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,std::basic_string<char,std::char_traits<char>,std::allocator<char> > > >,0> >::iterator + it (3452816845,<Bad Ptr>) std::_Tree<std::_Tmap_traits<unsigned int,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,std::basic_string<char,std::char_traits<char>,std::allocator<char> > > >,0> >::iterator bufferIndex [0]() std::vector<int,std::allocator<int> > bufferIndexToUniformIndices [14757395258967641292]() std::map<int,std::vector<int,std::allocator<int> >,std::less<int>,std::allocator<std::pair<int const ,std::vector<int,std::allocator<int> > > > > activeAtomicCounterBuffers 3435973836 unsigned int uniformIndex [0]() std::vector<unsigned int,std::allocator<unsigned int> > + this 0x0000000002838be0 {_program=0x00000000027f8540 _extensions={...} _glProgramHandle=4 ...} osg::Program::PerContextProgram * const Sorry for the garbage! I am using Windows VS 2008 as my compliler :) Unfortunately I have updated my Nvidia drivers to the latest a few days ago so I am unsure if it's a driver or the later openGL4.2 stuff that has been introduced in OSG just recently having review the logs of program.cpp ? Regards Martin Naylor _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

