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 <martinnay...@virginmedia.com>

> 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
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to