Le 27/06/2011 22:06, Arnaud Versini a écrit :
Hello,
I've the same problem with this autogen on Ubuntu 10.04 64 too:
--without-junit
--enable-debug
--enable-symbols
We're 3 (3 "declared" :-) ) but for the moment it seems to concern only
Debian/Ubuntu (32 or 64 bits). Have other Linux or BSD distros the same
pb ? What about Mac and Windows ? (Of course, when it's compiled in
debug mode)
Here is 1 more test when I comment out the line 481 from with
qa/osl/process/osl_process.cxx (env_container->push_back(line);)
I get :
==22499== by 0x408756E:
CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==22499== by 0x804BBBE: sal_main() (cppunittester.cxx:148)
==22499== by 0x804B730: main (cppunittester.cxx:89)
==22499== Address 0x482b850 is 0 bytes inside data symbol
"_ZGVNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE"
==22499==
Error: File
/home/maryline/compile-libreoffice/libo/clone/ure/sal/cpprt/operators_new_delete.cxx,
Line 96: operator delete mismatch
/usr/include/c++/4.6/debug/safe_iterator.h:193:error: attempt to
dereference a past-the-end iterator.
Objects involved in the operation:
iterator "this" @ 0x0xbe966380 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPSsNSt9__cxx19986vectorISsN3rtl9AllocatorISsEEEEEENSt7__debug6vectorISsS8_EEEE
(mutable iterator);
state = past-the-end;
references sequence with type
`NSt7__debug6vectorISsN3rtl9AllocatorISsEEEE' @ 0x0xbe966380
}
==22977==
==22977== HEAP SUMMARY:
==22977== in use at exit: 33,115 bytes in 422 blocks
==22977== total heap usage: 2,179 allocs, 1,747 frees, 240,329 bytes
allocated
==22977==
Memcheck: mc_leakcheck.c:1012 (vgMemCheck_detect_memory_leaks): the
'impossible' happened.
==22977== Block 0x483c000..0x483cfff overlaps with block
0x483c000..0x483c57fThis is usually caused by using
VALGRIND_MALLOCLIKE_BLOCKin an inappropriate way. at 0x3803B51E: ???
(in /usr/lib/valgrind/memcheck-x86-linux)
sched status:
running_tid=2
I attached the file for the details.
Julien.
=============
Building module sal
=============
Entering /home/maryline/compile-libreoffice/libo/sal/inc
Entering /home/maryline/compile-libreoffice/libo/sal/typesconfig
Entering /home/maryline/compile-libreoffice/libo/sal/osl/all
Entering /home/maryline/compile-libreoffice/libo/sal/rtl/source
--- ALWAYSDBGFILES ---
`../../unxlngi6/slo/debugprint.obj' is up to date
--- ALWAYSDBGFILES OVER ---
Entering /home/maryline/compile-libreoffice/libo/sal/osl/unx
Entering /home/maryline/compile-libreoffice/libo/sal/textenc
Entering /home/maryline/compile-libreoffice/libo/sal/util
Entering /home/maryline/compile-libreoffice/libo/sal/cpprt
Entering /home/maryline/compile-libreoffice/libo/sal/cppunittester
Entering /home/maryline/compile-libreoffice/libo/sal/qa/osl/getsystempathfromfileurl
Entering /home/maryline/compile-libreoffice/libo/sal/qa/rtl/cipher
----------------------------------------------------------
- start unit test #1 on library ../../../unxlngi6/lib/librtl_cipher.so
----------------------------------------------------------
: &&
LD_LIBRARY_PATH=/home/maryline/compile-libreoffice/libo/clone/ure/sal/unxlngi6/lib:/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
valgrind --tool=memcheck --leak-check=full --show-reachable=yes --num-callers=50
../../../unxlngi6/bin/cppunittester ../../../unxlngi6/lib/librtl_cipher.so
==23403== Memcheck, a memory error detector
==23403== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==23403== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==23403== Command: ../../../unxlngi6/bin/cppunittester ../../../unxlngi6/lib/librtl_cipher.so
==23403==
OK (24)
==23403==
==23403== HEAP SUMMARY:
==23403== in use at exit: 302 bytes in 4 blocks
==23403== total heap usage: 1,221 allocs, 1,217 frees, 284,869 bytes allocated
==23403==
==23403== 8 bytes in 1 blocks are still reachable in loss record 1 of 4
==23403== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23403== by 0x4103906: rtl_allocateMemory_SYSTEM (alloc_global.c:294)
==23403== by 0x4103976: rtl_allocateMemory (alloc_global.c:329)
==23403== by 0x41039E8: rtl_allocateZeroMemory (alloc_global.c:383)
==23403== by 0x40DD85B: osl_setCommandArgs (process_impl.cxx:242)
==23403== by 0x40DE097: sal_detail_initialize (salinit.cxx:39)
==23403== by 0x804B72B: main (cppunittester.cxx:89)
==23403==
==23403== 20 bytes in 1 blocks are still reachable in loss record 2 of 4
==23403== at 0x4023796: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23403== by 0x4403105: _dlerror_run (dlerror.c:142)
==23403== by 0x4402B40: dlopen@@GLIBC_2.1 (dlopen.c:88)
==23403== by 0x408AD70: CppUnit::DynamicLibraryManager::doLoadLibrary(std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23403== by 0x406D790: CppUnit::DynamicLibraryManager::loadLibrary(std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23403== by 0x406D646: CppUnit::DynamicLibraryManager::DynamicLibraryManager(std::string
const&) (in /home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23403== by 0x4072881: CppUnit::PlugInManager::load(std::string const&,
CppUnit::PlugInParameters const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23403== by 0x804BAD8: sal_main() (cppunittester.cxx:143)
==23403== by 0x804B730: main (cppunittester.cxx:89)
==23403==
==23403== 88 bytes in 1 blocks are still reachable in loss record 3 of 4
==23403== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23403== by 0x4103906: rtl_allocateMemory_SYSTEM (alloc_global.c:294)
==23403== by 0x4103976: rtl_allocateMemory (alloc_global.c:329)
==23403== by 0x40E9A32: rtl_uString_ImplAlloc (strtmpl.c:950)
==23403== by 0x40EB77D: rtl_string2UString_status (ustring.c:654)
==23403== by 0x40EB989: rtl_string2UString (ustring.c:729)
==23403== by 0x40DD8C4: osl_setCommandArgs (process_impl.cxx:251)
==23403== by 0x40DE097: sal_detail_initialize (salinit.cxx:39)
==23403== by 0x804B72B: main (cppunittester.cxx:89)
==23403==
==23403== 186 bytes in 1 blocks are still reachable in loss record 4 of 4
==23403== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23403== by 0x4103906: rtl_allocateMemory_SYSTEM (alloc_global.c:294)
==23403== by 0x4103976: rtl_allocateMemory (alloc_global.c:329)
==23403== by 0x40E9A32: rtl_uString_ImplAlloc (strtmpl.c:950)
==23403== by 0x40EA014: rtl_uString_newConcat (strtmpl.c:1200)
==23403== by 0x40D8C9B: osl_getFileURLFromSystemPath (file_url.cxx:355)
==23403== by 0x40DD9EB: osl_setCommandArgs (process_impl.cxx:278)
==23403== by 0x40DE097: sal_detail_initialize (salinit.cxx:39)
==23403== by 0x804B72B: main (cppunittester.cxx:89)
==23403==
==23403== LEAK SUMMARY:
==23403== definitely lost: 0 bytes in 0 blocks
==23403== indirectly lost: 0 bytes in 0 blocks
==23403== possibly lost: 0 bytes in 0 blocks
==23403== still reachable: 302 bytes in 4 blocks
==23403== suppressed: 0 bytes in 0 blocks
==23403==
==23403== For counts of detected and suppressed errors, rerun with: -v
==23403== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 30 from 11)
Entering /home/maryline/compile-libreoffice/libo/sal/qa/sal
----------------------------------------------------------
- start unit test #1 on library ../../unxlngi6/lib/libqa_sal_types.so
----------------------------------------------------------
: &&
LD_LIBRARY_PATH=/home/maryline/compile-libreoffice/libo/clone/ure/sal/unxlngi6/lib:/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
valgrind --tool=memcheck --leak-check=full --show-reachable=yes --num-callers=50
../../unxlngi6/bin/cppunittester ../../unxlngi6/lib/libqa_sal_types.so
==23413== Memcheck, a memory error detector
==23413== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==23413== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==23413== Command: ../../unxlngi6/bin/cppunittester ../../unxlngi6/lib/libqa_sal_types.so
==23413==
OK (1)
==23413==
==23413== HEAP SUMMARY:
==23413== in use at exit: 300 bytes in 4 blocks
==23413== total heap usage: 253 allocs, 249 frees, 66,305 bytes allocated
==23413==
==23413== 8 bytes in 1 blocks are still reachable in loss record 1 of 4
==23413== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23413== by 0x4103906: rtl_allocateMemory_SYSTEM (alloc_global.c:294)
==23413== by 0x4103976: rtl_allocateMemory (alloc_global.c:329)
==23413== by 0x41039E8: rtl_allocateZeroMemory (alloc_global.c:383)
==23413== by 0x40DD85B: osl_setCommandArgs (process_impl.cxx:242)
==23413== by 0x40DE097: sal_detail_initialize (salinit.cxx:39)
==23413== by 0x804B72B: main (cppunittester.cxx:89)
==23413==
==23413== 20 bytes in 1 blocks are still reachable in loss record 2 of 4
==23413== at 0x4023796: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23413== by 0x4403105: _dlerror_run (dlerror.c:142)
==23413== by 0x4402B40: dlopen@@GLIBC_2.1 (dlopen.c:88)
==23413== by 0x408AD70: CppUnit::DynamicLibraryManager::doLoadLibrary(std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23413== by 0x406D790: CppUnit::DynamicLibraryManager::loadLibrary(std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23413== by 0x406D646: CppUnit::DynamicLibraryManager::DynamicLibraryManager(std::string
const&) (in /home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23413== by 0x4072881: CppUnit::PlugInManager::load(std::string const&,
CppUnit::PlugInParameters const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23413== by 0x804BAD8: sal_main() (cppunittester.cxx:143)
==23413== by 0x804B730: main (cppunittester.cxx:89)
==23413==
==23413== 86 bytes in 1 blocks are still reachable in loss record 3 of 4
==23413== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23413== by 0x4103906: rtl_allocateMemory_SYSTEM (alloc_global.c:294)
==23413== by 0x4103976: rtl_allocateMemory (alloc_global.c:329)
==23413== by 0x40E9A32: rtl_uString_ImplAlloc (strtmpl.c:950)
==23413== by 0x40EB77D: rtl_string2UString_status (ustring.c:654)
==23413== by 0x40EB989: rtl_string2UString (ustring.c:729)
==23413== by 0x40DD8C4: osl_setCommandArgs (process_impl.cxx:251)
==23413== by 0x40DE097: sal_detail_initialize (salinit.cxx:39)
==23413== by 0x804B72B: main (cppunittester.cxx:89)
==23413==
==23413== 186 bytes in 1 blocks are still reachable in loss record 4 of 4
==23413== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23413== by 0x4103906: rtl_allocateMemory_SYSTEM (alloc_global.c:294)
==23413== by 0x4103976: rtl_allocateMemory (alloc_global.c:329)
==23413== by 0x40E9A32: rtl_uString_ImplAlloc (strtmpl.c:950)
==23413== by 0x40EA014: rtl_uString_newConcat (strtmpl.c:1200)
==23413== by 0x40D8C9B: osl_getFileURLFromSystemPath (file_url.cxx:355)
==23413== by 0x40DD9EB: osl_setCommandArgs (process_impl.cxx:278)
==23413== by 0x40DE097: sal_detail_initialize (salinit.cxx:39)
==23413== by 0x804B72B: main (cppunittester.cxx:89)
==23413==
==23413== LEAK SUMMARY:
==23413== definitely lost: 0 bytes in 0 blocks
==23413== indirectly lost: 0 bytes in 0 blocks
==23413== possibly lost: 0 bytes in 0 blocks
==23413== still reachable: 300 bytes in 4 blocks
==23413== suppressed: 0 bytes in 0 blocks
==23413==
==23413== For counts of detected and suppressed errors, rerun with: -v
==23413== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 30 from 11)
Entering /home/maryline/compile-libreoffice/libo/sal/qa/rtl/strings
----------------------------------------------------------
- start unit test #1 on library ../../../unxlngi6/lib/libqa_rtl_strings.so
----------------------------------------------------------
: &&
LD_LIBRARY_PATH=/home/maryline/compile-libreoffice/libo/clone/ure/sal/unxlngi6/lib:/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
valgrind --tool=memcheck --leak-check=full --show-reachable=yes --num-callers=50
../../../unxlngi6/bin/cppunittester ../../../unxlngi6/lib/libqa_rtl_strings.so
==23424== Memcheck, a memory error detector
==23424== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==23424== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==23424== Command: ../../../unxlngi6/bin/cppunittester ../../../unxlngi6/lib/libqa_rtl_strings.so
==23424==
OK (3)
==23424==
==23424== HEAP SUMMARY:
==23424== in use at exit: 1,276 bytes in 9 blocks
==23424== total heap usage: 340 allocs, 331 frees, 66,171 bytes allocated
==23424==
==23424== 8 bytes in 1 blocks are still reachable in loss record 1 of 9
==23424== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23424== by 0x4103906: rtl_allocateMemory_SYSTEM (alloc_global.c:294)
==23424== by 0x4103976: rtl_allocateMemory (alloc_global.c:329)
==23424== by 0x41039E8: rtl_allocateZeroMemory (alloc_global.c:383)
==23424== by 0x40DD85B: osl_setCommandArgs (process_impl.cxx:242)
==23424== by 0x40DE097: sal_detail_initialize (salinit.cxx:39)
==23424== by 0x804B72B: main (cppunittester.cxx:89)
==23424==
==23424== 20 bytes in 1 blocks are still reachable in loss record 2 of 9
==23424== at 0x4023796: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23424== by 0x4403105: _dlerror_run (dlerror.c:142)
==23424== by 0x4402B40: dlopen@@GLIBC_2.1 (dlopen.c:88)
==23424== by 0x408AD70: CppUnit::DynamicLibraryManager::doLoadLibrary(std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x406D790: CppUnit::DynamicLibraryManager::loadLibrary(std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x406D646: CppUnit::DynamicLibraryManager::DynamicLibraryManager(std::string
const&) (in /home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4072881: CppUnit::PlugInManager::load(std::string const&,
CppUnit::PlugInParameters const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x804BAD8: sal_main() (cppunittester.cxx:143)
==23424== by 0x804B730: main (cppunittester.cxx:89)
==23424==
==23424== 76 bytes in 1 blocks are still reachable in loss record 3 of 9
==23424== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23424== by 0x400C770: _dl_map_object_deps (dl-deps.c:510)
==23424== by 0x4011E20: dl_open_worker (dl-open.c:263)
==23424== by 0x400DB45: _dl_catch_error (dl-error.c:178)
==23424== by 0x4011865: _dl_open (dl-open.c:555)
==23424== by 0x4402C0A: dlopen_doit (dlopen.c:67)
==23424== by 0x400DB45: _dl_catch_error (dl-error.c:178)
==23424== by 0x440309B: _dlerror_run (dlerror.c:164)
==23424== by 0x4402B40: dlopen@@GLIBC_2.1 (dlopen.c:88)
==23424== by 0x40C9AC6: osl_loadModuleAscii (module.c:91)
==23424== by 0x410AE2E: Impl_getTextEncodingData (textenc.cxx:143)
==23424== by 0x4109ACF: rtl_getTextEncodingInfo (tencinfo.c:139)
==23424== by 0x40E86E1: rtl_impl_convertUStringToString (string.c:233)
==23424== by 0x40E8993: rtl_convertUStringToString (string.c:319)
==23424== by 0x41496C4: ???
==23424== by 0x4148135: ???
==23424== by 0x4149203: ???
==23424== by 0x4149F74: ???
==23424== by 0x407A108: CppUnit::TestCaseMethodFunctor::operator()() const (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x406D27F: CppUnit::DefaultProtector::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4075872: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4075759: CppUnit::ProtectorChain::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4083738: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*,
std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4079C40: CppUnit::TestCase::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A761: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A621: CppUnit::TestComposite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A761: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A621: CppUnit::TestComposite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x408731E: CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x408352B: CppUnit::TestResult::runTest(CppUnit::Test*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x408756E: CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x804BBBE: sal_main() (cppunittester.cxx:148)
==23424== by 0x804B730: main (cppunittester.cxx:89)
==23424==
==23424== 80 bytes in 1 blocks are still reachable in loss record 4 of 9
==23424== at 0x4023796: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23424== by 0x400F4E7: _dl_check_map_versions (dl-version.c:299)
==23424== by 0x4012068: dl_open_worker (dl-open.c:269)
==23424== by 0x400DB45: _dl_catch_error (dl-error.c:178)
==23424== by 0x4011865: _dl_open (dl-open.c:555)
==23424== by 0x4402C0A: dlopen_doit (dlopen.c:67)
==23424== by 0x400DB45: _dl_catch_error (dl-error.c:178)
==23424== by 0x440309B: _dlerror_run (dlerror.c:164)
==23424== by 0x4402B40: dlopen@@GLIBC_2.1 (dlopen.c:88)
==23424== by 0x40C9AC6: osl_loadModuleAscii (module.c:91)
==23424== by 0x410AE2E: Impl_getTextEncodingData (textenc.cxx:143)
==23424== by 0x4109ACF: rtl_getTextEncodingInfo (tencinfo.c:139)
==23424== by 0x40E86E1: rtl_impl_convertUStringToString (string.c:233)
==23424== by 0x40E8993: rtl_convertUStringToString (string.c:319)
==23424== by 0x41496C4: ???
==23424== by 0x4148135: ???
==23424== by 0x4149203: ???
==23424== by 0x4149F74: ???
==23424== by 0x407A108: CppUnit::TestCaseMethodFunctor::operator()() const (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x406D27F: CppUnit::DefaultProtector::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4075872: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4075759: CppUnit::ProtectorChain::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4083738: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*,
std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4079C40: CppUnit::TestCase::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A761: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A621: CppUnit::TestComposite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A761: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A621: CppUnit::TestComposite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x408731E: CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x408352B: CppUnit::TestResult::runTest(CppUnit::Test*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x408756E: CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x804BBBE: sal_main() (cppunittester.cxx:148)
==23424== by 0x804B730: main (cppunittester.cxx:89)
==23424==
==23424== 87 bytes in 1 blocks are still reachable in loss record 5 of 9
==23424== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23424== by 0x4005783: open_path (dl-load.c:1919)
==23424== by 0x4007340: _dl_map_object (dl-load.c:2091)
==23424== by 0x4011DC5: dl_open_worker (dl-open.c:226)
==23424== by 0x400DB45: _dl_catch_error (dl-error.c:178)
==23424== by 0x4011865: _dl_open (dl-open.c:555)
==23424== by 0x4402C0A: dlopen_doit (dlopen.c:67)
==23424== by 0x400DB45: _dl_catch_error (dl-error.c:178)
==23424== by 0x440309B: _dlerror_run (dlerror.c:164)
==23424== by 0x4402B40: dlopen@@GLIBC_2.1 (dlopen.c:88)
==23424== by 0x40C9AC6: osl_loadModuleAscii (module.c:91)
==23424== by 0x410AE2E: Impl_getTextEncodingData (textenc.cxx:143)
==23424== by 0x4109ACF: rtl_getTextEncodingInfo (tencinfo.c:139)
==23424== by 0x40E86E1: rtl_impl_convertUStringToString (string.c:233)
==23424== by 0x40E8993: rtl_convertUStringToString (string.c:319)
==23424== by 0x41496C4: ???
==23424== by 0x4148135: ???
==23424== by 0x4149203: ???
==23424== by 0x4149F74: ???
==23424== by 0x407A108: CppUnit::TestCaseMethodFunctor::operator()() const (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x406D27F: CppUnit::DefaultProtector::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4075872: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4075759: CppUnit::ProtectorChain::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4083738: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*,
std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4079C40: CppUnit::TestCase::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A761: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A621: CppUnit::TestComposite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A761: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A621: CppUnit::TestComposite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x408731E: CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x408352B: CppUnit::TestResult::runTest(CppUnit::Test*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x408756E: CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x804BBBE: sal_main() (cppunittester.cxx:148)
==23424== by 0x804B730: main (cppunittester.cxx:89)
==23424==
==23424== 87 bytes in 1 blocks are still reachable in loss record 6 of 9
==23424== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23424== by 0x400A40A: _dl_new_object (dl-object.c:161)
==23424== by 0x4005A57: _dl_map_object_from_fd (dl-load.c:957)
==23424== by 0x4007233: _dl_map_object (dl-load.c:2250)
==23424== by 0x4011DC5: dl_open_worker (dl-open.c:226)
==23424== by 0x400DB45: _dl_catch_error (dl-error.c:178)
==23424== by 0x4011865: _dl_open (dl-open.c:555)
==23424== by 0x4402C0A: dlopen_doit (dlopen.c:67)
==23424== by 0x400DB45: _dl_catch_error (dl-error.c:178)
==23424== by 0x440309B: _dlerror_run (dlerror.c:164)
==23424== by 0x4402B40: dlopen@@GLIBC_2.1 (dlopen.c:88)
==23424== by 0x40C9AC6: osl_loadModuleAscii (module.c:91)
==23424== by 0x410AE2E: Impl_getTextEncodingData (textenc.cxx:143)
==23424== by 0x4109ACF: rtl_getTextEncodingInfo (tencinfo.c:139)
==23424== by 0x40E86E1: rtl_impl_convertUStringToString (string.c:233)
==23424== by 0x40E8993: rtl_convertUStringToString (string.c:319)
==23424== by 0x41496C4: ???
==23424== by 0x4148135: ???
==23424== by 0x4149203: ???
==23424== by 0x4149F74: ???
==23424== by 0x407A108: CppUnit::TestCaseMethodFunctor::operator()() const (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x406D27F: CppUnit::DefaultProtector::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4075872: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4075759: CppUnit::ProtectorChain::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4083738: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*,
std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4079C40: CppUnit::TestCase::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A761: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A621: CppUnit::TestComposite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A761: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A621: CppUnit::TestComposite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x408731E: CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x408352B: CppUnit::TestResult::runTest(CppUnit::Test*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x408756E: CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x804BBBE: sal_main() (cppunittester.cxx:148)
==23424== by 0x804B730: main (cppunittester.cxx:89)
==23424==
==23424== 96 bytes in 1 blocks are still reachable in loss record 7 of 9
==23424== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23424== by 0x4103906: rtl_allocateMemory_SYSTEM (alloc_global.c:294)
==23424== by 0x4103976: rtl_allocateMemory (alloc_global.c:329)
==23424== by 0x40E9A32: rtl_uString_ImplAlloc (strtmpl.c:950)
==23424== by 0x40EB77D: rtl_string2UString_status (ustring.c:654)
==23424== by 0x40EB989: rtl_string2UString (ustring.c:729)
==23424== by 0x40DD8C4: osl_setCommandArgs (process_impl.cxx:251)
==23424== by 0x40DE097: sal_detail_initialize (salinit.cxx:39)
==23424== by 0x804B72B: main (cppunittester.cxx:89)
==23424==
==23424== 186 bytes in 1 blocks are still reachable in loss record 8 of 9
==23424== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23424== by 0x4103906: rtl_allocateMemory_SYSTEM (alloc_global.c:294)
==23424== by 0x4103976: rtl_allocateMemory (alloc_global.c:329)
==23424== by 0x40E9A32: rtl_uString_ImplAlloc (strtmpl.c:950)
==23424== by 0x40EA014: rtl_uString_newConcat (strtmpl.c:1200)
==23424== by 0x40D8C9B: osl_getFileURLFromSystemPath (file_url.cxx:355)
==23424== by 0x40DD9EB: osl_setCommandArgs (process_impl.cxx:278)
==23424== by 0x40DE097: sal_detail_initialize (salinit.cxx:39)
==23424== by 0x804B72B: main (cppunittester.cxx:89)
==23424==
==23424== 636 bytes in 1 blocks are still reachable in loss record 9 of 9
==23424== at 0x4023796: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23424== by 0x400A1D2: _dl_new_object (dl-object.c:77)
==23424== by 0x4005A57: _dl_map_object_from_fd (dl-load.c:957)
==23424== by 0x4007233: _dl_map_object (dl-load.c:2250)
==23424== by 0x4011DC5: dl_open_worker (dl-open.c:226)
==23424== by 0x400DB45: _dl_catch_error (dl-error.c:178)
==23424== by 0x4011865: _dl_open (dl-open.c:555)
==23424== by 0x4402C0A: dlopen_doit (dlopen.c:67)
==23424== by 0x400DB45: _dl_catch_error (dl-error.c:178)
==23424== by 0x440309B: _dlerror_run (dlerror.c:164)
==23424== by 0x4402B40: dlopen@@GLIBC_2.1 (dlopen.c:88)
==23424== by 0x40C9AC6: osl_loadModuleAscii (module.c:91)
==23424== by 0x410AE2E: Impl_getTextEncodingData (textenc.cxx:143)
==23424== by 0x4109ACF: rtl_getTextEncodingInfo (tencinfo.c:139)
==23424== by 0x40E86E1: rtl_impl_convertUStringToString (string.c:233)
==23424== by 0x40E8993: rtl_convertUStringToString (string.c:319)
==23424== by 0x41496C4: ???
==23424== by 0x4148135: ???
==23424== by 0x4149203: ???
==23424== by 0x4149F74: ???
==23424== by 0x407A108: CppUnit::TestCaseMethodFunctor::operator()() const (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x406D27F: CppUnit::DefaultProtector::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4075872: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4075759: CppUnit::ProtectorChain::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4083738: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*,
std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x4079C40: CppUnit::TestCase::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A761: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A621: CppUnit::TestComposite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A761: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x407A621: CppUnit::TestComposite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x408731E: CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x408352B: CppUnit::TestResult::runTest(CppUnit::Test*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x408756E: CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23424== by 0x804BBBE: sal_main() (cppunittester.cxx:148)
==23424== by 0x804B730: main (cppunittester.cxx:89)
==23424==
==23424== LEAK SUMMARY:
==23424== definitely lost: 0 bytes in 0 blocks
==23424== indirectly lost: 0 bytes in 0 blocks
==23424== possibly lost: 0 bytes in 0 blocks
==23424== still reachable: 1,276 bytes in 9 blocks
==23424== suppressed: 0 bytes in 0 blocks
==23424==
==23424== For counts of detected and suppressed errors, rerun with: -v
==23424== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 32 from 11)
Entering /home/maryline/compile-libreoffice/libo/sal/qa/osl/process
Compiling: sal/qa/osl/process/osl_process.cxx
Making: qa_osl_process.lib
Making: libosl_process.so
Making: all_qa_osl_process.dpslo
----------------------------------------------------------
- start unit test #1 on library ../../../unxlngi6/lib/libosl_Thread.so
----------------------------------------------------------
: &&
LD_LIBRARY_PATH=/home/maryline/compile-libreoffice/libo/clone/ure/sal/unxlngi6/lib:/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
valgrind --tool=memcheck --leak-check=full --show-reachable=yes --num-callers=50
../../../unxlngi6/bin/cppunittester ../../../unxlngi6/lib/libosl_Thread.so
==23483== Memcheck, a memory error detector
==23483== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==23483== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==23483== Command: ../../../unxlngi6/bin/cppunittester ../../../unxlngi6/lib/libosl_Thread.so
==23483==
OK (6)
==23483==
==23483== HEAP SUMMARY:
==23483== in use at exit: 312 bytes in 5 blocks
==23483== total heap usage: 289 allocs, 284 frees, 60,451 bytes allocated
==23483==
==23483== 8 bytes in 1 blocks are still reachable in loss record 1 of 5
==23483== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23483== by 0x4103906: rtl_allocateMemory_SYSTEM (alloc_global.c:294)
==23483== by 0x4103976: rtl_allocateMemory (alloc_global.c:329)
==23483== by 0x41039E8: rtl_allocateZeroMemory (alloc_global.c:383)
==23483== by 0x40DD85B: osl_setCommandArgs (process_impl.cxx:242)
==23483== by 0x40DE097: sal_detail_initialize (salinit.cxx:39)
==23483== by 0x804B72B: main (cppunittester.cxx:89)
==23483==
==23483== 10 bytes in 1 blocks are possibly lost in loss record 2 of 5
==23483== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23483== by 0x4103906: rtl_allocateMemory_SYSTEM (alloc_global.c:294)
==23483== by 0x4103976: rtl_allocateMemory (alloc_global.c:329)
==23483== by 0x804E0D4: allocate(unsigned int, (anonymous namespace)::AllocatorTraits const&)
(operators_new_delete.cxx:147)
==23483== by 0x804E2AC: operator new[](unsigned int) (operators_new_delete.cxx:226)
==23483== by 0x481FE89: ???
==23483== by 0x4823AAC: ???
==23483== by 0x407A108: CppUnit::TestCaseMethodFunctor::operator()() const (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x406D27F: CppUnit::DefaultProtector::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x4075872: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x4075759: CppUnit::ProtectorChain::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x4083738: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*,
std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x4079C40: CppUnit::TestCase::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x407A761: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x407A621: CppUnit::TestComposite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x407A761: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x407A621: CppUnit::TestComposite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x408731E: CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x408352B: CppUnit::TestResult::runTest(CppUnit::Test*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x408756E: CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x804BBBE: sal_main() (cppunittester.cxx:148)
==23483== by 0x804B730: main (cppunittester.cxx:89)
==23483==
==23483== 20 bytes in 1 blocks are still reachable in loss record 3 of 5
==23483== at 0x4023796: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23483== by 0x4403105: _dlerror_run (dlerror.c:142)
==23483== by 0x4402B40: dlopen@@GLIBC_2.1 (dlopen.c:88)
==23483== by 0x408AD70: CppUnit::DynamicLibraryManager::doLoadLibrary(std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x406D790: CppUnit::DynamicLibraryManager::loadLibrary(std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x406D646: CppUnit::DynamicLibraryManager::DynamicLibraryManager(std::string
const&) (in /home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x4072881: CppUnit::PlugInManager::load(std::string const&,
CppUnit::PlugInParameters const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23483== by 0x804BAD8: sal_main() (cppunittester.cxx:143)
==23483== by 0x804B730: main (cppunittester.cxx:89)
==23483==
==23483== 88 bytes in 1 blocks are still reachable in loss record 4 of 5
==23483== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23483== by 0x4103906: rtl_allocateMemory_SYSTEM (alloc_global.c:294)
==23483== by 0x4103976: rtl_allocateMemory (alloc_global.c:329)
==23483== by 0x40E9A32: rtl_uString_ImplAlloc (strtmpl.c:950)
==23483== by 0x40EB77D: rtl_string2UString_status (ustring.c:654)
==23483== by 0x40EB989: rtl_string2UString (ustring.c:729)
==23483== by 0x40DD8C4: osl_setCommandArgs (process_impl.cxx:251)
==23483== by 0x40DE097: sal_detail_initialize (salinit.cxx:39)
==23483== by 0x804B72B: main (cppunittester.cxx:89)
==23483==
==23483== 186 bytes in 1 blocks are still reachable in loss record 5 of 5
==23483== at 0x4025018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23483== by 0x4103906: rtl_allocateMemory_SYSTEM (alloc_global.c:294)
==23483== by 0x4103976: rtl_allocateMemory (alloc_global.c:329)
==23483== by 0x40E9A32: rtl_uString_ImplAlloc (strtmpl.c:950)
==23483== by 0x40EA014: rtl_uString_newConcat (strtmpl.c:1200)
==23483== by 0x40D8C9B: osl_getFileURLFromSystemPath (file_url.cxx:355)
==23483== by 0x40DD9EB: osl_setCommandArgs (process_impl.cxx:278)
==23483== by 0x40DE097: sal_detail_initialize (salinit.cxx:39)
==23483== by 0x804B72B: main (cppunittester.cxx:89)
==23483==
==23483== LEAK SUMMARY:
==23483== definitely lost: 0 bytes in 0 blocks
==23483== indirectly lost: 0 bytes in 0 blocks
==23483== possibly lost: 10 bytes in 1 blocks
==23483== still reachable: 302 bytes in 4 blocks
==23483== suppressed: 0 bytes in 0 blocks
==23483==
==23483== For counts of detected and suppressed errors, rerun with: -v
==23483== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 30 from 11)
----------------------------------------------------------
- start unit test #2 on library ../../../unxlngi6/lib/libosl_process.so
----------------------------------------------------------
: &&
LD_LIBRARY_PATH=/home/maryline/compile-libreoffice/libo/clone/ure/sal/unxlngi6/lib:/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
valgrind --tool=memcheck --leak-check=full --show-reachable=yes --num-callers=50
../../../unxlngi6/bin/cppunittester ../../../unxlngi6/lib/libosl_process.so
==23498== Memcheck, a memory error detector
==23498== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==23498== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==23498== Command: ../../../unxlngi6/bin/cppunittester ../../../unxlngi6/lib/libosl_process.so
==23498==
Error: File /home/maryline/compile-libreoffice/libo/clone/ure/sal/cpprt/operators_new_delete.cxx,
Line 96: operator delete mismatch
==23498== Invalid free() / delete / delete[]
==23498== at 0x402421C: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23498== by 0x4103929: rtl_freeMemory_SYSTEM (alloc_global.c:301)
==23498== by 0x41039C3: rtl_freeMemory (alloc_global.c:371)
==23498== by 0x804E1E8: deallocate(void*, (anonymous namespace)::AllocatorTraits const&)
(operators_new_delete.cxx:184)
==23498== by 0x804E236: operator delete(void*) (operators_new_delete.cxx:201)
==23498== by 0x804D7C2: __gnu_cxx::new_allocator<char>::deallocate(char*, unsigned int)
(new_allocator.h:98)
==23498== by 0x804CD9C: std::string::_Rep::_M_destroy(std::allocator<char> const&)
(basic_string.tcc:451)
==23498== by 0x804C78D: std::string::_Rep::_M_dispose(std::allocator<char> const&)
(basic_string.h:244)
==23498== by 0x804D5F6: std::string::reserve(unsigned int) (basic_string.tcc:513)
==23498== by 0x804D720: std::string::append(char const*, unsigned int) (basic_string.tcc:310)
==23498== by 0x41D62F7: std::basic_istream<char, std::char_traits<char> >& std::getline<char,
std::char_traits<char>, std::allocator<char> >(std::basic_istream<char, std::char_traits<char> >&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libstdc++.so.6)
==23498== by 0x480EE5F:
Test_osl_executeProcess::read_child_environment(std::__debug::vector<std::string,
rtl::Allocator<std::string> >*) (osl_process.cxx:480)
==23498== by 0x480F000: Test_osl_executeProcess::compare_environments() (osl_process.cxx:495)
==23498== by 0x480FE0D: Test_osl_executeProcess::osl_execProc_parent_equals_child_environment()
(osl_process.cxx:606)
==23498== by 0x481FD9A: CppUnit::TestCaller<Test_osl_executeProcess>::runTest()
(TestCaller.h:166)
==23498== by 0x407A108: CppUnit::TestCaseMethodFunctor::operator()() const (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23498== by 0x406D27F: CppUnit::DefaultProtector::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23498== by 0x4075872: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23498== by 0x4075759: CppUnit::ProtectorChain::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23498== by 0x4083738: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*,
std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23498== by 0x4079C40: CppUnit::TestCase::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23498== by 0x407A761: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23498== by 0x407A621: CppUnit::TestComposite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23498== by 0x407A761: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23498== by 0x407A621: CppUnit::TestComposite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23498== by 0x408731E: CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23498== by 0x408352B: CppUnit::TestResult::runTest(CppUnit::Test*) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23498== by 0x408756E: CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (in
/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib/libcppunit-1.12.so.1)
==23498== by 0x804BBBE: sal_main() (cppunittester.cxx:148)
==23498== by 0x804B730: main (cppunittester.cxx:89)
==23498== Address 0x482b850 is 0 bytes inside data symbol
"_ZGVNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE"
==23498==
Error: File /home/maryline/compile-libreoffice/libo/clone/ure/sal/cpprt/operators_new_delete.cxx,
Line 96: operator delete mismatch
/usr/include/c++/4.6/debug/safe_iterator.h:193:error: attempt to
dereference a past-the-end iterator.
Objects involved in the operation:
iterator "this" @ 0x0xbe81c380 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPSsNSt9__cxx19986vectorISsN3rtl9AllocatorISsEEEEEENSt7__debug6vectorISsS8_EEEE
(mutable iterator);
state = past-the-end;
references sequence with type `NSt7__debug6vectorISsN3rtl9AllocatorISsEEEE' @ 0x0xbe81c380
}
==23498==
==23498== HEAP SUMMARY:
==23498== in use at exit: 33,115 bytes in 422 blocks
==23498== total heap usage: 2,179 allocs, 1,747 frees, 240,329 bytes allocated
==23498==
Memcheck: mc_leakcheck.c:1012 (vgMemCheck_detect_memory_leaks): the 'impossible' happened.
==23498== Block 0x483c000..0x483cfff overlaps with block 0x483c000..0x483c57fThis is usually caused
by using VALGRIND_MALLOCLIKE_BLOCKin an inappropriate way. at 0x3803B51E: ??? (in
/usr/lib/valgrind/memcheck-x86-linux)
sched status:
running_tid=2
Note: see also the FAQ in the source distribution.
It contains workarounds to several common problems.
In particular, if Valgrind aborted or crashed after
identifying problems in your program, there's a good chance
that fixing those problems will prevent Valgrind aborting or
crashing, especially if it happened in m_mallocfree.c.
If that doesn't help, please report this bug to: www.valgrind.org
In the bug report, send all the above text, the valgrind
version, and what OS and version you are using. Thanks.
dmake: Error code 1, while making 'test2'
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.