<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/549" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2006-09-23T15:34:33+00:00</updated>

	<author><name><![CDATA[Real-Time Physics Simulation Forum]]></name></author>
	<id>https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/549</id>

		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-09-23T15:34:33+00:00</updated>

		<published>2006-09-23T15:34:33+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1887#p1887</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1887#p1887"/>
		<title type="html"><![CDATA[It still fails in ~CcdPhysicsController]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1887#p1887"><![CDATA[
thanks for pointing it out.<br><br>There is a todo, about memory management and reference counting, I will include this too.<br><br>See <a href="http://www.continuousphysics.com/mediawiki-1.5.8/index.php?title=BulletTodo" class="postlink">http://www.continuousphysics.com/mediaw ... BulletTodo</a><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Sat Sep 23, 2006 3:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jack]]></name></author>
		<updated>2006-09-23T10:04:57+00:00</updated>

		<published>2006-09-23T10:04:57+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1875#p1875</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1875#p1875"/>
		<title type="html"><![CDATA[It still fails in ~CcdPhysicsController]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1875#p1875"><![CDATA[
Ver. 2.0f<br><br>It fails at:<br>delete m_MotionState;<br>in CcdPhysicsController::~CcdPhysicsController()<br><br>Library trys to delete something that it does not create.<br><br>Imagine the situation:<br><br>class ATOM : public PHY_IMotionState<br>{<br>CcdPhysicsController*_pPhyCtrl;<br>}<br><br>Destructor of class ATOM executes delete _pPhyCtrl. Destructor of _pPhyCtrl executes delete m_MotionState (that is destructor of ATOM). We are entering into dead loop: ~ATOM calls ~CcdPhysicsController, ~CcdPhysicsController calls ~ATOM. <br>I think library should not delete objects that it does not create.<br><br>P.S. DirectX testbed is not working so far <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad">:(:(:(:(<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=772">Jack</a> — Sat Sep 23, 2006 10:04 am</p><hr />
]]></content>
	</entry>
	</feed>
