ID:          46033
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
 Status:      Open
 Bug Type:    SQLite related
 PHP Version: 5.3CVS, 6CVS
 New Comment:

See also:
new SQLite3Result;


Previous Comments:
------------------------------------------------------------------------

[2008-09-09 17:58:04] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=46033&edit=1

Reply via email to