On 29.04.2009 07:24, Greg Beaver wrote: > cellog Wed Apr 29 03:24:27 2009 UTC > > Modified files: (Branch: PHP_5_3) > /php-src/ext/phar phar.c phar_internal.h phar_object.c tar.c util.c > zip.c > Log: > MFPECL: fix PECL bug #16338, php_stream_copy_to_stream{,_ex}() >
This patch has introduced a segfault with the following backtrace: (gdb) bt #0 0x00000000009792be in _zval_ptr_dtor (zval_ptr=0x7fffe327b890, __zend_filename=0xedb8f0 "/local/qa/5_3.zts/ext/phar/phar_object.c", __zend_lineno=316) at /local/qa/5_3.zts/Zend/zend.h:392 #1 0x00000000006b9d3a in phar_file_action (phar=0x153d998, info=0x153bd50, mime_type=0xed7ecd "", code=0, entry=0x153c070 "/index.php", entry_len=10, arch=0x1520a98 "/local/qa/5_3.zts/ext/phar/tests/fatal_error_webphar.php", basename=0x153c0d8 "retrieveProjectCoverage", ru=0x0, ru_len=0, tsrm_ls=0x12291b0) at /local/qa/5_3.zts/ext/phar/phar_object.c:316 #2 0x00000000006bbd48 in zim_Phar_webPhar (ht=1, return_value=0x153ac50, return_value_ptr=0x0, this_ptr=0x0, return_value_used=0, tsrm_ls=0x12291b0) at /local/qa/5_3.zts/ext/phar/phar_object.c:878 #3 0x00000000009c99bf in zend_do_fcall_common_helper_SPEC (execute_data=0x7ff3db14e098, tsrm_ls=0x12291b0) at /local/qa/5_3.zts/Zend/zend_vm_execute.h:313 #4 0x00000000009cb011 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (execute_data=0x7ff3db14e098, tsrm_ls=0x12291b0) at /local/qa/5_3.zts/Zend/zend_vm_execute.h:422 #5 0x00000000009c81a4 in execute (op_array=0x153a930, tsrm_ls=0x12291b0) at /local/qa/5_3.zts/Zend/zend_vm_execute.h:104 #6 0x000000000098f4a6 in zend_execute_scripts (type=8, tsrm_ls=0x12291b0, retval=0x0, file_count=3) at /local/qa/5_3.zts/Zend/zend.c:1188 #7 0x00000000008d95f4 in php_execute_script (primary_file=0x7fffe3282620, tsrm_ls=0x12291b0) at /local/qa/5_3.zts/main/main.c:2166 #8 0x0000000000a9ee45 in main (argc=65, argv=0x7fffe3282848) at /local/qa/5_3.zts/sapi/cgi/cgi_main.c:2015 Unfortunately, I'm unable to tell now which test causes it, but hopefully Valgrind will tell me in an hour or so. -- Wbr, Antony Dovgal -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php