Hi Robert,

osgwidget crashes in ref_ptr

> osg63-osgd.dll!osg::ref_ptr<osg::Array>::get()  Line 90 + 0x11 bytes C++
  osg63-osgd.dll!osg::Geometry::getVertexArray()  Line 139 + 0x1c bytes C++
  osg63-osgWidgetd.dll!osgWidget::Widget::_verts()  Line 404 + 0x19 bytes
C++
  osg63-osgWidgetd.dll!osgWidget::Widget::setDimensions(float x=0.00000000,
float y=0.00000000, float w=-1.0000000, float h=-1.0000000, float
z=-1.0000000)  Line 137 + 0x8 bytes C++
  osg63-osgWidgetd.dll!osgWidget::Widget::setOrigin(float x=0.00000000,
float y=0.00000000)  Line 194 C++
  osg63-osgWidgetd.dll!osgWidget::Box::_resizeImplementation(float
w=0.00000000, float h=0.00000000)  Line 130 C++
  osg63-osgWidgetd.dll!osgWidget::Window::resizeAdd(float
diffWidth=0.00000000, float diffHeight=0.00000000)  Line 265 + 0x20 bytes
C++
  osg63-osgWidgetd.dll!osgWidget::Window::resize(float width=0.00000000,
float height=0.00000000)  Line 249 C++
  osg63-osgWidgetd.dll!osgWidget::Window::_setWidget(osgWidget::Widget *
widget=0x02941fe8, int index=-1)  Line 489 C++
  osg63-osgWidgetd.dll!osgWidget::Window::addWidget(osgWidget::Widget *
widget=0x02941fe8)  Line 891 C++
  osg63-osgWidgetd.dll!osgWidget::WindowManager::WindowManager(osgViewer::View
* view=0x00dafe44, float width=1280.0000, float height=1024.0000, unsigned
int nodeMask=4026531840, unsigned int flags=8)  Line 74 + 0x30 bytes C++


down to

T* get() const { return _ptr; }

Windows7 platform, VS 2005

I ll try to nail it down why

-Nick
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to