<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<p class="details" style="font-style: italic; color: #666;">
<a href="https://gitlab.com/D4v1dH03">David Hu</a> created an issue <a href="https://gitlab.com/gnutls/gnutls/-/issues/1198">#1198</a>:
</p>
<div></div>
<h2 dir="auto">
<a id="user-content-description-of-problem" class="anchor" href="#description-of-problem" aria-hidden="true"></a>Description of problem:</h2>
<p dir="auto">I compiled GnuTLS from source with nghttp3 and ngtcp2, but when I try connecting to a domain with HTTP3 specified, GnuTLS exited with <code>Segmentation fault core dumped</code></p>
<h2 dir="auto">
<a id="user-content-version-of-gnutls-used" class="anchor" href="#version-of-gnutls-used" aria-hidden="true"></a>Version of gnutls used:</h2>
<p dir="auto">Commit <code>38b25e19</code></p>
<h2 dir="auto">
<a id="user-content-distributor-of-gnutls-eg-ubuntu-fedora-rhel" class="anchor" href="#distributor-of-gnutls-eg-ubuntu-fedora-rhel" aria-hidden="true"></a>Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)</h2>
<p dir="auto">N/A, straight from GitHub</p>
<h2 dir="auto">
<a id="user-content-how-reproducible" class="anchor" href="#how-reproducible" aria-hidden="true"></a>How reproducible:</h2>
<p dir="auto">Steps to Reproduce:</p>
<ul dir="auto">
<li>Git clone <code>GnuTLS</code> from here, nghttp3, ngtcp2 and curl from GitHub</li>
<li>Compile GnuTLS (with docs disabled)</li>
<li>Compile <code>nghttp3</code> with libs only</li>
<li>Compile <code>ngtcp2</code> with nghttp3 and GnuTLS</li>
<li>Compile <code>curl</code> with the option of choosing GnuTLS and nghttp3 and no OpenSSL</li>
</ul>
<h2 dir="auto">
<a id="user-content-actual-results" class="anchor" href="#actual-results" aria-hidden="true"></a>Actual results:</h2>
<p dir="auto">Tried to connect to <code>https://cloudflare.com</code> but the connection failed very fast
Last few lines of error output:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">* connect to 104.16.132.229 port 443 failed: Resource temporarily unavailable</span>
<span id="LC2" class="line" lang="plaintext">* Trying 104.16.133.229:443...</span>
<span id="LC3" class="line" lang="plaintext">* Connect socket 7 over QUIC to 104.16.133.229:443</span>
<span id="LC4" class="line" lang="plaintext">gnutls[5]: REC[0x1b035d0]: Allocating epoch #0</span>
<span id="LC5" class="line" lang="plaintext">gnutls[2]: added 1 protocols, 4 ciphersuites, 16 sig algos and 4 groups into priority list</span>
<span id="LC6" class="line" lang="plaintext">Segmentation fault (core dumped)</span></code></pre>
<p dir="auto">While my network is completely normal without UDP port 443 filtered.</p>
<h2 dir="auto">
<a id="user-content-expected-results" class="anchor" href="#expected-results" aria-hidden="true"></a>Expected results:</h2>
<p dir="auto">Connect to the domain with HTTP3 (QUIC) support successfully without errors</p>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #666;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1198">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/-/sent_notifications/5a8ee703c5d97906c81e385d4cd243e2/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1198"}}</script>
</p>
</div>
</body>
</html>