Connecting Tech Pros Worldwide Forums | Help | Site Map

Bad Free() error

Pet Farrari
Guest
 
Posts: n/a
#1: Aug 17 '06
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

Closed Thread