🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2528

Re: Memory Leak - TForm or TStringGrid or DynamicArray

#2528
From: Remy Lebeau (TeamB)
Date: Fri, 09 Feb 2007 21:13
20 lines
2005 bytes
"Dan Mayo" <do_not_spam_dmayo2@netzero.com> wrote in message
news:45ccd362$1@newsgroups.borland.com...

> Oh but it did

That was not a crash in auto_ptr itself.  That was a crash in the
construction of the TForm *before* the auto_ptr was created.

> No.  The subform has really nothing on it.  Here is all the code on
the
> subform, with the names changed to protect the innocent:

There is nothing in that code that can cause the kind of crashing you
are describing.  So that leave another possibility - code elsewhere in
your project is probably messing up memory, causing random crashes in
unrelated areas.


Gambit
Technical Details
Message-ID: <45cce43c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <45c7810f@newsgroups.borland.com> <45c7dc8d$1@newsgroups.borland.com> <45c89ec6@newsgroups.borland.com> <45ca4546$1@newsgroups.borland.com> <0sqks2t4c90epuc62bv635h36cqeat0ujd@4ax.com> <45cb3451$1@newsgroups.borland.com> <ptems2p2k2rquqdiao805ik2fhg6jl9n9a@4ax.com> <45cb5f6b@newsgroups.borland.com> <45cba995$1@newsgroups.borland.com> <45cbb722$1@newsgroups.borland.com> <45cc8d73$1@newsgroups.borland.com> <45ccc54f$1@newsgroups.borland.com> <45ccd362$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,191a7d21d69bde32
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <45c7810f@newsgroups.borland.com> <45c7dc8d$1@newsgroups.borland.com> <45c89ec6@newsgroups.borland.com> <45ca4546$1@newsgroups.borland.com> <0sqks2t4c90epuc62bv635h36cqeat0ujd@4ax.com> <45cb3451$1@newsgroups.borland.com> <ptems2p2k2rquqdiao805ik2fhg6jl9n9a@4ax.com> <45cb5f6b@newsgroups.borland.com> <45cba995$1@newsgroups.borland.com> <45cbb722$1@newsgroups.borland.com> <45cc8d73$1@newsgroups.borland.com> <45ccc54f$1@newsgroups.borland.com> <45ccd362$1@newsgroups.borland.com>
Subject: Re: Memory Leak - TForm or TStringGrid or DynamicArray
Date: Fri, 9 Feb 2007 13:13:58 -0800
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.83.34.171
Message-ID: <45cce43c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1171055676 75.83.34.171 (9 Feb 2007 13:14:36 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail