Control: tags -1 pending
On mer, apr 29, 2015 at 09:56:51 +0200, Mathieu Malaterre wrote:
> Package: valgrind
> Version: 1:3.10.0-4
> Severity: normal
>
> Dear Maintainer,
>
> It feels like there is a missing suppression for openmp on valgring+openmp
> (jessie amd64). Steps:
>
> $ cat t.c
> int main()
> {
> }
> $ gcc -o t t.c -fopenmp
> $ valgrind --leak-check=full --show-leak-kinds=all ./t
> ==4125== Memcheck, a memory error detector
> ==4125== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
> ==4125== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
> ==4125== Command: ./t
> ==4125==
> ==4125==
> ==4125== HEAP SUMMARY:
> ==4125== in use at exit: 8 bytes in 1 blocks
> ==4125== total heap usage: 2 allocs, 1 frees, 32,824 bytes allocated
> ==4125==
> ==4125== 8 bytes in 1 blocks are still reachable in loss record 1 of 1
> ==4125== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
> ==4125== by 0x4E3B628: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
> ==4125== by 0x4E447C7: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
> ==4125== by 0x4E39D2C: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
> ==4125== by 0x400E9F9: call_init.part.0 (dl-init.c:78)
> ==4125== by 0x400EAE2: call_init (dl-init.c:36)
> ==4125== by 0x400EAE2: _dl_init (dl-init.c:126)
> ==4125== by 0x40011C9: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
> ==4125==
> ==4125== LEAK SUMMARY:
> ==4125== definitely lost: 0 bytes in 0 blocks
> ==4125== indirectly lost: 0 bytes in 0 blocks
> ==4125== possibly lost: 0 bytes in 0 blocks
> ==4125== still reachable: 8 bytes in 1 blocks
> ==4125== suppressed: 0 bytes in 0 blocks
> ==4125==
> ==4125== For counts of detected and suppressed errors, rerun with: -v
> ==4125== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
I just added the following suppression to the debian.supp file:
{
openmp with libgomp bug#783685
Memcheck:Leak
fun:malloc
fun:gomp_malloc
fun:gomp_init_num_threads
fun:initialize_env
fun:call_init.part.0
fun:call_init
}
Thanks for reporting.
Cheers
signature.asc
Description: Digital signature

