[php-maint] Bug#423427: php4-odbc *** glibc detected *** double free or corruption (!prev)

Trev Peterson trev at advanced-reality.com
Fri May 11 19:14:01 UTC 2007


Package: php4-odbc
Version: 6:4.4.4-8+etch2
Architecture: amd64
Status: install ok installed
Severity: important

Error Message:
*** glibc detected *** double free or corruption (!prev):
0x0000000000986630 ***
Aborted

To test this I ran a simple php program test_odbc.php:
<?php
$conn=odbc_connect('TestDB','user','pass');
$sql="SELECT * FROM Page_Templates WHERE TypeID = 1"; 
$result=odbc_exec($conn,$sql);
print odbc_result($result, 'Type') . " <br />\n";
print odbc_result($result, 'Template_Name') . " <br />\n";
odbc_close($conn);
?>

Expected output:
General <br />
general.php <br />

Observed Output:
General <br />
general.php <br />
*** glibc detected *** double free or corruption (!prev):
0x00000000009867d0 ***
Aborted

Suggest Fix: None

Depends on Packages:
unixodbc	2.2.11-13
tdsodbc		0.63-3
php4-cgi	4.4.4-8+etch2
libapache2-mod-fcgid	1.10-2
linux-image-2.6-amd64	2.6.18+5
libc6		2.3.6.ds1-8

Kernel Version: 2.6.18-3-amd64

Libc Version: 2.3.6

Notes:
This system has php5 installed as an apache2 module and php4 installed
as fcgi.  test_odbc.php runs as expected under php5 but throws the error
under php4.

Thanks and let me know if there is additional information I can provide
or testing I can do to help resolve this.
-- 
Trev Peterson
Advanced Reality
Email: trev at advanced-reality.com
Phone: +1 847 406 9018






More information about the pkg-php-maint mailing list