Re: still memory leaks with libpgtcl

From: g(dot)hintermayer(at)inode(dot)at (Gerhard Hintermayer)
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: still memory leaks with libpgtcl
Date: 2003-01-08 14:30:58
Message-ID: bd4db85f.0301080630.5f2cdc0a@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 2003-01-08 14:48:16 Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm
Previous Message D'Arcy J.M. Cain 2003-01-08 13:57:42 Re: python interface