Re: memory debugging and C++ (program keeps crashing)
Hi Brian,
Now that you found the bug, do you still hold the same opinion on each
program you posted?
Here is some question and supplemental info I did not supply.
On Sun, Sep 29, 2002 at 02:01:38PM +1000, Brian May wrote:
> On Sat, Sep 28, 2002 at 08:10:27PM -0700, Osamu Aoki wrote:
> > * njamd
>
> reports heaps of memory leaks even before my program starts.
>
> > * valgrind
>
> requires unstable.
How was compiled from source binary in stable acting?
This seems to be most popular.
...
> > * memwatch
>
> Couldn't find this in Debian.
It is listed in GNU site.
http://www.gnu.org/directory/devel/debug/
http://www.gnu.org/directory/devel/debug/memwatch.html
> > * libgc6
>
> Couldn't work out how to use it; linking against it has no apparent
> affect (or maybe this just means no leaks detected?)
>
> > * Insure++ from Parasoft. (non-free, commercial for fee)
>
> URL?
http://www.parasoft.com/
...
> I suspect some sort of memory allocation error, but can't think
> of what would cause this problem. I was very careful not to free
> any memory still in use for instance (although I can't guarantee
> that there wasn't anything I missed).
You were right on :-)
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki @ Cupertino CA USA, GPG-key: A8061F32
.''`. Debian Reference: post-installation user's guide for non-developers
: :' : http://www.debian.org/doc/manuals/reference/ also http://qref.sf.net
`. `' "Our Priorities are Our Users and Free Software" --- Social Contract
Reply to: