ID: 22283 Updated by: [EMAIL PROTECTED] Reported By: pprocacci at datapipe dot com -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: FreeBSD4.7-Stable PHP Version: 4.3.0 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip And if it still is crashing, please provide a backtrace. Previous Comments: ------------------------------------------------------------------------ [2003-02-18 16:03:17] pprocacci at datapipe dot com My Knowledge of gdb is very limited, but I can get this far. ;( Program received signal SIGSEGV, Segmentation fault. 0x819f13d in php_stream_url_wrap_http () ------------------------------------------------------------------------ [2003-02-18 15:51:39] pprocacci at datapipe dot com PHP Version => 4.3.0 System => FreeBSD lucky 4.7-RELEASE-p4 FreeBSD 4.7-RELEASE-p4 #0: Mon i386 Build Date => Feb 17 2003 01:29:45 Configure Command => './configure' '--with-apxs=/usr/local/sbin/apxs' '--with-config-file-path=/usr/local/etc' '--enable-versioning' '--with-regex=system' '--without-gd' '--without-mysql' '--with-gd=/usr/local' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-zlib' '--with-bz2=/usr' '--with -mcrypt=/usr/local' '--with-mhash=/usr/local' '--with-pdflib=/usr/local' '--with-zlib-dir=/usr' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-tiff-dir=/usr/local' ' --with-imap=/usr/local' '--with-mysql=/usr/local' '--with-pgsql=/usr/local' '--with-dbase' '--with-gdbm=/usr/local' '--with-ldap=/usr/local' '--with-openssl=/usr' '--with-snmp=/usr/lo cal' '--enable-ucd-snmp-hack' '--with-openssl=/usr' '--with-expat-dir=/usr/local' '--with-xmlrpc' '--enable-xslt' '--with-xslt-sablot=/usr/local' '--enable-wddx' '--with-dom=/usr/loca l' '--enable-ftp' '--with-curl=/usr/local' '--with-gettext=/usr/local' '--with-iconv=/usr/local' '--with-pspell=/usr/local' '--enable-mbregex' '--enable-mbstring' '--enable-yp' '--ena ble-bcmath' '--with-hyperwave=yes' '--with-mcve=/usr/local' '--with-ming=/usr/local' '--with-mcal=/usr/local' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-trans-sid' '--with-yaz=/usr/local/bin' '--prefix=/usr/local' 'i386-portbld-freebsd4.7' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/etc PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, https, ftps, compress.bzip2, compress.zlib I know this sounds rediculous, but the following dumps core: #!/usr/local/bin/php <?php $fp = fopen("http://xanthus.net", "r"); if(!is_resource($fp)) die("Couldn't open xanthus.net\n"); fclose($fp); ?> ####################### while this one doesn't ####################### #!/usr/local/bin/php <?php $fp = fopen("http://php.net", "r"); if(!is_resource($fp)) die("Couldn't open php.net\n"); fclose($fp); ?> ############################ There seems to be a problem with the way php handles redirects. That page "xanthus.net" gets redirected to elsewhere, while php.net doesn't (or at least I think this is the reason.) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22283&edit=1
