On 10/9/07, <b class="gmail_sendername">Serge Lages</b> <<a href="mailto:firstname.lastname@example.org">email@example.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br><br>I am having a problem with my application, it crashs on exit (WinXP, VS8 SP1, SVN head version).<br>To make it crash I have added this line : <br><br>osg::DisplaySettings::instance()->setCompileContextsHint(true);
<br><br>It allows me to make sure my GLObjects are compiled using a PBuffer when available with the DatabasePager. Another important thing is that I set my application as SingleThreaded.<br>The error I am getting is the following (on exiting the application) :
<br><br>R6025<br>- pure virtual function call<br><br>It happens when calling releaseContextImplementation(); (in GraphicsContext.cpp line 527)<br>I don't understand the problem because both GraphicsWindowWin32 and PixelBufferWin32 implements this method.
<br><br></blockquote></div><br>An important thing to note is also that the crash happens only if the PBuffer has been succesfully created (I have tested with an NVIDIA Quadro card). With an Intel card the PBufer can't be created and there is no crash on the application exit.
<br><br>It makes me think that it's a problem with the PixelBuffer implementation but the releaseContextImplementation method is not a pure virtual one.<br clear="all"><br>-- <br>Serge Lages<br><a href="http://www.magrathea-engine.org">