|
Boost : |
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-12-18 12:57:31
Thomas Thorp <tthorp <at> ingersoll.com> writes:
>
> In trying to track down a memory leak with my code (using Deleaker, VS2005,
> Windows XP, boost 1.34.1 from boost consulting), I'm getting the folowing
> message as being the source of a memory leak. This partiular list, shows
> the line where the memory was allocated. My question is, is this a valid
> error, or one I should just ignore?
>
> Thanks in advance
>
> Tom
>
> ---------------------------------------
>
> ING_PostProcessorParsePFDataTesting.exe!_heap_alloc_base Line 105
> (f:\sp\vctools\crt_bld\self_x86\crt\src\malloc.c)
Did you send an issue report to Microsoft as well?
> ING_PostProcessorParsePFDataTesting.exe!boost::unit_test::output::compiler_l
> og_formatter::log_start Line 49 (c:\documents and
> settings\daniel\desktop\boost_1_34_1\boost_1_34_1\boost\test\impl\compiler_l
> og_formatter.ipp)
[...]
I don't think these are valid. One above for example if trivial function:
void
compiler_log_formatter::log_start( std::ostream& output, counter_t
test_cases_amount )
{
if( test_cases_amount > 0 )
output << "Running " << test_cases_amount << " test "
<< (test_cases_amount > 1 ? "cases" : "case") << "...\n";
}
Boost.Test trcks memory itself with MS runtime. I would report one if it
existed.
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk