Boost C++ Libraries: Ticket #11209: conversion - cast_test leaks memory https://svn.boost.org/trac10/ticket/11209 <p> The leak is in the test, it doesn't delete what it allocates. </p> <p> ==16678==ERROR: <a class="missing wiki">LeakSanitizer</a>: detected memory leaks </p> <p> Direct leak of 16 byte(s) in 1 object(s) allocated from: </p> <blockquote> <p> <a class="missing ticket">#0</a> 0x4c3d6b in operator new(unsigned long) /home/ben/development/llvm/trunk/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62:35 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1" title="#1: Bugs: boost.build causes ftjam to segfault (closed: Wont Fix)">#1</a> 0x4c4c9e in main /home/ben/development/boost/test/build/boost_root/status/../libs/conversion/test/cast_test.cpp:54:22 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2" title="#2: Bugs: list::size should be const (closed: fixed)">#2</a> 0x7efd17fa6a3f in <span class="underline">libc_start_main /build/buildd/glibc-2.21/csu/libc-start.c:289 </span></p> </blockquote> <p> Direct leak of 8 byte(s) in 1 object(s) allocated from: </p> <blockquote> <p> <a class="missing ticket">#0</a> 0x4c3d6b in operator new(unsigned long) /home/ben/development/llvm/trunk/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62:35 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1" title="#1: Bugs: boost.build causes ftjam to segfault (closed: Wont Fix)">#1</a> 0x4c4f39 in main /home/ben/development/boost/test/build/boost_root/status/../libs/conversion/test/cast_test.cpp:69:12 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2" title="#2: Bugs: list::size should be const (closed: fixed)">#2</a> 0x7efd17fa6a3f in <span class="underline">libc_start_main /build/buildd/glibc-2.21/csu/libc-start.c:289 </span></p> </blockquote> <p> SUMMARY: <a class="missing wiki">AddressSanitizer</a>: 24 byte(s) leaked in 2 allocation(s). </p> <p> EXIT STATUS: 23 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11209 Trac 1.4.3 viboes Tue, 28 Apr 2015 14:57:50 GMT component changed; owner set https://svn.boost.org/trac10/ticket/11209#comment:1 https://svn.boost.org/trac10/ticket/11209#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Antony Polukhin</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">lexical_cast</span> </li> </ul> Ticket Antony Polukhin Fri, 25 Sep 2015 17:01:20 GMT status, component, milestone changed https://svn.boost.org/trac10/ticket/11209#comment:2 https://svn.boost.org/trac10/ticket/11209#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>component</strong> <span class="trac-field-old">lexical_cast</span> → <span class="trac-field-new">concept_check</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.60.0</span> </li> </ul> <p> Fixed in <a class="ext-link" href="https://github.com/boostorg/conversion/commit/8f4b6ec98525599e7f7af05c1b8edf62f9f16b06"><span class="icon">​</span>develop branch</a>. </p> <p> Will merge to the master branch as soon as the tests pass. </p> Ticket Antony Polukhin Fri, 20 Jan 2017 19:47:23 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/11209#comment:3 https://svn.boost.org/trac10/ticket/11209#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.60.0</span> → <span class="trac-field-new">Boost 1.63.0</span> </li> </ul> Ticket