<div dir="ltr"><div>Build in debug mode. Run it under valgrind: valgrind <your app> arg1 arg2 ...</div><div><br></div><div>Go through the steps necessary to duplicate the error.<br></div><div><br></div><div>You'll get a call stack output to the console with the origin of the error. (hopefully)<br></div><div><br></div><div>Good luck.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 22, 2020 at 4:53 PM Erik Hensens <<a href="mailto:hensens@gmail.com">hensens@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">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!<div><br></div><div>- Erik<br><div><br></div><div><div style="background-color:rgb(250,250,250);border-color:rgb(187,187,187);border-style:solid;border-width:1px"><code><div><span style="color:rgb(0,0,0)"><div>#0 0x00007fffd2e90eea in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so</div><div>#1 0x00007fffd2d2f5e0 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so</div><div>#2 0x00007fffd2e9ddb0 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so</div><div>#3 0x00007ffff55af488 in osg::Geometry::drawImplementation(osg::RenderInfo&) const () from /usr/lib/x86_64-linux-gnu/libosg.so.100</div><div>#4 0x00007ffff47d1380 in osgUtil::RenderLeaf::render(osg::RenderInfo&, osgUtil::RenderLeaf*) () from /usr/lib/x86_64-linux-gnu/libosgUtil.so.100</div><div>#5 0x00007ffff47cb695 in osgUtil::RenderBin::drawImplementation(osg::RenderInfo&, osgUtil::RenderLeaf*&) () from /usr/lib/x86_64-linux-gnu/libosgUtil.so.100</div><div>#6 0x00007ffff47cb6d4 in osgUtil::RenderBin::drawImplementation(osg::RenderInfo&, osgUtil::RenderLeaf*&) () from /usr/lib/x86_64-linux-gnu/libosgUtil.so.100</div><div>#7 0x00007ffff47d6ed7 in osgUtil::RenderStage::drawImplementation(osg::RenderInfo&, osgUtil::RenderLeaf*&) () from /usr/lib/x86_64-linux-gnu/libosgUtil.so.100</div><div>#8 0x00007ffff47d5cd2 in osgUtil::RenderStage::drawInner(osg::RenderInfo&, osgUtil::RenderLeaf*&, bool&) () from /usr/lib/x86_64-linux-gnu/libosgUtil.so.100</div><div>#9 0x00007ffff47d7c7f in osgUtil::RenderStage::draw(osg::RenderInfo&, osgUtil::RenderLeaf*&) () from /usr/lib/x86_64-linux-gnu/libosgUtil.so.100</div><div>#10 0x00007ffff47dfdb7 in osgUtil::SceneView::draw() () from /usr/lib/x86_64-linux-gnu/libosgUtil.so.100</div><div>#11 0x00007ffff443545f in osgViewer::Renderer::cull_draw() () from /usr/lib/x86_64-linux-gnu/libosgViewer.so.100</div><div>#12 0x00007ffff55cfd49 in osg::GraphicsContext::runOperations() () from /usr/lib/x86_64-linux-gnu/libosg.so.100</div><div>#13 0x00007ffff446c6c4 in osgViewer::ViewerBase::renderingTraversals() () from /usr/lib/x86_64-linux-gnu/libosgViewer.so.100</div><div>#14 0x0000000000a7c73e in osgViewer::ViewerGtk::on_graphics_window_expose_event (widget=0x31134b0, event=0x7fffffffdf10, data=0x456ba50) at Main3D/osgGtk/ViewerGtk.cpp:220</div><div>#15 0x00007ffff78beaec in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0</div><div>#16 0x00007ffff6904fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0</div><div>#17 0x00007ffff6916fc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0</div><div>#18 0x00007ffff691f7f9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0</div><div>#19 0x00007ffff692008f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0</div><div>#20 0x00007ffff79d693c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0</div><div>#21 0x00007ffff78bd7dd in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0</div><div>#22 0x00007ffff7518b9f in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0</div><div>#23 0x00007ffff7515671 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0</div><div>#24 0x00007ffff7515fa8 in gdk_window_process_all_updates () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0</div><div>#25 0x00007ffff7842971 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0</div><div>#26 0x00007ffff74f4d57 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0</div><div>#27 0x00007ffff662e04a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0</div><div>#28 0x00007ffff662e3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0</div><div>#29 0x00007ffff662e712 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0</div><div>#30 0x00007ffff78bc697 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0</div><div>#31 0x000000000130f9a6 in main (argc=1, argv=0x7fffffffe398) at Main/main.cpp:3889</div><div><br></div></span></div></code></div><br><br></div></div></div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com" target="_blank">osg-users+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/eab20cdb-8864-4eca-94c6-6e74dc6601cd%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/osg-users/eab20cdb-8864-4eca-94c6-6e74dc6601cd%40googlegroups.com</a>.<br>
</blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/CADt6fWXbMz5oKeE0Z37Md8nGzPL-k642oWSmwRL07LSTg2hfYg%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/CADt6fWXbMz5oKeE0Z37Md8nGzPL-k642oWSmwRL07LSTg2hfYg%40mail.gmail.com</a>.<br />