Article View: borland.public.cppbuilder.nativeapi
Article #5871Re: I'm leaking handles
From: Arnie
Date: Tue, 28 Jun 2005 12:07
Date: Tue, 28 Jun 2005 12:07
29 lines
1937 bytes
1937 bytes
"Michel Leunen" <nospam@noreply.please> wrote in message news:42c04b25$1@newsgroups.borland.com... > Arnie wrote: > >> Any ideas? > > Not really. If these tools don't tell you which handle is not > closed properly, your only choice is to find it yourself. Try > using a log file and log every call to every function > opening/releasing a handle. It might help. > > Michel > -- > ---------------------------------------- > Michel Leunen > mailto: see my homepage. > C++Builder, BCC5.5.1 Web site: > http://www.leunen.com/ > ---------------------------------------- I found the handles. They're to unnamed semaphores. I get an average of four each time the service thread wakes up and connects/disconnects to the DB. I've verified all my DB object CTOR/DTOR calls match up. I'm going to try to cobble together a simplified version to track down who is creating them and leaving them around. Thanks for your help, - Arnie
Technical Details
Message-ID:
<42c13e16$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42bed08b$1@newsgroups.borland.com> <42bf03a0$1@newsgroups.borland.com> <42c02cc5@newsgroups.borland.com> <42c04b25$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,43fae4ca79eb3beb X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Arnie" <none> Newsgroups: borland.public.cppbuilder.nativeapi References: <42bed08b$1@newsgroups.borland.com> <42bf03a0$1@newsgroups.borland.com> <42c02cc5@newsgroups.borland.com> <42c04b25$1@newsgroups.borland.com> Subject: Re: I'm leaking handles Date: Tue, 28 Jun 2005 08:07:01 -0400 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 12.29.236.34 Message-ID: <42c13e16$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1119960598 12.29.236.34 (28 Jun 2005 05:09:58 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail