|
From: Christian P. <tr...@ge...> - 2006-12-26 11:00:22
|
Hi all, I'm fighting against some leaks I still encounter in my app. However, there are some that I am just not able to understand on why I get= =20 these errors. [...] =2D-9563-- Discarding syms at 0x74EC000-0x762B000=20 in /home/trapni/projects/swunit/tests/System/.libs/String.so due to munmap() [...] =3D=3D9563=3D=3D 32 bytes in 1 blocks are still reachable in loss record 1 = of 2 =3D=3D9563=3D=3D at 0x4A1EC0F: calloc (vg_replace_malloc.c:279) =3D=3D9563=3D=3D by 0x64BA5BA: (within /lib64/libdl-2.5.so) =3D=3D9563=3D=3D by 0x64BA151: dlopen (in /lib64/libdl-2.5.so) =3D=3D9563=3D=3D by 0x5F22497:=20 System::Runtime::TLibraryLoader::loadLibrary(System::TStringBase<char>=20 const&) (TLibraryLoader.unix.cpp:106) =3D=3D9563=3D=3D by 0x479093:=20 TSWUnitTester::loadUnitTest(System::TSharedPtr<System::FileSystem::TFile>)= =20 (TSWUnitTester.cpp:128) =3D=3D9563=3D=3D by 0x479976: TSWUnitTester::main() (TSWUnitTester.cpp:9= 2) =3D=3D9563=3D=3D by 0x5ADEDC1: System::TApplication::run() (TApplication= =2Ecpp:238) =3D=3D9563=3D=3D by 0x4A3025: main (swunit.cpp:5) =3D=3D9563=3D=3D =3D=3D9563=3D=3D =3D=3D9563=3D=3D 224 bytes in 1 blocks are still reachable in loss record 2= of 2 =3D=3D9563=3D=3D at 0x4A1FB1E: malloc (vg_replace_malloc.c:149) =3D=3D9563=3D=3D by 0x401037D: add_to_global (in /lib64/ld-2.5.so) =3D=3D9563=3D=3D by 0x40107A5: dl_open_worker (in /lib64/ld-2.5.so) =3D=3D9563=3D=3D by 0x400C6E5: _dl_catch_error (in /lib64/ld-2.5.so) =3D=3D9563=3D=3D by 0x4010006: _dl_open (in /lib64/ld-2.5.so) =3D=3D9563=3D=3D by 0x64BA1D9: (within /lib64/libdl-2.5.so) =3D=3D9563=3D=3D by 0x400C6E5: _dl_catch_error (in /lib64/ld-2.5.so) =3D=3D9563=3D=3D by 0x64BA55C: (within /lib64/libdl-2.5.so) =3D=3D9563=3D=3D by 0x64BA151: dlopen (in /lib64/libdl-2.5.so) =3D=3D9563=3D=3D by 0x5F22497:=20 System::Runtime::TLibraryLoader::loadLibrary(System::TStringBase<char>=20 const&) (TLibraryLoader.unix.cpp:106) =3D=3D9563=3D=3D by 0x479093:=20 TSWUnitTester::loadUnitTest(System::TSharedPtr<System::FileSystem::TFile>)= =20 (TSWUnitTester.cpp:128) =3D=3D9563=3D=3D by 0x479976: TSWUnitTester::main() (TSWUnitTester.cpp:9= 2) =3D=3D9563=3D=3D by 0x5ADEDC1: System::TApplication::run() (TApplication= =2Ecpp:238) =3D=3D9563=3D=3D by 0x4A3025: main (swunit.cpp:5) [...] you should see, that I have closed my dlopen()'ed String.so. But I still get the following two backtraces. can anybody proof that is is not my fault, or give me a hint on what I coul= d=20 do here? Thanks in advance, Christian Parpart. |