[gnutls-devel] GnuTLS | Service Desk (from tk at giga.or.at): gnutls-3.6.3: two problems on NetBSD (#544)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Fri Aug 17 15:03:50 CEST 2018
(gdb) bt
#0 0x000076184023eb3a in kill () from /usr/lib/libc.so.12
#1 0x0000761841a0b430 in pthread__assertfunc (file=file at entry=0x761841a0c3d0 "/usr/src/lib/libpthread/pthread_tsd.c", line=line at entry=176,
function=function at entry=0x761841a0c480 "pthread__add_specific", expr=expr at entry=0x761841a0c410 "pthread__tsd_destructors[key] != NULL")
at /usr/src/lib/libpthread/pthread.c:1100
#2 0x0000761841a07aed in pthread__add_specific (self=0x761842f09800, key=0, value=value at entry=0x0) at /usr/src/lib/libpthread/pthread_tsd.c:176
#3 0x0000761841a07d86 in pthread_setspecific (key=<optimized out>, value=value at entry=0x0) at /usr/src/lib/libpthread/pthread_specific.c:69
#4 0x00007618426f6546 in p11_library_uninit () at common/library.c:153
#5 0x000076184262f509 in ?? () from /usr/pkg/lib/libp11-kit.so.0
#6 0x0000761842f16d00 in ?? ()
#7 0x00007618426f6629 in ?? () from /usr/pkg/lib/libp11-kit.so.0
#8 0x0000000000000000 in ?? ()
Looking at the p11-kit source code I see:
void
p11_library_uninit (void)
{
uninit_common ();
/* Some cleanup to pacify valgrind */
free (pthread_getspecific (thread_local));
pthread_setspecific (thread_local, NULL);
#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);
}
where pthread_setspecific is in line 153.
Is this possibly a problem in p11-kit instead?
Thomas
P.S.: Is this bug report available via HTTP(S) as well?
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/544#note_95134764
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20180817/1e4c353f/attachment.html>
More information about the Gnutls-devel
mailing list