#19301 [Com]: curl_exec crashes
| From: | kja at filanet dot dk | Date: | Mon, 28 Oct 2002 10:29:02 +0000 |
| Subject: | #19301 [Com]: curl_exec crashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23538@lists.php.net to get a copy of this message | ||
ID: 19301
Comment by: kja@filanet.dk
Reported By: honza@honza.info
Status: Bogus
Bug Type: cURL related
Operating System: Windows XP Professional CZ
PHP Version: 4.2.3
Assigned To: jmoore
New Comment:
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!
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2002-09-30 04:32:32] kja@filanet.dk
I just tried your latest-cvs-with-curl build and yes that is also
working for me.
However, the latest non-stable snapshot
http://snaps.php.net/win32/php4-win32-latest.zip
(dated 20020929) is
still failing and I would have thought that was the same code as you
tested, or is there just some latency from CVS to the latest non-stable
builds?
------------------------------------------------------------------------
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