On 6/13/2011 12:56 PM, Josue Hernandez wrote: > ok, i found something interesting: when i remove the line: > osg::ref_ptr<osg::GraphicsContext::Traits> traits = new > osg::GraphicsContext::Traits; > and all his refences, apears the next message > Unhandled exception at 0x7c812afb in VGM.exe: Microsoft C++ exception: > std::bad_alloc at memory location 0x0012fd24.. > in the line: > osg::ref_ptr<InputHandler> myIH = new InputHandler(); > i beginning to suspect that the problem is the ref_ptr, but i dont know how > to fix it
Like I said, there's a good chance you've damaged the memory allocation subsystem. ANY allocation you do once its damaged will fail. You need to debug, we cannot help you further. -- Chris 'Xenon' Hanson, omo sanza lettere. [email protected] http://www.alphapixel.com/ Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting. "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

