<div dir="ltr"><div dir="ltr">Hi Vaillancourt<font color="#888888"><br></font></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 13 Mar 2020 at 09:00, OpenSceneGraph Users <<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</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">We've recently been having some intermittent crashes ("hangs"--Windows shuts down the process after a 2 seconds freeze in the graphics API) occurring in the nVidia's OpenGL dll. Google searches revealed that this can occur if we supply bad data to OpenGL. <br></div></blockquote><div><br></div><div>Do you see any OpenGL errors reported?  The OSG checks once per frame for errors.<br></div><div> </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"><br>Are there features in OSG to detect such incorrect data in our models? Concurrent vertices, bad normals, bad UVs, etc.--stuff that could be correct or incorrect if defaulted (the crash is intermittent)?<br></div></blockquote><div><br></div><div>There are places where values are checked but there isn't a specific class for general checking of validity of data, such errors are so open ended I don't think you have one validator to rule them all.<br></div><div dir="ltr"><br></div><div>One way of checking things is to convert the data to that ascii .osgt format using osgconv and then inspect the data to see if there are any oddities.  The files could be quite large so I'd suggest starting with small models that you know are causing problems and have a look at these first.</div><div><br></div><div>It would also be worth trying things out on a different OS, hardware, drivers etc, to see if there are any correlations.</div><div><br></div><div>In essence you need to try out different strategies to tease out the cause of the problem, once you understand the specifics of the problem you can start to craft a solution.<br></div><div><br></div><div>Robert.<br></div></div></div>