From:             judas dot iscariote at gmail dot com
Operating system: Linux 
PHP version:      5CVS-2005-12-24 (CVS)
PHP Bug Type:     PDO related
Bug description:  egfault on PDOStatement::execute() with 
zend.ze1_compatibility_mode = On(again)

Description:
------------
bug #35784 is still present..

Reproduce code:
---------------
same as bug #35784

Expected result:
----------------
no segfault

Actual result:
--------------
gdb) run -d zend.ze1_compatibility_mode=On pdo.php
Starting program: /usr/bin/php -d zend.ze1_compatibility_mode=On pdo.php
[Thread debugging using libthread_db enabled]
[New Thread 46912513283232 (LWP 10176)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912513283232 (LWP 10176)]
zend_objects_store_del_ref (zobject=0x91fc50) at
/usr/src/debug/php-5.1.2/Zend/zend_objects_API.c:156
156             if (EG(objects_store).object_buckets[handle].valid) {
(gdb) bt
#0  zend_objects_store_del_ref (zobject=0x91fc50) at
/usr/src/debug/php-5.1.2/Zend/zend_objects_API.c:156
#1  0x00002aaaae9d3a28 in zif_PDO_prepare (ht=1, return_value=0x920aa8,
return_value_ptr=<value optimized out>,
    this_ptr=0x91fbe8, return_value_used=<value optimized out>) at
/usr/src/debug/php-5.1.2/ext/pdo/pdo_dbh.c:502
#2  0x000000000054f605 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7ffffff9c480) at zend_vm_execute.h:192
#3  0x000000000054ecf3 in execute (op_array=0x920778) at
zend_vm_execute.h:92
#4  0x0000000000532a7c in zend_execute_scripts (type=8, retval=<value
optimized out>, file_count=3)
    at /usr/src/debug/php-5.1.2/Zend/zend.c:1101
#5  0x00000000004f599a in php_execute_script (primary_file=0x7ffffff9eb40)
at /usr/src/debug/php-5.1.2/main/main.c:1720
#6  0x00000000005c30d5 in main (argc=4, argv=0x7ffffff9ecf8) at
/usr/src/debug/php-5.1.2/sapi/cli/php_cli.c:1077

php -v 
PHP 5.1.2RC2-dev (cli) (built: Dec 24 2005 15:27:22)

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

Reply via email to