From:             mark at everytruckjob dot com
Operating system: slackware 10.1 glibc 2.3.4
PHP version:      5CVS-2005-03-31 (dev)
PHP Bug Type:     Reproducible crash
Bug description:  cli segv with https wrapper

Description:
------------
The reproducable code worked using cli with php 5.0.3 but causes a
segmentation fault with 5.0.4 and php5-200503311430.

The http wrapper still works fine.

The same code works under apache2 with all versions.

I recompiled php 5.0.4 without the pfpro extension (the backtrace made me
want to try this) and no segfault occured, so maybe some changes with the
https wrapper is conflicting with the pfpro extension (which hasn't had
any changes committed in 10 months)?


Reproduce code:
---------------
$contents = file_get_contents("https://www.glo-bus.com/";);

// OR
$contents = file("https://www.glo-bus.com/";);

Expected result:
----------------
$contents would contain the contents of the url requested.

Actual result:
--------------
php 5.0.4 backtrace:
http://www.tuscaloosadesigncompany.com/php-5.0.4-bt.txt

php5-200503311430 backtrace:
http://www.tuscaloosadesigncompany.com/php5-200503311430.bt.txt




-- 
Edit bug report at http://bugs.php.net/?id=32519&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=32519&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=32519&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=32519&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=32519&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=32519&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=32519&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=32519&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=32519&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=32519&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=32519&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=32519&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=32519&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=32519&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=32519&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=32519&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=32519&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=32519&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=32519&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=32519&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=32519&r=mysqlcfg

Reply via email to