ID: 19321 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: cURL related Operating System: MacOSX 10.1.5 PHP Version: 4CVS-2002-09-09 New Comment:
At most this is a cURL error, however, a better guess is that MacOS X is FUBAR. Previous Comments: ------------------------------------------------------------------------ [2002-09-09 14:55:41] [EMAIL PROTECTED] Here is the script that will produce the bug. Here is an exemple of final message It doesn't happen always on the same number, but it always happened to me before the end of this array of URL. *********************************** 33 : www.52w.net curl_exec http://www.52w.net curl_error Connect failed 34 : www.52www.net curl_exec http://www.52www.net *** malloc[13148]: error: Can't allocate region mach_port_type() failed (ipc/mig) wrong reply message ID task_get_bootstrap_port() failed (ipc/mig) wrong reply message ID Abort [localhost:~/Sites] imac% *********************************** I'm still on Macosx 10.1.5 curl 7.10-pre2 (powerpc-apple-darwin5.5) libcurl/7.10-pre2 zlib/1.1.3 #!/usr/bin/php -q <?php error_reporting(E_ALL); $i = 0; $r = array('germany.gs','gifts.gs','girl.gs','gisler.gs','gs- www.gs','www.bank.cn.gs','banks.gs','www.4-w.net','www.411n ow.net','www.44w. net','www.4989now.net','www.4all2know.net','www.4anewvw.net ','www.4ashow.net' ,'www.4bizlaw.net','www.4dw.net','www.4epw.net','www.4fw.ne t','www.4gw.net' ,'www.4healthnow.net','www.4hesajollygoodfellow.net','www.4 law.net','www.4moneynow. net','www.4payperview.net','www.4pornnow.net','www.4review. net','www.4shaw. net','www.4sw.net','www.4u2know.net','www.4ww.net','www.4ww w.net','www.501c3law. net','www.50thglasgow.net','www.52w.net','www.52www.net','w ww.55w.net','www. 56w.net','www.5i5w.net','www.5law.net','www.5starview.net', 'www.62w.net','www. 650-blew.net','www.650blew.net','www.66w.net','www.77w.net' ,'www.7law.net' ,'www.7now.net','www.800-baby- law.net','www.800-babylaw.net','www.800-call-now.net'); foreach($r as $site){ print "$i : $site "; curl('http://'.$site); print " \n"; $i++; } function curl($site){ $ch = curl_init ($site); curl_setopt ($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt ($ch, CURLOPT_HEADER, 1); curl_setopt ($ch, CURLOPT_NOBODY, 1); curl_setopt ($ch, CURLOPT_TIMEOUT, 10); print "curl_exec $site\n"; $retour = curl_exec ($ch); print "curl_error\n"; print curl_error($ch); curl_close ($ch); return $retour; } ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19321&edit=1
