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]>
I've been testing with HEAD at 4887dfb, and overall things look
pretty good; I have run into a couple of errors while doing a long
running test of opening and destroying database connections over and
over.

The first is another case of access to an object after it has been destructed:

-=-=-=-=-
Cannot access variables in destructed object.
/usr/local/pike/8.0.175/lib/modules/Sql.pmod/pgsql.pike:1198:
    unknown function()
-=-=-=-=-

The second appears to be something odd when throwing the magicterminate
value as an error:

-=-=-=-=-
<Invalid backtrace/error container: 42>
/usr/local/pike/8.0.175/lib/master.pike:4416: describe_backtrace(42,80)
/usr/local/pike/8.0.175/lib/master.pike:1355:
    master()->call_describe_backtrace(42,UNDEFINED)
    /usr/local/pike/8.0.175/lib/master.pike:1699: master()->handle_error(42)
-=-=-=-=-

I haven't seen any leaking database conenctions, so the few errors haven't
stopped things from being properly cleaned up.

I have a few more tests in mind; I'll let you know if anything else turns up.

-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.