On 6/13/2011 12:36 PM, Josue Hernandez wrote: > this is the problem: when i run one osg solution the follow message appears: > Unhandled exception at 0x7c812afb in VGM.exe: Microsoft C++ exception: > std::bad_alloc at memory location 0x0012fce4.. > and mark this line: > osg::ref_ptr<osg::GraphicsContext::Traits> traits = new > osg::GraphicsContext::Traits; > What could be the problem?
Unless you're running out of memory, your main option is to trace into the code and see what's happening. Sometimes it's because you overran the end of a previous allocation and trashed the free memory heap. make sure you're running with maximum debugging enabled as this might be catch-able. > Thank you! > Cheers, > Josue -- 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

