cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1369 curl crashes with segmentation fault in httpd in use with PHP

From: Marco Lehmann <m99dd_at_users.sf.net>
Date: Sat, 10 May 2014 19:32:08 +0000

Hi Daniel,

a PEM file is used. So Secure Transport isn't intended to work with that type of key file? Beside this I think, that curl should not crash anyway ;)

---
** [bugs:#1369] curl crashes with segmentation fault in httpd in use with PHP**
**Status:** open
**Labels:** DarwinSSL 
**Created:** Thu May 08, 2014 03:30 PM UTC by Marco Lehmann
**Last Updated:** Sat May 10, 2014 07:01 PM UTC
**Owner:** Daniel Stenberg
curl 7.36.0 (x86_64-apple-darwin13.1.0) libcurl/7.36.0 SecureTransport zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp 
Features: IPv6 Largefile NTLM NTLM_WB SSL libz
~~~~~~
Process 26863 stopped
* thread #1: tid = 0x226200, 0x00007fff91faf452 CoreFoundation`CFArrayGetValueAtIndex + 114, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x00007fff91faf452 CoreFoundation`CFArrayGetValueAtIndex + 114
CoreFoundation`CFArrayGetValueAtIndex + 114:
-> 0x7fff91faf452:  movq   (%rax), %rcx
   0x7fff91faf455:  leaq   0x10(%rax,%rcx,8), %rbx
   0x7fff91faf45a:  jmp    0x7fff91faf49c            ; CFArrayGetValueAtIndex + 188
   0x7fff91faf45c:  movq   -0x15f07b03(%rip), %rax   ; { /usr/lib/libobjc.A.dylib`objc_msgSend_fixedup, "objectAtIndex:" }
(lldb) bt
* thread #1: tid = 0x226200, 0x00007fff91faf452 CoreFoundation`CFArrayGetValueAtIndex + 114, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x00007fff91faf452 CoreFoundation`CFArrayGetValueAtIndex + 114
    frame #1: 0x00000001006eebb8 libcurl.4.dylib`darwinssl_connect_common + 1571
    frame #2: 0x00000001006ede55 libcurl.4.dylib`Curl_ssl_connect_nonblocking + 36
    frame #3: 0x00000001006ba725 libcurl.4.dylib`Curl_http_connect + 77
    frame #4: 0x00000001006c8263 libcurl.4.dylib`Curl_protocol_connect + 129
    frame #5: 0x00000001006d89d0 libcurl.4.dylib`multi_runsingle + 732
    frame #6: 0x00000001006d8661 libcurl.4.dylib`curl_multi_perform + 168
    frame #7: 0x00000001006d2f5d libcurl.4.dylib`curl_easy_perform + 338
    frame #8: 0x0000000102902ea0 libphp5.so`zif_curl_exec + 128
    frame #9: 0x0000000102c34417 libphp5.so`zend_do_fcall_common_helper_SPEC + 1799
    frame #10: 0x0000000102be9bb1 libphp5.so`execute + 678
    frame #11: 0x0000000102bba1d8 libphp5.so`zend_call_function + 1922
    frame #12: 0x0000000102aad882 libphp5.so`zif_call_user_func_array + 102
    frame #13: 0x0000000102c34417 libphp5.so`zend_do_fcall_common_helper_SPEC + 1799
    frame #14: 0x0000000102be9bb1 libphp5.so`execute + 678
    frame #15: 0x0000000102bc6a61 libphp5.so`zend_execute_scripts + 515
    frame #16: 0x0000000102b6e121 libphp5.so`php_execute_script + 796
    frame #17: 0x0000000102c561d0 libphp5.so`php_handler + 1145
    frame #18: 0x000000010000351d httpd`ap_run_handler + 65
    frame #19: 0x000000010000396a httpd`ap_invoke_handler + 244
    frame #20: 0x0000000100030919 httpd`ap_process_async_request + 895
    frame #21: 0x00000001000309c0 httpd`ap_process_request + 25
    frame #22: 0x000000010002d972 httpd`ap_process_http_connection + 161
    frame #23: 0x0000000100011e49 httpd`ap_run_process_connection + 65
    frame #24: 0x0000000100037581 httpd`child_main + 923
    frame #25: 0x00000001000370bb httpd`make_child + 378
    frame #26: 0x0000000100036479 httpd`prefork_run + 1040
    frame #27: 0x0000000100013bb9 httpd`ap_run_mpm + 82
    frame #28: 0x000000010000a178 httpd`main + 2304
~~~~~~
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-05-10

These mail archives are generated by hypermail.

donate! Page updated March 21, 2014.
web site info

File upload with ASP.NET