|
From: Joseph W. <jos...@ma...> - 2009-06-09 14:37:23
|
It's not easy to get the source code to this library but if it is what is needed, I'll do it and fix these problems. Just let me know. By the way, here's the output with --track-orgins=yes. ~/src/Tools/VALGRIND/RemoteSVN/valgrind/vg-in-place --tool=memcheck --num-callers=50 --show-emwarns=yes --smc-check=all --track-origins=yes bin/Test1.exe ==29408== Memcheck, a memory error detector. ==29408== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==29408== Using LibVEX rev 1899, a library for dynamic binary translation. ==29408== Copyright (C) 2004-2009, and GNU GPL'd, by OpenWorks LLP. ==29408== Using valgrind-3.5.0.SVN, a dynamic binary instrumentation framework. ==29408== Copyright (C) 2000-2009, and GNU GPL'd, by Julian Seward et al. ==29408== For more details, rerun with: -v ==29408== ==29408== Conditional jump or move depends on uninitialised value(s) ==29408== at 0x4907107: strlen (mc_replace_strmem.c:275) ==29408== by 0xE0F55A0: sgygtn_f (in /scratch/jody/work/SVN/branches/2009.1/3rdparty/SIPMAP/200901/Linux64/siplib/libSipmapShell.so.9.1) ==29408== by 0x7FEFFC31F: ??? ==29408== Uninitialised value was created by a stack allocation ==29408== at 0xDFE5260: get_unit (in /scratch/jody/work/SVN/branches/2009.1/3rdparty/SIPMAP/200901/Linux64/siplib/libSipmapShell.so.9.1) ==29408== ==29408== Conditional jump or move depends on uninitialised value(s) ==29408== at 0x4907107: strlen (mc_replace_strmem.c:275) ==29408== by 0xE0F55A0: sgygtn_f (in /scratch/jody/work/SVN/branches/2009.1/3rdparty/SIPMAP/200901/Linux64/siplib/libSipmapShell.so.9.1) ==29408== by 0x7FEFFC347: ??? ==29408== Uninitialised value was created by a stack allocation ==29408== at 0xDFE5260: get_unit (in /scratch/jody/work/SVN/branches/2009.1/3rdparty/SIPMAP/200901/Linux64/siplib/libSipmapShell.so.9.1) ==29408== ==29408== Conditional jump or move depends on uninitialised value(s) ==29408== at 0x4907107: strlen (mc_replace_strmem.c:275) ==29408== by 0xE0F55A0: sgygtn_f (in /scratch/jody/work/SVN/branches/2009.1/3rdparty/SIPMAP/200901/Linux64/siplib/libSipmapShell.so.9.1) ==29408== by 0x7FEFFB5E7: ??? ==29408== Uninitialised value was created by a stack allocation ==29408== at 0xDFE5260: get_unit (in /scratch/jody/work/SVN/branches/2009.1/3rdparty/SIPMAP/200901/Linux64/siplib/libSipmapShell.so.9.1) 09:30:12 DEBUG: SpBTFFileManager::buildLookupTable: Search radius for ../../../Data/synth_XY.ssf lookup tables = 212.132 XXX no SpBTFFileManager::BDFInfo ==29408== ==29408== ERROR SUMMARY: 21 errors from 3 contexts (suppressed: 10 from 5) ==29408== malloc/free: in use at exit: 3,231,557 bytes in 1,785 blocks. ==29408== malloc/free: 135,976 allocs, 134,191 frees, 13,558,793 bytes allocated. ==29408== For counts of detected errors, rerun with: -v ==29408== searching for pointers to 1,785 not-freed blocks. ==29408== checked 126,251,432 bytes. ==29408== ==29408== LEAK SUMMARY: ==29408== definitely lost: 45,240 bytes in 18 blocks. ==29408== indirectly lost: 1,126 bytes in 5 blocks. ==29408== possibly lost: 17,333 bytes in 304 blocks. ==29408== still reachable: 3,167,858 bytes in 1,458 blocks. ==29408== suppressed: 0 bytes in 0 blocks. ==29408== Rerun with --leak-check=full to see details of leaked memory. On Tuesday, June 09, 2009, at 08:08AM, "Julian Seward" <js...@ac...> wrote: > >> ==16587== Conditional jump or move depends on uninitialised value(s) >> ==16587== at 0x4907107: strlen (mc_replace_strmem.c:275) >> ==16587== by 0xDF485A0: sgygtn_f (in >> /scratch/jody/work/SVN/branches/2009.1/3rdparty/SIPMAP/200901/Linux64/sipli >>b/libSipmapShell.so.9.1) ==16587== by 0x7FEFFC67F: ??? >> ==16587== >> ==16587== Conditional jump or move depends on uninitialised value(s) >> ==16587== at 0x4907107: strlen (mc_replace_strmem.c:275) >> ==16587== by 0xDF485A0: sgygtn_f (in >> /scratch/jody/work/SVN/branches/2009.1/3rdparty/SIPMAP/200901/Linux64/sipli >>b/libSipmapShell.so.9.1) ==16587== by 0x7FEFFC6A7: ??? >> ==16587== >> ==16587== Conditional jump or move depends on uninitialised value(s) >> ==16587== at 0x4907107: strlen (mc_replace_strmem.c:275) >> ==16587== by 0xDF485A0: sgygtn_f (in >> /scratch/jody/work/SVN/branches/2009.1/3rdparty/SIPMAP/200901/Linux64/sipli >>b/libSipmapShell.so.9.1) ==16587== by 0x7FEFFB947: ??? >> 13:01:36 DEBUG: SpBTFFileManager::buildLookupTable: Search radius for >> ../../../Data/synth_XY.ssf lookup tables = 212.132 > >Use --track-origins=yes, and find and fix the above errors. Then >see whether Callgrind still crashes. > >J > > |