#19301 [Asn]: curl_exec crashes
| From: | edink@php.net | Date: | Mon, 30 Sep 2002 22:21:51 +0000 |
| Subject: | #19301 [Asn]: curl_exec crashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20802@lists.php.net to get a copy of this message | ||
ID: 19301
Updated by: edink@php.net
Reported By: honza@honza.info
Status: Assigned
Bug Type: cURL related
Operating System: Windows XP Professional CZ
PHP Version: 4.2.3
Assigned To: jmoore
New Comment:
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()
Previous Comments:
------------------------------------------------------------------------
[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?
------------------------------------------------------------------------
[2002-09-28 04:50:41] jmoore@php.net
OK just built Debug and Release versions of Curl (Curl-7.9.8) (NON-SSL)
and the same of the PHP Extension from the latest CVS and cannot
reproduce this bug in the latest versions.
The crash no longer happens. Although it is reproduceable with
PHP-4.2.3 which was downloadable from PHP.net. You can download the
version I tested this with (Only got php_curl.dll & libcurl.dll
accompanying it) from
http://www.phpuk.org/~james/latest-cvs-with-curl.zip.
Please let me know if the problem persists with you in this build.
- James
------------------------------------------------------------------------
[2002-09-25 04:19:11] jmoore@php.net
Ill have a look at this on friday and see if I can reproduce this and
get a stack trace then hopefully fix it.
If anyone wants a play before hand then they are welcome to.
- 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