Edit report at http://bugs.php.net/bug.php?id=54092&edit=1
ID: 54092 Updated by: il...@php.net Reported by: daniel dot buschke at nextiraone dot de Summary: Segmentation fault when using FTP proxy -Status: Open +Status: Feedback Type: Bug Package: Reproducible crash Operating System: Linux PHP Version: 5.2.17 Block user comment: N Private report: N New Comment: Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Cannot reproduce the crash in 5.3 Previous Comments: ------------------------------------------------------------------------ [2011-02-24 17:33:16] daniel dot buschke at nextiraone dot de Just for history: php -v ---------------- PHP 5.3.6RC2-dev (cli) (built: Feb 24 2011 17:17:30) (DEBUG) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies ---------------- ------------------------------------------------------------------------ [2011-02-24 17:31:07] daniel dot buschke at nextiraone dot de BackTrace of 5.3-latest: #0 0x08394b84 in _php_stream_write_filtered (stream=0x8888ca0, buf=0x87431c6 "QUIT\r\n", count=6, flags=0) at /usr/src/php5.3-201102241530/main/streams/streams.c:1001 #1 0x08394d24 in _php_stream_write (stream=0x8888ca0, buf=0x87431c6 "QUIT\r\n", count=6) at /usr/src/php5.3-201102241530/main/streams/streams.c:1067 #2 0x0834cdc0 in php_stream_ftp_stream_close (wrapper=0x87768e8, stream=0x8888d10) at /usr/src/php5.3-201102241530/ext/standard/ftp_fopen_wrapper.c:120 #3 0x083938f3 in _php_stream_free (stream=0x8888d10, close_options=11) at /usr/src/php5.3-201102241530/main/streams/streams.c:376 #4 0x0839591f in stream_resource_regular_dtor (rsrc=0x8888e14) at /usr/src/php5.3-201102241530/main/streams/streams.c:1433 #5 0x083f715b in list_entry_destructor (ptr=0x8888e14) at /usr/src/php5.3-201102241530/Zend/zend_list.c:184 #6 0x083f47fe in zend_hash_del_key_or_index (ht=0x878e42c, arKey=0x0, nKeyLength=0, h=5, flag=1) at /usr/src/php5.3-201102241530/Zend/zend_hash.c:500 #7 0x083f6e49 in _zend_list_delete (id=5) at /usr/src/php5.3-201102241530/Zend/zend_list.c:58 #8 0x08300d78 in zif_fclose (ht=1, return_value=0x88884f8, return_value_ptr=0x0, this_ptr=0x0, return_value_used=0) at /usr/src/php5.3-201102241530/ext/standard/file.c:957 #9 0x084145de in zend_do_fcall_common_helper_SPEC (execute_data=0x88b5258) at /usr/src/php5.3-201102241530/Zend/zend_vm_execute.h:316 #10 0x08418122 in ZEND_DO_FCALL_SPEC_CONST_HANDLER (execute_data=0x88b5258) at /usr/src/php5.3-201102241530/Zend/zend_vm_execute.h:1606 #11 0x08413c7b in execute (op_array=0x8887010) at /usr/src/php5.3-201102241530/Zend/zend_vm_execute.h:107 #12 0x083e6f23 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/php5.3-201102241530/Zend/zend.c:1194 #13 0x0837de64 in php_execute_script (primary_file=0xbffff12c) at /usr/src/php5.3-201102241530/main/main.c:2268 #14 0x084aa2f8 in main (argc=2, argv=0xbffff2a4) at /usr/src/php5.3-201102241530/sapi/cli/php_cli.c:1193 ------------------------------------------------------------------------ [2011-02-24 17:14:33] daniel dot buschke at nextiraone dot de Hi, PHP 5.3(!) is compiling with --enable-debug and --enable-ftp. Hope that's enough. Our test machine is not the fastest one ;-) But I am confused about 5.3. I think using 5.2-latest would be a better idea?! regards Daniel ------------------------------------------------------------------------ [2011-02-24 17:06:18] paj...@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2011-02-24 17:02:16] daniel dot buschke at nextiraone dot de BackTrace (without debug symbols, hope it is usefull): #0 0x082c9780 in ?? () #1 0x08286b4e in ?? () #2 0x082c9c54 in _php_stream_free () #3 0x082c9e1b in ?? () #4 0x08303a2c in list_entry_destructor () #5 0x08301288 in zend_hash_del_key_or_index () #6 0x08303cc0 in _zend_list_delete () #7 0x0824cc6d in zif_fclose () #8 0x08314381 in execute_internal () #9 0xb705e672 in xdebug_execute_internal () from /usr/lib/php5.2/lib/extensions/no-debug-non-zts-20060613/xdebug.so #10 0x0832a071 in ?? () #11 0x08318420 in execute () #12 0xb705e324 in xdebug_execute () from /usr/lib/php5.2/lib/extensions/no-debug-non-zts-20060613/xdebug.so #13 0x082f6d0c in zend_execute_scripts () #14 0x082b5724 in php_execute_script () #15 0x0836f023 in main () ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=54092 -- Edit this bug report at http://bugs.php.net/bug.php?id=54092&edit=1