Connecting Tech Pros Worldwide Help | Site Map

Bad Free() error

  #1  
Old August 17th, 2006, 02:55 AM
Pet Farrari
Guest
 
Posts: n/a
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Error Jeff answers 5 May 26th, 2007 12:45 PM
free() multiple allocation error in C a.zeevi@solidgroup.com answers 13 May 23rd, 2006 07:15 AM
Bad Reference? Yogesh answers 6 January 31st, 2006 02:55 AM
All-Out Flamewar... (was good/bad OOPS) matty answers 24 July 17th, 2005 01:12 AM