php-developer-list | 2001122
Date: 12/31/01
- Next message: sterling <email protected>: "[PHP-DEV] Bug #14371 Updated: RETURN_TRANSFER dies if site doesn't ping"
- Previous message: sterling <email protected>: "[PHP-DEV] Bug #14709 Updated: segmentation fault"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 14142
Updated by: sterling
Reported By: chassaing <email protected>
Old Status: Open
Status: Closed
Bug Type: cURL related
Operating System: FreeBSD 4.1
PHP Version: 4.1.0RC2
New Comment:
fixed in 4.1.*
Previous Comments:
------------------------------------------------------------------------
[2001-11-20 06:47:29] chassaing <email protected>
Forgot the compile options :
'./configure' '--with-gd=/usr/home/domi4/src/gd-1.8.4' '--enable-exif' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--enable-gd-native-ttf' '--with-mysql=/usr/local' '--disable-pear' '--with-config-file-path=/usr/home/domi4/etc' '--enable-debug=no' '--enable-force-cgi-redirect=yes' '--with-zlib' '--with-openssl=/usr/local/ssl' '--with-curl=/usr/home/domi4/src/curl-7.9' '--with-dom=/usr/home/domi4/'
------------------------------------------------------------------------
[2001-11-20 06:43:36] chassaing <email protected>
When calling curl_exec twice with RETURNTRANSFER option there's a (reproductible) core dump. Here's a test case :
$ch=curl_init();
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch,CURLOPT_URL,'http://www.yahoo.com');
curl_exec($ch);
echo('this text is displayed');
curl_exec($ch);
echo('this text is not displayed (core dump instead)');
The problem shows up in 4.1.0RC1 AND 4.1.0RC2 (but not 4.0.6). If you remove the RETURNTRANSFER option then it works fine. I'm affraid I don't have the knowledge to compile a debug version and give more infos.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14142&edit=1
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: sterling <email protected>: "[PHP-DEV] Bug #14371 Updated: RETURN_TRANSFER dies if site doesn't ping"
- Previous message: sterling <email protected>: "[PHP-DEV] Bug #14709 Updated: segmentation fault"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

