php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36353 Curl crush
Submitted: 2006-02-10 15:05 UTC Modified: 2006-02-10 15:49 UTC
From: anton at artpromcompany dot ru Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.4.2 OS: freebsd 4.11 and windows xp sp2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: anton at artpromcompany dot ru
New email:
PHP Version: OS:

 

 [2006-02-10 15:05 UTC] anton at artpromcompany dot ru
Description:
------------
Curl crushes when downloading some urls. 
One of them: 
http://www.surclaro.com/photo2340.html


Reproduce code:
---------------
	$url = 'http://www.surclaro.com/photo2340.html';
	$ch = curl_init($url); 
	curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 	8);
	curl_setopt($ch, CURLOPT_TIMEOUT, 	30);		
	curl_exec($ch); 
	curl_close($ch);

Expected result:
----------------
html page

Actual result:
--------------
php crush

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-10 15:11 UTC] derick@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
 [2006-02-10 15:15 UTC] tony2001@php.net
`curl http://www.surclaro.com/photo2340.html` crashes either -> report it to cURL developers, this is not PHP problem.
 [2006-02-10 15:49 UTC] anton at artpromcompany dot ru
I have just upgraded curl to 7.15.1 and now no crush for this url.

But it's strange why php for win32 uses old version of curl with bugs?
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Sep 08 14:00:01 2025 UTC