On Thursday 21 May 2009, Matthew Metnetsky wrote:
> Valgrind Users,
>
> I would like to create a suppression file to hide the following two
> issues but it's not quite working. Basic suppression blocks I can do,
> but the calls above getpwuid_r/getgrgid_r are catching me. Any help
> would be greatly appreciated!
Use frame-level wildcards, as described at
http://www.valgrind.org/docs/manual/manual-core.html#manual-core.suppress
Note you will need to be running Valgrind >= 3.4.0 for this to work.
J
>
> ==31356== 292 (52 direct, 240 indirect) bytes in 1 blocks are definitely
> lost in loss record 339 of 371
> ==31356== at 0x4C278AE: malloc (vg_replace_malloc.c:207)
> ==31356== by 0x564610A: (within /lib/libc-2.9.so)
> ==31356== by 0x5646A06: __nss_database_lookup (in /lib/libc-2.9.so)
> ==31356== by 0x5EF03DF: ???
> ==31356== by 0x5EF1104: ???
> ==31356== by 0x55F2901: getgrgid_r (in /lib/libc-2.9.so)
> ==31356== by 0x55F1F9E: getgrgid (in /lib/libc-2.9.so)
> ==31356== by 0x4E3C0C3: ark_os_get_gname (ark-os.c:32)
> ==31356== by 0x4E37440: ark_file_new_local (ark-file.c:243)
> ==31356== by 0x40152C: ark_create (main.c:100)
> ==31356== by 0x40198C: main (main.c:255)
> ==31356==
> ==31356==
> ==31356== 292 (52 direct, 240 indirect) bytes in 1 blocks are definitely
> lost in loss record 340 of 371
> ==31356== at 0x4C278AE: malloc (vg_replace_malloc.c:207)
> ==31356== by 0x564610A: (within /lib/libc-2.9.so)
> ==31356== by 0x5646A06: __nss_database_lookup (in /lib/libc-2.9.so)
> ==31356== by 0x5EF133F: ???
> ==31356== by 0x5EF3264: ???
> ==31356== by 0x55F4051: getpwuid_r (in /lib/libc-2.9.so)
> ==31356== by 0x55F391E: getpwuid (in /lib/libc-2.9.so)
> ==31356== by 0x4E3C08A: ark_os_get_uname (ark-os.c:20)
> ==31356== by 0x4E3744E: ark_file_new_local (ark-file.c:243)
> ==31356== by 0x40152C: ark_create (main.c:100)
> ==31356== by 0x40198C: main (main.c:255)
>
>
> Thanks!
>
> ~ Matthew
>
> ---------------------------------------------------------------------------
>--- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is
> a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com
> _______________________________________________
> Valgrind-users mailing list
> Val...@li...
> https://lists.sourceforge.net/lists/listinfo/valgrind-users
|