#19301 [Com]: curl_exec crashes

From: Date: Sun, 29 Jun 2003 11:04:49 +0000
Subject: #19301 [Com]: curl_exec crashes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-42713@lists.php.net to get a copy of this message
ID: 19301 Comment by: DCC_CAMPBELL at YAHOO dot COM Reported By: honza at honza dot info Status: Bogus Bug Type: cURL related Operating System: Windows XP Professional CZ PHP Version: 4.2.3 Assigned To: jmoore New Comment: Just curious, was this ever resolved? I am currently working on install phpmysearch utility on my site under windows XP, Apache 2.0.39, PHP 4.2.2. When I attempt to utilize the search builder (spider), Apache crashes. I believe it is related to the call from PHP to Curl but I am unsure. When I get the 'send error to microsoft' if I check detail it specifies a NTDLL.DLL. Rather odd. Previous Comments: ------------------------------------------------------------------------ [2002-10-28 04:29:01] kja at filanet dot dk Sterling, just a little curious: What made you conclude "not a php bug"? From the stack trace it looked like it was a call from php that caused the OS to choke. Sure, that could just be another Win "feature", but what is then the change between php 4.1.2 and 4.2.x that have caused this? Thanks! ------------------------------------------------------------------------ [2002-10-27 18:55:38] sterling@php.net not a php bug... ------------------------------------------------------------------------ [2002-09-30 17:21:51] edink@php.net I've manged to get a backtrace using the latest CVS version: It crashes in ext/curl/curl.c:313 NTDLL! 77f83941() NTDLL! 77f838c6() curl_write(char * 0x011607d9, unsigned int 0x00000001, unsigned int 0x0000048b, void * 0x00dcd248) line 313 + 25 bytes PHP_CURL! Curl_client_write + 54 bytes PHP_CURL! Curl_readwrite + 3191 bytes PHP_CURL! Curl_perform + 1135 bytes PHP_CURL! Curl_perform + 120 bytes PHP_CURL! curl_easy_perform + 33 bytes zif_curl_exec(int 0x00dcc190, _zval_struct * 0x00db2780, _zval_struct * 0x0012fe04, int 0x00001000, void * * * 0x7ffdf000) line 921 + 11 bytes zend_execute_scripts(int 0x00000008, void * * * 0x00db2780, _zval_struct * * 0x00000000, int 0x00000003) line 834 + 34 bytes php_execute_script(_zend_file_handle * 0x0012ff48, void * * * 0x00db2780) line 1537 + 27 bytes main(int 0x00000003, char * * 0x00db4f78) line 1055 + 17 bytes mainCRTStartup() line 338 + 17 bytes KERNEL32! 77e8d326() ------------------------------------------------------------------------ [2002-09-30 17:09:24] jmoore@php.net reopening as snaps system uses latest release of curl. - James ------------------------------------------------------------------------ [2002-09-30 15:45:50] jmoore@php.net mine was latest CVS on the date I posted it, it might be a bug in curl which is casuing the crash and the machine which is doing the snap shot builds is using an older version. Ill find out and get that updated if that is the case. CLosing this bug for now as it seems a tertary problem rather than a PHP one. - James ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19301 -- Edit this bug report at http://bugs.php.net/?id=19301&edit=1

« previous php.bugs (#42713) next »