Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 470BE476663 for ; Wed, 8 Jan 2003 09:58:11 -0500 (EST) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id DBB594763C2 for ; Wed, 8 Jan 2003 09:58:10 -0500 (EST) Received: by news.hub.org (Postfix, from userid 8) id CE5E643A443; Wed, 8 Jan 2003 09:58:10 -0500 (EST) From: g.hintermayer@inode.at (Gerhard Hintermayer) X-Newsgroups: comp.databases.postgresql.interfaces Subject: Re: still memory leaks with libpgtcl Date: 8 Jan 2003 06:30:58 -0800 Organization: http://groups.google.com/ Lines: 12 Message-ID: References: <785.1041999818@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-interfaces@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/40 X-Sequence-Number: 3540 The Tcl_Channel type mismatch was wrong alarm, ths is detected automatically (but should be corrected in future versions anyhow). The SEGV is, when Tcl_DontCallWhenDeleted is called, when the channel is shut down (PgDelConnectionId). Unfortunately notifies->interp is NULL and Tcl_DontCallWhenDeleted does not like that at all. This might be the reason, why the patch from ljb (sorry, no name) helps. I will track down that deeper tomorrow when I'm at home, posting via Google takes too long. Gerhard