[arch-general] valgrind 3.13.0-6 exclusions broken again
David C. Rankin
drankinatty at suddenlinkmail.com
Sat Apr 7 04:18:39 UTC 2018
On 04/01/2018 07:43 PM, David C. Rankin wrote:
>
> Now allocating for 1 integer reports 2 allocations and 1,028 bytes
> instead of 1 allocation and 4 bytes as it did a couple of days ago, e.g.:
>
> #include <stdio.h>
> #include <stdlib.h>
>
> int main (void) {
>
> int *a = malloc (sizeof *a);
> *a = 5;
> printf ("a: %d\n", *a);
> free (a);
> }
>
> The valgrind output:
>
> $ valgrind ./bin/vgtest2
> ==10415== Memcheck, a memory error detector
> ==10415== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
> ==10415== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
> ==10415== Command: ./bin/vgtest2
> ==10415==
> a: 5
> ==10415==
> ==10415== HEAP SUMMARY:
> ==10415== in use at exit: 0 bytes in 0 blocks
> ==10415== total heap usage: 2 allocs, 2 frees, 1,028 bytes allocated
> ==10415==
> ==10415== All heap blocks were freed -- no leaks are possible
> ==10415==
> ==10415== For counts of detected and suppressed errors, rerun with: -v
> ==10415== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
>
> I was looking for confirmation of the bug and whether the devs want it
> filed here to track or to not waste time filing with Arch and just file
> upstream?
>
I suspect this is a gcc-libs/valgrind issue, I updated
https://bugs.archlinux.org/task/49681 with the information.
--
David C. Rankin, J.D.,P.E.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20180406/10f1e4aa/attachment.asc>
More information about the arch-general
mailing list