<!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=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div>
<p dir="auto">(gdb) bt
#0 0x000076184023eb3a in kill () from /usr/lib/libc.so.12
<a href="https://gitlab.com/gnutls/gnutls/issues/1" data-original="#1" data-link="false" data-link-reference="false" data-project="179611" data-issue="157930" data-reference-type="issue" data-container="body" data-placement="bottom" title="gnutls_pkcs11_privkey_generate2 does not set CKA_ID" class="gfm gfm-issue has-tooltip">#1</a> 0x0000761841a0b430 in pthread__assertfunc (file=file@entry=0x761841a0c3d0 "/usr/src/lib/libpthread/pthread_tsd.c", line=line@entry=176,
function=function@entry=0x761841a0c480 "pthread__add_specific", expr=expr@entry=0x761841a0c410 "pthread__tsd_destructors[key] != NULL")
at /usr/src/lib/libpthread/pthread.c:1100
<a href="https://gitlab.com/gnutls/gnutls/issues/2" data-original="#2" data-link="false" data-link-reference="false" data-project="179611" data-issue="172979" data-reference-type="issue" data-container="body" data-placement="bottom" title="Gnutls 3.3.X + Wine = problem" class="gfm gfm-issue has-tooltip">#2</a> 0x0000761841a07aed in pthread__add_specific (self=0x761842f09800, key=0, value=value@entry=0x0) at /usr/src/lib/libpthread/pthread_tsd.c:176
<a href="https://gitlab.com/gnutls/gnutls/issues/3" data-original="#3" data-link="false" data-link-reference="false" data-project="179611" data-issue="176000" data-reference-type="issue" data-container="body" data-placement="bottom" title="DNS Name Constraints with leading dot" class="gfm gfm-issue has-tooltip">#3</a> 0x0000761841a07d86 in pthread_setspecific (key=, value=value@entry=0x0) at /usr/src/lib/libpthread/pthread_specific.c:69
<a href="https://gitlab.com/gnutls/gnutls/issues/4" data-original="#4" data-link="false" data-link-reference="false" data-project="179611" data-issue="189064" data-reference-type="issue" data-container="body" data-placement="bottom" title="certtool: parse CSR files with -i" class="gfm gfm-issue has-tooltip">#4</a> 0x00007618426f6546 in p11_library_uninit () at common/library.c:153
<a href="https://gitlab.com/gnutls/gnutls/issues/5" data-original="#5" data-link="false" data-link-reference="false" data-project="179611" data-issue="189629" data-reference-type="issue" data-container="body" data-placement="bottom" title="certtool --outder --generate-dh-params produces PEM-encoded output" class="gfm gfm-issue has-tooltip">#5</a> 0x000076184262f509 in ?? () from /usr/pkg/lib/libp11-kit.so.0
<a href="https://gitlab.com/gnutls/gnutls/issues/6" data-original="#6" data-link="false" data-link-reference="false" data-project="179611" data-issue="190022" data-reference-type="issue" data-container="body" data-placement="bottom" title="GnuTLS 3.3.14 breaks against Guile with Clang" class="gfm gfm-issue has-tooltip">#6</a> 0x0000761842f16d00 in ?? ()
<a href="https://gitlab.com/gnutls/gnutls/issues/7" data-original="#7" data-link="false" data-link-reference="false" data-project="179611" data-issue="199382" data-reference-type="issue" data-container="body" data-placement="bottom" title="3.4.0 does not compile on OS X" class="gfm gfm-issue has-tooltip">#7</a> 0x00007618426f6629 in ?? () from /usr/pkg/lib/libp11-kit.so.0
<a href="https://gitlab.com/gnutls/gnutls/issues/8" data-original="#8" data-link="false" data-link-reference="false" data-project="179611" data-issue="216500" data-reference-type="issue" data-container="body" data-placement="bottom" title="Cross build of GnuTLS 3.3.14 for ARM links against build system libraries" class="gfm gfm-issue has-tooltip">#8</a> 0x0000000000000000 in ?? ()</p>
<p dir="auto">Looking at the p11-kit source code I see:</p>
<p dir="auto">void
p11_library_uninit (void)
{
uninit_common ();</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext"> /* Some cleanup to pacify valgrind */</span>
<span id="LC2" class="line" lang="plaintext"> free (pthread_getspecific (thread_local));</span>
<span id="LC3" class="line" lang="plaintext"> pthread_setspecific (thread_local, NULL);</span></code></pre>
<p dir="auto">#ifdef HAVE_STRERROR_L
freelocale (p11_message_locale);
#endif
p11_message_storage = dont_store_message;
pthread_key_delete (thread_local);
p11_mutex_uninit (&p11_virtual_mutex);
p11_mutex_uninit (&p11_library_mutex);
}</p>
<p dir="auto">where pthread_setspecific is in line 153.</p>
<p dir="auto">Is this possibly a problem in p11-kit instead?
Thomas</p>
<p dir="auto">P.S.: Is this bug report available via HTTP(S) as well?</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/issues/544#note_95134764">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/d2f7f80a75f9a5ff2620797307ee6a6d/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/544#note_95134764"}}</script>
</p>
</div>
</body>
</html>