[osg-users] osgViewer crashes at inserting string into stream inside Renderer::draw() (Win10, osg3.2.0, compiler vc10)

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Tue Mar 31 01:04:22 PDT 2020


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.

Kind regards,
Phil

> On 19/03/2020, at 3:13 AM, OpenSceneGraph Users <osg-users at lists.openscenegraph.org> wrote:
> 
> Hello everyone,
> 
> 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 
> 
>   DEBUG_MESSAGE<<"draw() got SceneView "<<sceneView<<std::endl; (screenshots of callstack are attached)
>  
> and triggerd an exception via a string of basic streambuf operations very deep down to msvcp100d.dll in dbgheap.c

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200331/a11b4283/attachment.html>


More information about the osg-users mailing list