You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Segmentation fault while accessing https://cloudflare-quic.com/ with --http3 #6824
nghttp3: git9858f6d
ngtcp2: git2fd9ce1
ngtcp2 and nghttp3 was built from their respective git masters.
GnuTLS: 3.7.1
# gdb -q --args curl-http3 -vI --http3 https://cloudflare-quic.com/
Reading symbols from /usr/bin/curl-http3...(no debugging symbols found)...done.
(gdb) run
Starting program: /bin/curl-http3 -vI --http3 https://cloudflare-quic.com/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
* Trying 2606:4700:10::ac43:9eb:443...
* Connect socket 9 over QUIC to 2606:4700:10::ac43:9eb:443
* Trying 172.67.9.235:443...
* Connect socket 10 over QUIC to 172.67.9.235:443
* connect to 2606:4700:10::ac43:9eb port 443 failed: Resource temporarily unavailable
* Trying 2606:4700:10::6816:926:443...
* Connect socket 11 over QUIC to 2606:4700:10::6816:926:443
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff785ad2a in gnutls_x509_trust_list_deinit () from /lib64/libgnutls.so.30
(gdb) backtrace
#0 0x00007ffff785ad2a in gnutls_x509_trust_list_deinit () from /lib64/libgnutls.so.30
#1 0x00007ffff77c499f in gnutls_certificate_free_credentials () from /lib64/libgnutls.so.30
#2 0x00007ffff7fca8b1 in ?? () from /usr/lib64/curl/private/libcurl-gnutls.so.4
#3 0x00007ffff7f6ee1c in ?? () from /usr/lib64/curl/private/libcurl-gnutls.so.4
#4 0x00007ffff7f6f213 in ?? () from /usr/lib64/curl/private/libcurl-gnutls.so.4
#5 0x00007ffff7f6f522 in ?? () from /usr/lib64/curl/private/libcurl-gnutls.so.4
#6 0x00007ffff7f9b1d3 in ?? () from /usr/lib64/curl/private/libcurl-gnutls.so.4
#7 0x00007ffff7f9c3e6 in curl_multi_perform () from /usr/lib64/curl/private/libcurl-gnutls.so.4
#8 0x00007ffff7f78d93 in curl_easy_perform () from /usr/lib64/curl/private/libcurl-gnutls.so.4
#9 0x000055555556fba7 in ?? ()
#10 0x000055555555f984 in ?? ()
#11 0x00007ffff7a2f555 in __libc_start_main () from /lib64/libc.so.6
#12 0x000055555555fa49 in ?? ()
(gdb)
Activity
bagder commentedon Apr 1, 2021
I cannot reproduce, but my ngtcp2 setup is not using GnuTLS.
Is this using ngtcp2 and nghttp3 from their respective git masters?
Can you run it with gdb and show us the stack trace for the crash?
icebluey commentedon Apr 1, 2021
nghttp3: git9858f6d
ngtcp2: git2fd9ce1
ngtcp2 and nghttp3 was built from their respective git masters.
GnuTLS: 3.7.1
ngtcp2: clear credentials when freed
bagder commentedon Apr 6, 2021
It's a curl bug, not a gnutls one. You can close the one on gnutls now...