<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/1.5.1-alpha" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: C++ Core Dump Most Puzzling.</title>
	<link>http://tottinge.blogsome.com/2007/06/01/c-core-dump-most-puzzling/</link>
	<description>Tim Ottinger on Christianity, freedom, software, podcasts, and really hot-looking guitars.</description>
	<pubDate>Thu, 15 May 2008 16:58:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.1-alpha</generator>

	<item>
		<title>by: Tim</title>
		<link>http://tottinge.blogsome.com/2007/06/01/c-core-dump-most-puzzling/#comment-541</link>
		<pubDate>Fri, 01 Jun 2007 21:25:51 +0100</pubDate>
		<guid>http://tottinge.blogsome.com/2007/06/01/c-core-dump-most-puzzling/#comment-541</guid>
					<description>Thanks for the tips, Jeff.  

I didn't find a multiple-def, and we had done clean builds, and we don't use any precompiled headers for this project though I have considered it.  It is so slow, anything would be an improvement (including getting off of net mounts for our builds).  

If we can get this thing under test, there is a lot of refactoring on the way.

</description>
		<content:encoded><![CDATA[	<p>Thanks for the tips, Jeff.  </p>
	<p>I didn&#8217;t find a multiple-def, and we had done clean builds, and we don&#8217;t use any precompiled headers for this project though I have considered it.  It is so slow, anything would be an improvement (including getting off of net mounts for our builds).  </p>
	<p>If we can get this thing under test, there is a lot of refactoring on the way.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jeff Licquia</title>
		<link>http://tottinge.blogsome.com/2007/06/01/c-core-dump-most-puzzling/#comment-540</link>
		<pubDate>Fri, 01 Jun 2007 19:32:26 +0100</pubDate>
		<guid>http://tottinge.blogsome.com/2007/06/01/c-core-dump-most-puzzling/#comment-540</guid>
					<description>Here are some idle thoughts.  Sorry if these have a &quot;are you sure it's plugged in?&quot; vibe.

Precompiled headers are more of a Windows thing, but they can be done with gcc.  That used to always be the first thing I'd kill when I ran into something like this.  Check to make sure your project isn't insisting on precompiled headers.

Don't assume that the deps are quite right in the build system.  Try completely cleaning the build tree, and rebuilding from scratch, after adding the &quot;virtual&quot; keyword.  I would certainly expect to see segfaults if a stray .o didn't get rebuilt after changing the virtuality of a class.  (Though I probably would have expected a build failure, first; isn't virtual status represented in the mangled name?)

Grep for CrazyClass.  I've seen it before where a class was defined twice, in two different headers, with the usual fun and games if the two definitions get out of sync with each other or the implementation.
</description>
		<content:encoded><![CDATA[	<p>Here are some idle thoughts.  Sorry if these have a &#8220;are you sure it&#8217;s plugged in?&#8221; vibe.</p>
	<p>Precompiled headers are more of a Windows thing, but they can be done with gcc.  That used to always be the first thing I&#8217;d kill when I ran into something like this.  Check to make sure your project isn&#8217;t insisting on precompiled headers.</p>
	<p>Don&#8217;t assume that the deps are quite right in the build system.  Try completely cleaning the build tree, and rebuilding from scratch, after adding the &#8220;virtual&#8221; keyword.  I would certainly expect to see segfaults if a stray .o didn&#8217;t get rebuilt after changing the virtuality of a class.  (Though I probably would have expected a build failure, first; isn&#8217;t virtual status represented in the mangled name?)</p>
	<p>Grep for CrazyClass.  I&#8217;ve seen it before where a class was defined twice, in two different headers, with the usual fun and games if the two definitions get out of sync with each other or the implementation.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
