#35223 [Fbk->Opn]: Memory Leak (odbc_connect and odbc_close)
| From: | manelcaro at gmail dot com | Date: | Wed, 16 Nov 2005 10:29:47 +0000 |
| Subject: | #35223 [Fbk->Opn]: Memory Leak (odbc_connect and odbc_close) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88261@lists.php.net to get a copy of this message | ||
ID: 35223
User updated by: manelcaro at gmail dot com
Reported By: manelcaro at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: ODBC related
Operating System: Windows 2003 Server
PHP Version: 5CVS, 4CVS (2005-11-15) (snap)
New Comment:
Hi kalowsky, I don't have backtrace for apache proc in windows 2003
(I'm sorry for inconvenience), only I see an access memory error and it
restarts.
You can found MAXDB in:
http://dev.mysql.com/downloads/maxdb/7.6.00.html
I want to test change odbc driver to release 7.5 and I think is
possible the bug are in this driver.
Thanks
Manel.
>>Why did you decide it's a memory leak?
If a memory increments without control, what do you think?
>>How exactly did you discover it?
Read the first POST, only with this 2 functions.
>>if possible, please try it on a real OS ...
what is a real OS? I think is not possible
Previous Comments:
------------------------------------------------------------------------
[2005-11-16 01:00:16] tony2001@php.net
I think you've got what I meant.
If there is a crash, I'd like to get a backtrace.
------------------------------------------------------------------------
[2005-11-16 00:49:21] kalowsky@php.net
Woah, wait a second here Tony. Unfortunatley Windows 2003 is a real
OS, so please keep the OS advocacy out of this forum. Let's stick to
the bug.
A better series of questions will be:
What driver manager are you using?
What exactly is MAXDB, and which version of ODBC is it compliant to?
Have you tried altering your cursor to a different type?
------------------------------------------------------------------------
[2005-11-16 00:19:42] tony2001@php.net
Why did you decide it's a memory leak?
How exactly did you discover it?
How exactly does it crash? (if possible, please try it on a real OS
where you're able to get a backtrace, not just a useless address that
points to nowhere). Thanks.
------------------------------------------------------------------------
[2005-11-15 15:24:22] manelcaro at gmail dot com
With this it does not happen:
<?php echo "foobar"; ?>
Manel.
------------------------------------------------------------------------
[2005-11-15 13:25:10] sniper@php.net
Does it leak when you don't use any of those funcs? ie. with something
like:
<?php echo "foobar"; ?>
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/35223
--
Edit this bug report at http://bugs.php.net/?id=35223&edit=1