|
From: <mma...@ny...> - 2005-05-12 10:40:17
|
Hello, I am working on a debian testing with gcc-snapshot (sudo apt-get install gcc-snapshot). Which is currently a gcc 4.1. I am getting this kind of error (*), eventhough my command line is: GLIBCPP_FORCE_NEW=1 valgrind --weird-hacks=lax-ioctls --trace-children=yes -q --tool=memcheck --leak-check=yes --show-reachable=yes --workaround-gcc296-bugs=yes --num-callers=100 -v ./foobar Is there something else that I am missing ? Thanks a bunch, Mathieu (*) MPK ==27837== 40 bytes in 10 blocks are still reachable in loss record 1 of 4 ==27837== at 0x1B906727: operator new(unsigned) (vg_replace_malloc.c:132) ==27837== by 0x1BAA9CB5: __gnu_cxx::__pool::_M_initialize(void (*)(void*)) (in /usr/lib/gcc-snapshot/lib/libstdc++.so.6.0.4) ==27837== by 0x1BAAB025: (within /usr/lib/gcc-snapshot/lib/libstdc++.so.6.0.4) ==27837== by 0x1BAAA8D0: (within /usr/lib/gcc-snapshot/lib/libstdc++.so.6.0.4) ==27837== by 0x1BAF7A3E: std::string::_Rep::_S_create(unsigned, unsigned, std::allocator const&) (in /usr/lib/gcc-snapshot/lib/libstdc++.so.6.0.4) ==27837== by 0x1BAFBE69: (within /usr/lib/gcc-snapshot/lib/libstdc++.so.6.0.4) ==27837== by 0x1BAFCACE: std::string::string(char const*, std::allocator const&) (in /usr/lib/gcc-snapshot/lib/libstdc++.so.6.0.4) ==27837== by 0x1B9A46AF: __static_initialization_and_destruction_0(int, int) (in /home/mathieu/Dashboards/MyTests/gdcm-gcc-snaphot/bin/libgdcm.so) ==27837== by 0x1B9B11C1: (within /home/mathieu/Dashboards/MyTests/gdcm-gcc-snaphot/bin/libgdcm.so) ==27837== by 0x1B92D704: (within /home/mathieu/Dashboards/MyTests/gdcm-gcc-snaphot/bin/libgdcm.so) ==27837== by 0x1B8F00DD: (within /lib/ld-2.3.2.so) ==27837== by 0x1B8F01C9: _dl_init (in /lib/ld-2.3.2.so) ==27837== by 0x1B8E4C5C: (within /lib/ld-2.3.2.so) |