From:             [EMAIL PROTECTED]
Operating system: 
PHP version:      5.3CVS-2008-09-09 (CVS)
PHP Bug Type:     SQLite related
Bug description:  Segfault when trying to instance SQLite3Stmt

Description:
------------
See below.

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

new SQLite3Stmt;

Actual result:
--------------
==25402== 
==25402== Invalid read of size 4
==25402==    at 0x820A761: php_sqlite3_stmt_object_free_storage
(zend.h:380)
==25402==    by 0x835C1F8: zend_objects_store_del_ref_by_handle_ex
(zend_objects_API.c:215)
==25402==    by 0x835C256: zend_objects_store_del_ref
(zend_objects_API.c:171)
==25402==    by 0x8339868: _zval_dtor_func (zend_variables.c:52)
==25402==    by 0x832C938: _zval_ptr_dtor (zend_variables.h:35)
==25402==    by 0x8373AA7: ZEND_NEW_SPEC_HANDLER (zend_vm_execute.h:492)
==25402==    by 0x835F5E2: execute (zend_vm_execute.h:104)
==25402==    by 0x8339A7E: zend_execute_scripts (zend.c:1197)
==25402==    by 0x82DF76C: php_execute_script (main.c:2075)
==25402==    by 0x83D1714: main (php_cli.c:1130)
==25402==  Address 0x8 is not stack'd, malloc'd or (recently) free'd
==25402== 
==25402== Process terminating with default action of signal 11 (SIGSEGV)
==25402==  Access not within mapped region at address 0x8
==25402==    at 0x820A761: php_sqlite3_stmt_object_free_storage
(zend.h:380)
==25402==    by 0x835C1F8: zend_objects_store_del_ref_by_handle_ex
(zend_objects_API.c:215)
==25402==    by 0x835C256: zend_objects_store_del_ref
(zend_objects_API.c:171)
==25402==    by 0x8339868: _zval_dtor_func (zend_variables.c:52)
==25402==    by 0x832C938: _zval_ptr_dtor (zend_variables.h:35)
==25402==    by 0x8373AA7: ZEND_NEW_SPEC_HANDLER (zend_vm_execute.h:492)
==25402==    by 0x835F5E2: execute (zend_vm_execute.h:104)
==25402==    by 0x8339A7E: zend_execute_scripts (zend.c:1197)
==25402==    by 0x82DF76C: php_execute_script (main.c:2075)
==25402==    by 0x83D1714: main (php_cli.c:1130)
==25402== 


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

Reply via email to