Re: Pike 8.0: Sql.pgsql objects don't get garbage collected?

Jeff Hungerford <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <[email protected]>
On Sat, Feb 27, 2016 at 04:00:38AM +0100, Stephen R. van den Berg wrote:
> Ok, rethought the possible races.  Moved a Mutex closer to the source,
> and eliminated another.
> Fingers crossed, please retest.


Things are looking a lot better! It looks like we are down to one remaining
place where a race happens:

-=-=-=-=-
Indexing the NULL value with "i".
/usr/local/pike/8.0.181/lib/modules/Sql.pmod/pgsql.pike:630:
    pgsql(hungerf3@localhost:5432/hungerf3,0,0)->procmessage()
/usr/local/pike/8.0.181/lib/modules/Sql.pmod/pgsql.pike:624:
     pgsql(hungerf3@localhost:5432/hungerf3,0,0)->_processloop(conxion  fd: 39 input queue: 0/224 queued portals: 1  output queue: 0/224 )  
-=-=-=-=-

I'll keep poking a bit more and see if I can break anything else tonight.

-Jeff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.