#35797 [Asn->Csd]: segfault on PDOStatement::execute() with zend.ze1_compatibility_mode = On
ID: 35797
Updated by: iliaa@php.net
Reported By: judas dot iscariote at gmail dot com
-Status: Assigned
+Status: Closed
Bug Type: PDO related
Operating System: *
PHP Version: 5CVS-2005-12-24 (CVS)
Assigned To: wez
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-12-30 15:14:02] tony2001@php.net
Wez, check the patch plz:
http://tony2001.phpclub.net/dev/tmp/bug35784.diff
------------------------------------------------------------------------
[2005-12-27 21:42:08] judas dot iscariote at gmail dot com
so.. extensions like PDO that doesn't support object cloning
can disable zend.ze1_compatibility_mode if detected or throw and
E_ERROR or something right ???
I don't use zend.ze1_compatibility_mode.. but I think this kind of
issues can be very confusing for people using it.
------------------------------------------------------------------------
[2005-12-26 09:46:45] dmitry@php.net
PDO doesn't support object cloning. It uses default
zend_objects_clone_obj() handler that doesn't copy PDO related data
structures. As a result we have crash.
------------------------------------------------------------------------
[2005-12-25 20:47:56] iliaa@php.net
seems to be another ze1 emulation problem, as it works fine normally.
------------------------------------------------------------------------
[2005-12-25 17:36:21] sniper@php.net
Ilia, you claimed this was fixed..
------------------------------------------------------------------------
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/35797
--
Edit this bug report at http://bugs.php.net/?id=35797&edit=1
Thread (7 messages)