<div dir="ltr">My experience mirrored Clint's. Our version of CMake on the farm was at 2.8.12, but locally developers were at differing versions. What made matters worse is that it is a lot harder to diagnose problems from farm built binaries, so it wasn't until one of the 4 developers looking into this problem was able to get a local debug build were we able to figure out it was a stack problem. At that point, I happened to remember that CMake modified the default stack size, and with a bit of investigation realized the flag was missing on newer versions. Basically I wasn't expecting CMake versions to be a contributing factor, so it was one of the last things I looked at.<div>
<br></div><div>James</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 25, 2013 at 1:11 PM, Clinton Stimpson <span dir="ltr"><<a href="mailto:clinton@elemtech.com" target="_blank">clinton@elemtech.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Friday, October 25, 2013 02:52:45 PM David Cole wrote:<br>
> > Hmmm... Well that was a not backward compatible way of doing it.<br>
><br>
> This behavior has existed for a long long time.<br>
><br>
> Sorry for the extra effort you had to expend tracking down a mysterious<br>
> problem because of this change. I remember having some discussions<br>
> (probably just verbal, though, I can't find anything in email or bug<br>
> tracker) about whether this "simple change" should have a policy, and<br>
> we decided not to because we thought "out of stack space" errors would<br>
> be relatively easy to identify and correct in projects that require<br>
> large stack space.<br>
><br>
> Out of curiosity, if you can share details, why did it take so long to<br>
> identify the problem in your case? (Or was it immediately obvious, and<br>
> you just took that long to trace it back to a CMake change....?)<br>
><br>
<br>
</div></div>If you were curious...<br>
<br>
We also ran into this problem with an application. The error dialog that<br>
comes up on Windows specifically says stack overflow (at least with a debug<br>
build).<br>
<br>
So for us, it was easy to know that it was a stack overflow problem, but it<br>
wasn't clear why one developer had it and the others didn't, until we traced<br>
it back to the cmake version.<br>
<br>
Clint<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>