<?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/13270" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2021-09-05T19:11:00+00:00</updated>

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

		<entry>
		<author><name><![CDATA[satansfather]]></name></author>
		<updated>2021-09-05T19:11:00+00:00</updated>

		<published>2021-09-05T19:11:00+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43586#p43586</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43586#p43586"/>
		<title type="html"><![CDATA[BT_USE_DOUBLE_PRECISION segfault on linux]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43586#p43586"><![CDATA[
I'm defining BT_USE_DOUBLE_PRECISION in my CMakeLists.txt file, and everything works as expected on Windows, however I get a segfault on Linux:<br><br><div class="codebox"><p>Code: </p><pre><code>btCollisionWorld.cppvirtual bool process(const btBroadphaseProxy* proxy){///terminate further convex sweep tests, once the closestHitFraction reached zeroif (m_resultCallback.m_closestHitFraction == btScalar(0.f))return false;// this line is causing the crashbtCollisionObject* collisionObject = (btCollisionObject*)proxy-&gt;m_clientObject;......</code></pre></div>This happens when any type of collision test is called. I am currently just dragging and dropping the entire bullet source into my project. The problem is fixed when I compile without BT_USE_DOUBLE_PRECISION. I am compiling with clang (on Windows and Linux).<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14042">satansfather</a> — Sun Sep 05, 2021 7:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
