[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please test pending bugfix release of base
From: |
Richard Frith-Macdonald |
Subject: |
Re: Please test pending bugfix release of base |
Date: |
Sat, 18 Jun 2011 15:08:20 +0100 |
On 18 Jun 2011, at 14:32, David Chisnall wrote:
> On 18 Jun 2011, at 08:41, Richard Frith-Macdonald wrote:
>
>> I've toyed with the idea of providing a standard mechanism to register
>> objects in some way rather than storing them in static variables, so we
>> could (when in debug mode) release all such registered objects from an
>> atexit handler. Of course, going through all the codebase and changing all
>> the deliberately 'leaked' data to be registered that way would be a large
>> undertaking for no operational gain ... but the advantage for tracking leaks
>> is big enough that I'd be prepared to devote some time to it.
>
>
> Valgrind will not report things stored in static variables as leaked (they
> will be in the still reachable at exit total), so anything that valgrind is
> reporting is really being lost.
Actually it reports some (all?) such things as 'possibly lost' rather than
'definitely lost' ... so if you actually want to check for leaks you need to
step through all the valgrind output and check all those cases anyway (I
certainly don't feel safe in ignoring a leak just because it says it's a
'possible' one rather than a 'definite' one).
- Re: Please test pending bugfix release of base, (continued)
- Re: Please test pending bugfix release of base, Quentin Mathé, 2011/06/18
- Cleanup of memory on process exit, Richard Frith-Macdonald, 2011/06/19
- Re: Cleanup of memory on process exit, Quentin Mathé, 2011/06/19
- Re: Please test pending bugfix release of base, Ivan Vučica, 2011/06/18
- Re: Please test pending bugfix release of base, Sebastian Reitenbach, 2011/06/18
- Re: Please test pending bugfix release of base, Richard Frith-Macdonald, 2011/06/18
- Re: Please test pending bugfix release of base, David Chisnall, 2011/06/18
- Re: Please test pending bugfix release of base,
Richard Frith-Macdonald <=
Re: Please test pending bugfix release of base, Quentin Mathé, 2011/06/18
Re: Please test pending bugfix release of base, Sebastian Reitenbach, 2011/06/19
Re: Please test pending bugfix release of base -- problem with gnustep-base configure, Sebastian Reitenbach, 2011/06/29