Bad Free() error

P

Pet Farrari

Hi,

I recently upgraded perl to 5.8.8.
There is an error when I execute a perl script that interact with
postgres DB.
Here is the error:

[warn] [96181]ERR: 32: Warning in Perl code: Bad free() ignored
(PERL_CORE) at /usr/local/lib/perl5/site_perl/5.8.8/SnowPg.pm line 123

Line 123 from SnowPg.pm is trying to execute a sql statement:
undef $self->{query};
LINE 123 -->> my $r = $self->{conn}->exec($query);
$self->{query} = $r;

What should I do to fix this error/warning msg?

Thanks
Sam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,216
Latest member
topweb3twitterchannels

Latest Threads

Top