From:             manelcaro at gmail dot com
Operating system: Windows 2003 Server
PHP version:      4.4.1
PHP Bug Type:     ODBC related
Bug description:  Memory Leak (odbc_connect and odbc_close)

Description:
------------
We have a memory leak using Apache 2.0.54 and php 4.4.1 with odbc_connect
and odbc_close functions. The memory leak is about 150 KB using only this
two functions. We use odbc for connect to MAXDB database version
7.6.00.12. It produce a crash of Apache when it have about 100 MB.

Thanks.
Manel.

Reproduce code:
---------------
<?php

$cID= odbc_connect(...);
----
more code here {we try without the code and only with this functions and
the result is the same }
----
if($cID){
 odbc_close($cID);
}

?>


-- 
Edit bug report at http://bugs.php.net/?id=35223&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35223&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35223&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35223&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35223&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35223&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35223&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35223&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35223&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35223&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35223&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35223&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35223&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35223&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35223&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35223&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35223&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35223&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35223&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35223&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35223&r=mysqlcfg

Reply via email to