Bug #78145 [Opn->Fbk]: Use curl get contents from url that can not be reached, crashed.

From: Date: Tue, 11 Jun 2019 15:25:03 +0000
Subject: Bug #78145 [Opn->Fbk]: Use curl get contents from url that can not be reached, crashed.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221225@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78145&edit=1 ID: 78145 Updated by: nikic@php.net Reported by: happycock at 163 dot com Summary: Use curl get contents from url that can not be reached, crashed. -Status: Open +Status: Feedback Type: Bug Package: cURL related Operating System: macOS Mojave PHP Version: 7.3.6 Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2019-06-11 15:10:08] happycock at 163 dot com Description: ------------ Use curl get contents from url that can not be reached, crashed. Test script: --------------- <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "a"); $return = curl_exec($ch); curl_close($ch); Actual result: -------------- Segmentation fault: 11 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78145&edit=1

« previous php.bugs (#221225) next »