Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: curl/openssl crash
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Hallberg via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 27 Mar 2023 09:49:27 +0200
Den 2023-03-24 kl. 18:45, skrev Philippe Lefebvre via curl-library:
>
> Hi,
>
> we are having some crashes when using CURL library. We are in
> mutltithreaded environment, and in these crashes mostly happend on
> heavy/loaded process (lots of data, lots of Get/Post requests).
>
> A sample stack isĀ :
>
> 0x000014f33f90cb65 sock_write (libcrypto.so.1.1)#012#4
>
> 0x000014f33f90599a bwrite_conv (libcrypto.so.1.1)#012#5
>
> 0x000014f33f904a55 BIO_write (libcrypto.so.1.1)#012#6
>
> 0x000014f33fd69856 ssl3_write_pending (libssl.so.1.1)#012#7
>
> 0x000014f33fd6a871 do_ssl3_write (libssl.so.1.1)#012#8
>
> 0x000014f33fd75019 ssl3_dispatch_alert (libssl.so.1.1)#012#9
>
> 0x000014f33fd72f45 ssl3_shutdown (libssl.so.1.1)#012#10
>
> 0x000014f33fd7fb23 SSL_shutdown (libssl.so.1.1)#012#11
>
> 0x000014f340038db0 ossl_closeone.isra.7 (libcurl.so.4)#012#12
>
> 0x000014f340038e22 ossl_close (libcurl.so.4)#012#13
>
> 0x000014f34003f0ab Curl_ssl_close (libcurl.so.4)#012#14
>
> 0x000014f34002ee3b Curl_disconnect (libcurl.so.4)#012#15
>
> 0x000014f340031dcf Curl_connect (libcurl.so.4)#012#16
>
> 0x000014f34001470d multi_runsingle (libcurl.so.4)#012#17
>
> 0x000014f34001545e curl_multi_perform (libcurl.so.4)#012#18
>
> 0x000014f33fff4793 curl_easy_perform (libcurl.so.4)#012#19
>
> We have been testing with different CURL versions (7.81, 7.84) and
> with different openssl versions too (1.1.1o, 1.1.1.t), with same result.
>
> Does anybody has a clue on what the problem is, or at least an idea on
> which direction to investigateĀ ?
>
> Thanks
>
>
If you run out of ideas you could try an even older curl version. I've
run into an issue ( https://curl.se/mail/lib-2022-11/0049.html ) where I
got problems with SSL after updating, but have no issues at all with the
older version. Since I'm (at least almost) alone having that issue I
think it must be me doing something weird.. So I just run the older
version until I get time to dig into it again.
Date: Mon, 27 Mar 2023 09:49:27 +0200
Den 2023-03-24 kl. 18:45, skrev Philippe Lefebvre via curl-library:
>
> Hi,
>
> we are having some crashes when using CURL library. We are in
> mutltithreaded environment, and in these crashes mostly happend on
> heavy/loaded process (lots of data, lots of Get/Post requests).
>
> A sample stack isĀ :
>
> 0x000014f33f90cb65 sock_write (libcrypto.so.1.1)#012#4
>
> 0x000014f33f90599a bwrite_conv (libcrypto.so.1.1)#012#5
>
> 0x000014f33f904a55 BIO_write (libcrypto.so.1.1)#012#6
>
> 0x000014f33fd69856 ssl3_write_pending (libssl.so.1.1)#012#7
>
> 0x000014f33fd6a871 do_ssl3_write (libssl.so.1.1)#012#8
>
> 0x000014f33fd75019 ssl3_dispatch_alert (libssl.so.1.1)#012#9
>
> 0x000014f33fd72f45 ssl3_shutdown (libssl.so.1.1)#012#10
>
> 0x000014f33fd7fb23 SSL_shutdown (libssl.so.1.1)#012#11
>
> 0x000014f340038db0 ossl_closeone.isra.7 (libcurl.so.4)#012#12
>
> 0x000014f340038e22 ossl_close (libcurl.so.4)#012#13
>
> 0x000014f34003f0ab Curl_ssl_close (libcurl.so.4)#012#14
>
> 0x000014f34002ee3b Curl_disconnect (libcurl.so.4)#012#15
>
> 0x000014f340031dcf Curl_connect (libcurl.so.4)#012#16
>
> 0x000014f34001470d multi_runsingle (libcurl.so.4)#012#17
>
> 0x000014f34001545e curl_multi_perform (libcurl.so.4)#012#18
>
> 0x000014f33fff4793 curl_easy_perform (libcurl.so.4)#012#19
>
> We have been testing with different CURL versions (7.81, 7.84) and
> with different openssl versions too (1.1.1o, 1.1.1.t), with same result.
>
> Does anybody has a clue on what the problem is, or at least an idea on
> which direction to investigateĀ ?
>
> Thanks
>
>
If you run out of ideas you could try an even older curl version. I've
run into an issue ( https://curl.se/mail/lib-2022-11/0049.html ) where I
got problems with SSL after updating, but have no issues at all with the
older version. Since I'm (at least almost) alone having that issue I
think it must be me doing something weird.. So I just run the older
version until I get time to dig into it again.
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2023-03-27