Re: cvs: php-src(PHP_5_3) /ext/sqlite3 config.m4 php_sqlite3.h
| From: | Antony Dovgal | Date: | Fri, 01 Aug 2008 07:14:07 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) /ext/sqlite3 config.m4 php_sqlite3.h | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-51851@lists.php.net to get a copy of this message | ||
On 01.08.2008 02:24, Scott MacVicar wrote:
scottmac Thu Jul 31 22:24:05 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/sqlite3 config.m4 php_sqlite3.h Log:
Enable by default and fix compile error
There are 16 tests in ext/sqlite3 failing with a segfault.
Are you REALLY sure we need this extension enabled by default?
---------------
(gdb) r ext/sqlite3/tests/sqlite3_03_insert.php
Starting program: /local/dev/php/5_3/sapi/cli/php ext/sqlite3/tests/sqlite3_03_insert.php
Creating Table
bool(true)
INSERT into table
bool(true)
bool(true)
SELECTING results
Program received signal SIGSEGV, Segmentation fault.
0x00000000004e1a8b in zim_sqlite3result_fetchArray (ht=1, return_value=0xd07f80, return_value_ptr=0x0, this_ptr=0xd0cb00, return_value_used=1)
at /local/dev/php/5_3/ext/sqlite3/sqlite3.c:1238
1238 ret = sqlite3_step(result_obj->stmt_obj->stmt);(gdb) bt #0 0x00000000004e1a8b in zim_sqlite3result_fetchArray (ht=1, return_value=0xd07f80, return_value_ptr=0x0, this_ptr=0xd0cb00, return_value_used=1) at /local/dev/php/5_3/ext/sqlite3/sqlite3.c:1238 #1 0x00000000006adadd in zend_do_fcall_common_helper_SPEC (execute_data=0x2b3585f81090) at /local/dev/php/5_3/Zend/zend_vm_execute.h:313 #2 0x00000000006ae86c in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (execute_data=0x2b3585f81090) at /local/dev/php/5_3/Zend/zend_vm_execute.h:422 #3 0x00000000006acd29 in execute (op_array=0xd0c618) at /local/dev/php/5_3/Zend/zend_vm_execute.h:104 #4 0x000000000067e899 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /local/dev/php/5_3/Zend/zend.c:1199 #5 0x000000000060abb5 in php_execute_script (primary_file=0x7fff24c1fbe0) at /local/dev/php/5_3/main/main.c:2088 #6 0x0000000000720458 in main (argc=2, argv=0x7fff24c1fe38) at /local/dev/php/5_3/sapi/cli/php_cli.c:1155 (gdb) f 0 #0 0x00000000004e1a8b in zim_sqlite3result_fetchArray (ht=1, return_value=0xd07f80, return_value_ptr=0x0, this_ptr=0xd0cb00, return_value_used=1) at /local/dev/php/5_3/ext/sqlite3/sqlite3.c:1238
1238 ret = sqlite3_step(result_obj->stmt_obj->stmt);(gdb) p result_obj $1 = (php_sqlite3_result *) 0x0 -- Wbr, Antony Dovgal