freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: manoranjan_sahu AT agilent.com
- To: freetds AT lists.ibiblio.org
- Subject: RE: [freetds] Memory Leaks during Connect
- Date: Fri, 1 Aug 2003 11:11:30 -0600
Thanks,
I am using Purify on Solaris to see these memory leaks.
I am not quite sure how I can checkout the new version. Is it possible to
pick up the
files you have changed ??
Appreciate any help .
--Manoranjan
-----Original Message-----
From: Frediano Ziglio [mailto:freddyz77 AT tin.it]
Sent: Thursday, July 31, 2003 10:30 PM
To: FreeTDS Development Group
Subject: Re: [freetds] Memory Leaks during Connect
Il ven, 2003-08-01 alle 04:22, manoranjan_sahu AT agilent.com ha scritto:
> Hello,
> I am getting about 150 bytes memory leak for each connection to the SQL
> server. Here is a sample program and some stack trace from where the memory
> was allocated. My guess is that the memory is not being freed during
> SQLDisconnect.
>
> I am using freetds0.61 with unixodbc2.2.5 to connect to SQL server 2000.
>
> Please let me know if there is going to be fix for this bug.
>
I merged the fix from 0.62 (developing version) to 0.61 (CVS).
If you can access CVS you can checkout this version.
James: Can you update distribution for 0.61 ?
> MLK: 12 bytes leaked at 0x1fdff0
> This memory was allocated from:
> malloc [rtlib.o]
> tds_alloc_locale [mem.c:481]
> tds_get_locale [locale.c:60]
> tds_alloc_context [mem.c:459]
> _SQLAllocEnv [odbc.c:530]
> SQLAllocHandle [odbc.c:475]
> __connect_part_one [SQLConnect.c:1089]
> SQLConnect [SQLConnect.c:3429]
> main [odbc_unpure.o]
> _start [crt1.o]
>
What tools are you using to discovery memory leak ?
bye
freddy77
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
-
Re: [freetds] Memory Leaks during Connect,
Frediano Ziglio, 08/01/2003
- <Possible follow-up(s)>
-
RE: [freetds] Memory Leaks during Connect,
Lowden, James K, 08/01/2003
- Re: [freetds] Memory Leaks during Connect, James K. Lowden, 08/02/2003
-
RE: [freetds] Memory Leaks during Connect,
manoranjan_sahu, 08/01/2003
- RE: [freetds] Memory Leaks during Connect, Frediano Ziglio, 08/02/2003
Archive powered by MHonArc 2.6.24.