Thank you, Mauricio! I'll consider removing or hiding nodes one at a time, 
but because there are just so many I'm afraid it won't be practical.

I don't know about the OpenGL context being current, but I will learn about 
this. Thanks for the suggestion!

On Saturday, May 23, 2020 at 1:30:34 AM UTC-5, Mauricio Franco wrote:
>
> remove or hide some nodes (setting nodemask to 0) from your scenegraph 
> until you find the one causing the issue.
>
> Use a StateSetHandler to turn on or off rendering features.
>
> Make sure the opengl context is current every time you update/render the 
> scene graph.
>
> Capture osg logging.
>
> Looks like it happens during the rendering of a VBO in a osg::Geometry.
>
> Sent from my iPhone
>
> On May 22, 2020, at 10:59 PM, Brett Gossage <[email protected] 
> <javascript:>> wrote:
>
> 
> Build in debug mode.  Run it under valgrind:   valgrind  <your app>  arg1 
> arg2 ...
>
> Go through the steps necessary to duplicate the error.
>
> You'll get a call stack output to the console with the origin of the 
> error. (hopefully)
>
> Good luck.
>
>
>
>
>
>
> On Fri, May 22, 2020 at 4:53 PM Erik Hensens <[email protected] 
> <javascript:>> wrote:
>
>> Hello! I am totally at a loss and I hope someone can help me. I've got a 
>> Gtk application running on Ubuntu that uses osgGtk to display the scene. 
>> The crash does not happen every time I do the same operation, only 
>> sometimes. As you can see, the crash is in libosg. I guess that I'm doing 
>> something wrong in an Osg call somewhere and the crash is just happening 
>> asynchronously? Either way I have absolutely no idea how to approach fixing 
>> this crash. Please help me! Here's a typical backtrace. Does anyone have 
>> any ideas? Thank you all so much in advance!
>>
>> - Erik
>>
>> #0  0x00007fffd2e90eea in ?? () from 
>> /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
>> #1  0x00007fffd2d2f5e0 in ?? () from 
>> /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
>> #2  0x00007fffd2e9ddb0 in ?? () from 
>> /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
>> #3  0x00007ffff55af488 in 
>> osg::Geometry::drawImplementation(osg::RenderInfo&) const () from 
>> /usr/lib/x86_64-linux-gnu/libosg.so.100
>> #4  0x00007ffff47d1380 in osgUtil::RenderLeaf::render(osg::RenderInfo&, 
>> osgUtil::RenderLeaf*) () from /usr/lib/x86_64-linux-gnu/libosgUtil.so.100
>> #5  0x00007ffff47cb695 in 
>> osgUtil::RenderBin::drawImplementation(osg::RenderInfo&, 
>> osgUtil::RenderLeaf*&) () from /usr/lib/x86_64-linux-gnu/libosgUtil.so.100
>> #6  0x00007ffff47cb6d4 in 
>> osgUtil::RenderBin::drawImplementation(osg::RenderInfo&, 
>> osgUtil::RenderLeaf*&) () from /usr/lib/x86_64-linux-gnu/libosgUtil.so.100
>> #7  0x00007ffff47d6ed7 in 
>> osgUtil::RenderStage::drawImplementation(osg::RenderInfo&, 
>> osgUtil::RenderLeaf*&) () from /usr/lib/x86_64-linux-gnu/libosgUtil.so.100
>> #8  0x00007ffff47d5cd2 in 
>> osgUtil::RenderStage::drawInner(osg::RenderInfo&, osgUtil::RenderLeaf*&, 
>> bool&) () from /usr/lib/x86_64-linux-gnu/libosgUtil.so.100
>> #9  0x00007ffff47d7c7f in osgUtil::RenderStage::draw(osg::RenderInfo&, 
>> osgUtil::RenderLeaf*&) () from /usr/lib/x86_64-linux-gnu/libosgUtil.so.100
>> #10 0x00007ffff47dfdb7 in osgUtil::SceneView::draw() () from 
>> /usr/lib/x86_64-linux-gnu/libosgUtil.so.100
>> #11 0x00007ffff443545f in osgViewer::Renderer::cull_draw() () from 
>> /usr/lib/x86_64-linux-gnu/libosgViewer.so.100
>> #12 0x00007ffff55cfd49 in osg::GraphicsContext::runOperations() () from 
>> /usr/lib/x86_64-linux-gnu/libosg.so.100
>> #13 0x00007ffff446c6c4 in osgViewer::ViewerBase::renderingTraversals() () 
>> from /usr/lib/x86_64-linux-gnu/libosgViewer.so.100
>> #14 0x0000000000a7c73e in 
>> osgViewer::ViewerGtk::on_graphics_window_expose_event (widget=0x31134b0, 
>> event=0x7fffffffdf10, data=0x456ba50) at Main3D/osgGtk/ViewerGtk.cpp:220
>> #15 0x00007ffff78beaec in ?? () from 
>> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
>> #16 0x00007ffff6904fa5 in g_closure_invoke () from 
>> /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
>> #17 0x00007ffff6916fc1 in ?? () from 
>> /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
>> #18 0x00007ffff691f7f9 in g_signal_emit_valist () from 
>> /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
>> #19 0x00007ffff692008f in g_signal_emit () from 
>> /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
>> #20 0x00007ffff79d693c in ?? () from 
>> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
>> #21 0x00007ffff78bd7dd in gtk_main_do_event () from 
>> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
>> #22 0x00007ffff7518b9f in ?? () from 
>> /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
>> #23 0x00007ffff7515671 in ?? () from 
>> /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
>> #24 0x00007ffff7515fa8 in gdk_window_process_all_updates () from 
>> /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
>> #25 0x00007ffff7842971 in ?? () from 
>> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
>> #26 0x00007ffff74f4d57 in ?? () from 
>> /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
>> #27 0x00007ffff662e04a in g_main_context_dispatch () from 
>> /lib/x86_64-linux-gnu/libglib-2.0.so.0
>> #28 0x00007ffff662e3f0 in ?? () from 
>> /lib/x86_64-linux-gnu/libglib-2.0.so.0
>> #29 0x00007ffff662e712 in g_main_loop_run () from 
>> /lib/x86_64-linux-gnu/libglib-2.0.so.0
>> #30 0x00007ffff78bc697 in gtk_main () from 
>> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
>> #31 0x000000000130f9a6 in main (argc=1, argv=0x7fffffffe398) at 
>> Main/main.cpp:3889
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "OpenSceneGraph Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/osg-users/eab20cdb-8864-4eca-94c6-6e74dc6601cd%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/osg-users/eab20cdb-8864-4eca-94c6-6e74dc6601cd%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "OpenSceneGraph Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/osg-users/CADt6fWXbMz5oKeE0Z37Md8nGzPL-k642oWSmwRL07LSTg2hfYg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/osg-users/CADt6fWXbMz5oKeE0Z37Md8nGzPL-k642oWSmwRL07LSTg2hfYg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/883d9152-4b42-4b83-a842-8fd8bd51df0d%40googlegroups.com.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to