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 Wed, Feb 17, 2016 at 08:07:06PM +0100, Stephen R. van den Berg wrote:
> Stephen R. van den Berg wrote:
> >The fixes are in, though.  Should be in 8.0.176 and higher (also
> >checked into 8.1).
> 
> Needless to say perhaps, but please check if it solves your problem
> and report back.

Testing with HEAD at 0983ca7 with a non-debug build things seems
to be working well, but on a debug build, I get a segfault
when I try to destroy a connection.

-=-=-=-=-
Pike v8.0 release 175 running Hilfe v3.5 (Incremental Pike Frontend)
> object foo = Sql.Sql("pgsql://hungerf3@localhost:5432/hungerf3");
> foo=0;
(1) Result: 0/home/hungerf3/git/pike/src/svalue.c:2035: Fatal error:
Using unmarked freed svalue at 0x7f1245613110.
Backtrace at time of fatal:
/usr/local/pike/8.0.175/lib/modules/Sql.pmod/pgsql.pike:1185:
  unknown function()
Aborted (core dumped)
-=-=-=-=-

I'll do some more testing, and see if I run into any problems
with the non-debug build.

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