Perhaps someone can give me some help...
I¹d like to suppress a ³still reachable² warning, but perhaps I don¹t
understand Valgrind¹s behavior.
This is the leak I have:
==18070== 48 bytes in 1 blocks are still reachable in loss record 1 of 1
==18070== at 0x4A06019: operator new(unsigned long)
(vg_replace_malloc.c:167)
==18070== by 0x981FC3:
log4cpp::Appender::_addAppender(log4cpp::Appender*) (in
/home/blezek/Source/Testing/MI3CLibNightly-linux86-gcc/bin/NoOp)
<snip>
Valgrind reports 0 errors, but 48 bytes still reachable. I generated a
suppression and used it, but the output is exactly the same! Using the V
flag, I don¹t see that my suppression is being used. It looks like this:
{
log4cpp-2
Memcheck:Leak
fun:_vgrZU_libstdcZpZpZa__Znwm
fun:_ZN7log4cpp8Appender12_addAppenderEPS0_
fun:_ZN7log4cpp8AppenderC2ERKSs
fun:_ZN7log4cpp16AppenderSkeletonC2ERKSs
fun:_ZN7log4cpp14LayoutAppenderC2ERKSs
fun:_ZN7log4cpp15OstreamAppenderC1ERKSsPSo
fun:_ZN4mi3c6Logger17setDefaultLoggingESs
fun:main
}
And was generated by Valgrind directly.
I¹m running the latest release of Valgrind (3.4.1), and would be happy to
provide any further logs if it would help.
Best regards,
-dan
--
Daniel Blezek, PhD
Medical Imaging Informatics Innovation Center
P 127 or (77) 8 8886
T 507 538 8886
E [email protected]
Mayo Clinic
200 First St. S.W.
Harwick SL-44
Rochester, MN 55905
mayoclinic.org
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users