Skip to Content.
Sympa Menu

freetds - [freetds] *** glibc detected *** double free or corruption (fasttop): 0x08c919f8

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: John <ionutz22 AT gmail.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] *** glibc detected *** double free or corruption (fasttop): 0x08c919f8
  • Date: Mon, 17 Apr 2006 21:52:24 +0300

Hi,

I have the following installed on my system.

OS - CentOS 4.3 i386
DBI - 1.40
DBD::Sybase - 1.07
FreeTDS - 0.63
ASE - Adaptive Server Enterprise/12.5.3/EBF 13204 ESD#6/P/Linux

I have a small perl script that runs without problems with this
configuration or when I use Open Client libraries instead of FreeTDS.
The script is:

#!/usr/bin/perl -w
use strict;
use DBI;
my ($dbh,$sql,$sth);
$dbh = DBI->connect("dbi:Sybase:server=bbox","sa","");
$dbh->do("use master");
$sth=$dbh->prepare("select name from sysobjects where type='U' order by
name");
$sth->execute;
my @tables=();
while (my @r=$sth->fetchrow()){
push(@tables,$r[0]);
print "@r\n";
}
$dbh->disconnect;
print "done\n";
1;

I upgraded FreeTSD to 0.64RC2 and my scripts runs OK (I get my
results) but I get the following error/warning:

<snip>
done
*** glibc detected *** double free or corruption (fasttop): 0x08b6c9e0 ***
Aborted
</snip>

I get the same error if I use FreeTDS current snapshot. I also get the error
with the following configuration.

OS - CentOS 4.3 x86_64
DBI - 1.40
DBD::Sybase - 1.07
FreeTDS - 0.64RC2 or current snapshot
ASE - Adaptive Server Enterprise/12.5.3/EBF 13204 ESD#6/P/Linux

If I comment out the line containing "$dbh->disconnect;" the script
doesn't generate this warning/error.

Did anyone encountered this kind of problem ? Can it be fixed ?
Thanks for any direction you can provide.

-John.







--
Best regards,
John




  • [freetds] *** glibc detected *** double free or corruption (fasttop): 0x08c919f8, John, 04/17/2006

Archive powered by MHonArc 2.6.24.

Top of Page