Mailinglist Archive: opensuse-factory (536 mails)

< Previous Next >
Re: [opensuse-factory] Leap 15 - valgrind misreports the number of allocations and amount of memory allocated
David,

On Mon, 07 May 2018, 11:56:36 +0200, David C. Rankin wrote:
[...]
All prior releases, valgind reports:

1-allocation, 4-bytes -- which is 100% correct.

Now on leap 15, the same code reports

2-allocations, 1028-bytes -- which is not correct.

did you try using the "--leak-check=full" flag? Maybe the runtime system
around your main function now allocates some memory, which it didn't
before. If that's the case, you should see some indication referring to
some other file than yours.

HTH, cheers.

l8er
manfred

< Previous Next >