#36402 [Com]: PDO_MYSQL prepared statements cause Out of memory or data corruption
| From: | ayuzhakov at swsoft dot com | Date: | Wed, 20 Sep 2006 05:46:27 +0000 |
| Subject: | #36402 [Com]: PDO_MYSQL prepared statements cause Out of memory or data corruption | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-102460@lists.php.net to get a copy of this message | ||
ID: 36402
Comment by: ayuzhakov at swsoft dot com
Reported By: joh at deworks dot net
Status: No Feedback
Bug Type: PDO related
Operating System: Linux
PHP Version: 5CVS-2006-02-15 (snap)
New Comment:
Have the same problem.
OS:
------------
root@c-ubn51:~/php/php5.2-200609200230# uname -a
Linux c-ubn51.sbvz.plesk.ru 2.6.8-022stab070.9-smp #1 SMP Thu Apr 20
10:35:42 MSD 2006 i686 GNU/Linux
root@c-ubn51:~/php/php5.2-200609200230# cat /etc/issue
Ubuntu 5.10 "Breezy Badger" \n \l
PHP version:
------------
PHP 5.1.1
PHP 5.1.4
PHP 5.1.6
PHP 5.2-200609200230 (snapshot)
All these versions have this bug.
MySQL server version:
------------
4.1.12-1ubuntu3.7 (native).
If I try to use MySQL 4.0.24-10ubuntu2.3 (native) or MySQL 4.1.12
(binaries from mysql.com), then it works fine.
Previous Comments:
------------------------------------------------------------------------
[2006-04-19 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2006-04-11 02:32:41] wez@php.net
Please try configuring PHP using:
--disable-zend-memory-manager
and then run the PHP script under valgrind from the CLI:
% ./configure ... --disable-zend-memory-manager --enable-cli
% make
% valgrind --tool=memcheck ./sapi/cli/php myscript.php
You can find valgrind at http://valgrind.org/.
This should highlight memory corruption issues.
------------------------------------------------------------------------
[2006-04-09 14:10:44] joh at deworks dot net
Just tested with the latest snapshot (php5.1-200604091030), and the
problem still persists.
------------------------------------------------------------------------
[2006-04-09 07:52:21] wez@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2006-04-06 13:48:24] czw at home dot se
Got the same error: PHP 5.1.2, MySQL 4.1.14. This error is
NOT present in PHP 5.1.1. I would suggest downgrading.
------------------------------------------------------------------------
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/36402
--
Edit this bug report at http://bugs.php.net/?id=36402&edit=1