[ODE] Unhandled exception - access violation
Harley Blumenfeld
harleybl at hotmail.com
Wed Nov 27 08:51:02 2002
<html><div style='background-color:'><DIV>
<P><BR>Yes I am using an unaltered version of test_buggy.cpp. I just recopied it from test to make sure. </P>
<P>Yes the error is happening within dGeomDestroy( box[ 0 ] ); </P>
<P>Here is what the stack looks like when it happens ( from MSVC Context: bar )</P>
<P>MYBUGGY! dxGeom::bodyRemove( void )</P>
<P>MYBUGGY! dxGeom::~dxGeom( void )</P>
<P>MYBUGGY! dxBox::~dxBox( void )</P>
<P>MYBUGGY! dxBox: `vector deleting destructor'(unsigned int )</P>
<P>MYBUGGY! dxGeomDestroy</P>
<P>I tried the solution of moving the dGeomDestroy code to the first line after dsSimulationLoop and that seemed to work... is there a specific ordering in which things should be deleted?</P>
<P>-Harley Blumenfeld</P>
<P> </P>
<P> </P>
<P><BR> </P></DIV>
<DIV></DIV>>From: Russ Smith <RUSS@Q12.ORG>
<DIV></DIV>>To: "Harley Blumenfeld" <HARLEYBL@HOTMAIL.COM>
<DIV></DIV>>CC: ode@q12.org
<DIV></DIV>>Subject: Re: [ODE] Unhandled exception - access violation
<DIV></DIV>>Date: Tue, 26 Nov 2002 19:00:26 -0500
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>> > It seems to be happening when the box is destroyed in the line
<DIV></DIV>> > dGeomDestroy( box[0] );
<DIV></DIV>>
<DIV></DIV>>is the error happening within dGeomDestroy() or within main(). are you
<DIV></DIV>>using an unaltered copy of test_buggy?
<DIV></DIV>>
<DIV></DIV>>russ.
<DIV></DIV>>
<DIV></DIV>>--
<DIV></DIV>>Russell Smith
<DIV></DIV>>http://www.q12.org
<DIV></DIV></div><br clear=all><hr>Protect your PC - <a href="http://g.msn.com/8HMAEN/2024">Click here</a> for McAfee.com VirusScan Online </html>