<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I have seen this issue in the past when linking libraries built in debug mode with an app in release mode, or vice-versa, so that is the first thing to check. Since the assertion is in the debug C++ runtime (with the “d” suffix”) your app must also be built in debug mode with the same runtime.<div class=""><br class=""></div><div class="">Kind regards,</div><div class="">Phil<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 19/03/2020, at 3:13 AM, OpenSceneGraph Users <<a href="mailto:osg-users@lists.openscenegraph.org" class="">osg-users@lists.openscenegraph.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello everyone,<div class=""><br class=""></div><div class="">recently I encountered a sporadic crash in my App at same position upon calling function Renderer::draw() in osgViewer/Renderer.cpp. The crash happend at </div><div class=""><br class=""></div><div class=""><i class="">  <font size="2" class="">DEBUG_MESSAGE<<"draw() got SceneView "<<sceneView<<std::endl;</font> </i>(screenshots of callstack are attached)</div><div class=""> </div><div class="">and triggerd an exception via a string of basic streambuf operations very deep down to msvcp100d.dll in dbgheap.c</div></div></div></blockquote></div><br class=""></div></body></html>