Brad King wrote:

> On 09/13/2012 10:34 AM, Stephen Kelly wrote:
>> I'm getting errors that I can't investigate:
>> 
>> http://open.cdash.org/viewTest.php?onlydelta&buildid=2561961
>> 
>> I find it surprising that the windows builds segfault on this while the
>> linux ones dont. The code paths are not different.
> 
> The destructor of cmCompiledGeneratorExpression is deleting
> the evaluators before they get used again in later evals.
> Commenting out the "delete" line fixes the crash but probably
> leaks.  You need to work out the ownership semantics.
> 

Thanks. I'm too used to everything being implicitly shared :). Valgrind 
didn't show the problem, interestingly enough.

I've fixed it now I think.

Thanks,

Steve.
 

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to