Bug #54092 [Fbk]: Segmentation fault when using FTP proxy
Edit report at http://bugs.php.net/bug.php?id=54092&edit=1
ID: 54092
Updated by: cataphract@php.net
Reported by: daniel dot buschke at nextiraone dot de
Summary: Segmentation fault when using FTP proxy
Status: Feedback
Type: Bug
Package: Reproducible crash
Operating System: Linux
PHP Version: 5.2.17
Block user comment: N
Private report: N
New Comment:
I can reproduce in 5.3 with Apache working as the proxy.
Previous Comments:
------------------------------------------------------------------------
[2011-02-24 21:52:05] iliaa@php.net
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
------------------------------------------------------------------------
[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] pajoye@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
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
Thread (10 messages)