[osg-users] [Crash issue] no error info even set "OSG_NOTIFY_LEVEL" to "DEBUG'

Robert Osfield robert.osfield at gmail.com
Sun Jul 29 07:32:47 PDT 2018


Hi Jinh,

osg::Notify has no relation to the stack traces, it's simply debug
output to help track what is being done by the OSG, it may sometime
pick out an issue that eventually causes a crash, but it's really
nothing more as info system.

As to the cause of the crash, there is no way for use to know at this
point - you are the only one with your particular combination of OS,
hardware, OSG version+build, application and data.  The best we can do
is provide general suggestions about how to debug C++/graphics
applications.  It'll be easier for us to comment if you give us more
info.

Robert.
On Sun, 29 Jul 2018 at 14:29, Jinh Tang <peter.wang1013 at gmail.com> wrote:
>
> Hi all,
>
> I always got below exception:
>
> STACK_TEXT:
> 000000c6`12daa100 00007ffc`b1ebe742 : 000001d7`8df23f70 00000000`00000000 000001d7`bf338d20 00000000`00000001 : osg156_osgrd!osg::DrawArrays::set+0xdb52e
> 000000c6`12daa130 00007ff7`4e3b7dd5 : 000001d7`8df23f70 00007ffc`b1de657c ffffffff`fffffffe 000001d7`d764e650 : osg156_osgrd!osg::DrawArrays::set+0x1eda5f
> 000000c6`12daa170 00007ffc`b1ee2ae0 : 00000000`00000001 000001d7`9edadba0 00000000`00000001 00000000`00000000 : 3ds!osg::DrawElementsUInt::`scalar deleting destructor'+0x15
> 000000c6`12daa1a0 00007ffc`b1dfffd6 : 000001d7`9b5ba590 000001d7`9b5ba598 000001d7`f72fc6f0 00000000`00000000 : osg156_osgrd!osg::DrawArrays::set+0x211dfd
> 000000c6`12daa1d0 00007ffc`b1dfe352 : 000001d7`bf708a70 000001d7`fd3f2408 000001d7`fd3f22b0 00000000`00000001 : osg156_osgrd!osg::DrawArrays::set+0x12f2f3
> 000000c6`12daa200 00007ff7`4e3b7e05 : 000001d7`fd3f22b0 00000000`00000001 00000000`00000001 00007ff7`00000007 : osg156_osgrd!osg::DrawArrays::set+0x12d66f
> 000000c6`12daa240 00007ffc`b1ee2ae0 : 00000000`00000001 00007ffd`08f36a57 000001d7`bf708a70 00007ffc`b1dd8326 : 3ds!osg::Geometry::`scalar deleting destructor'+0x15
> 000000c6`12daa270 00007ffc`b1cfdd8c : 00000000`00000000 000001d7`c916df40 00000000`00000000 00007ffc`00000000 : osg156_osgrd!osg::DrawArrays::set+0x211dfd
> 000000c6`12daa2a0 00007ffc`afa7d33a : 000001d7`89d9ce68 000001d7`bf708a70 000001d7`bf708a70 00000000`00000000 : osg156_osgrd!osg::DrawArrays::set+0x2d0a9
> 000000c6`12daa2d0 00007ffc`afbc8921 : 000001d7`c2a0e370 000001d7`f72fc960 000001d7`bf708a70 000001d7`bf7771d0 : osg156_osgUtilrd!osgUtil::RenderStage::getColorMask+0x3194a
> 000000c6`12daa300 00007ffc`afbc83d6 : 000001d7`f72fc6f0 000001d7`bf69f430 000000c6`12daa480 000001d7`bf7771d0 : osg156_osgUtilrd!osgUtil::RenderStage::getColorMask+0x17cf31
> 000000c6`12daa380 00007ffc`cf184518 : 00000000`00000000 000001d7`bf69f430 000001d7`bf7771d0 00000000`00000000 : osg156_osgUtilrd!osgUtil::RenderStage::getColorMask+0x17c9e6
> 000000c6`12daa520 00007ffc`b1e2ee69 : 000001d7`9b5bca20 000001d7`9b5bca20 00000000`00000000 000001d7`9b5bca90 : osg156_osgViewerrd!osgViewer::GraphicsWindow::isRealizedImplementation+0x4b665
> 000000c6`12daa5c0 00007ffc`cf1bf54d : 000000c6`12daa5f8 000001d7`9b5bca20 000000c6`12daa730 00000000`00000000 : osg156_osgrd!osg::DrawArrays::set+0x15e186
> 000000c6`12daa630 00007ffc`cf1be423 : 203a7365`67616d49 000001d7`bf6b9400 00000000`00000a00 00000000`00000551 : osg156_osgViewerrd!osgViewer::GraphicsWindow::isRealizedImplementation+0x8669a
> 000000c6`12daa9c0 00007ff7`4e3c7abe : 000001d7`bf32a5d0 000001d7`bf32a5d0 00000000`00000a00 00000000`00000551 : osg156_osgViewerrd!osgViewer::GraphicsWindow::isRealizedImplementation+0x85570
> 000000c6`12daaa00 00000000`68e476b3 : 00000000`0488afb9 00000000`00000a00 000001d7`bf2fd1b0 00000000`68e47f8e : ::OSGMeshRender::paintGL+0x7e
>
>
> But I already set "OSG_NOTIFY_LEVEL" to "DEBUG' and can get OSG to debug printing in qt creator. no idea why no any useful output when the crash happened.
>
>
> any suggestion is appreciated.
>
>
> ...
>
> Thank you!
>
> Cheers,
> Jinh
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=74414#74414
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


More information about the osg-users mailing list