GNUTLS supports is unstable #89

Closed
Borkason opened this Issue Mar 24, 2013 · 4 comments

Comments

Projects
None yet
1 participant
Member

Borkason commented Mar 24, 2013

Original author: alobbs (August 06, 2007 22:06:02)

Cherokee with TLS support based on GNUTLS fails with the following error:

ath.c:184: _gcry_ath_mutex_lock: Assertion `*lock == ((ath_mutex_t) 0)' failed.

Original issue: http://code.google.com/p/cherokee/issues/detail?id=10

Member

Borkason commented Mar 24, 2013

From alobbs on August 07, 2007 21:22:22
r881 should have improved the situation. I'm not sure the problem is completely fixed
though..

http://www.cherokee-project.com/bugs/changeset/881

Member

Borkason commented Mar 24, 2013

From alobbs on August 07, 2007 21:57:31
r885 has fixed it. I'm quite confident now.

Member

Borkason commented Mar 24, 2013

From alobbs on August 09, 2007 21:14:56
I spoke too early, it is not fixed yet..

==27873== Conditional jump or move depends on uninitialised value(s)
==27873== at 0x40C75B9: gnutls_session_set_data (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40C7C2D: _gnutls_server_restore_session (in
/usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40BF8E1: _gnutls_read_client_hello (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40BFDCE: _gnutls_recv_hello (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40C149A: _gnutls_recv_handshake (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40C1B73: _gnutls_handshake_server (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40C25B9: gnutls_handshake (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x8091DA8: cherokee_socket_init_tls (socket.c:449)
==27873== by 0x8065B41: process_active_connections (thread.c:713)
==27873== by 0x8067E28: cherokee_thread_step_MULTI_THREAD (thread.c:2015)
==27873== by 0x8060A69: cherokee_server_step (server.c:1319)
==27873== by 0x8056BCE: main (main.c:201)
==27873==
==27873== Conditional jump or move depends on uninitialised value(s)
==27873== at 0x40CB63D: _gnutls_session_unpack (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40C75CC: gnutls_session_set_data (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40C7C2D: _gnutls_server_restore_session (in
/usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40BF8E1: _gnutls_read_client_hello (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40BFDCE: _gnutls_recv_hello (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40C149A: _gnutls_recv_handshake (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40C1B73: _gnutls_handshake_server (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40C25B9: gnutls_handshake (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x8091DA8: cherokee_socket_init_tls (socket.c:449)
==27873== by 0x8065B41: process_active_connections (thread.c:713)
==27873== by 0x8067E28: cherokee_thread_step_MULTI_THREAD (thread.c:2015)
==27873== by 0x8060A69: cherokee_server_step (server.c:1319)
==27873== by 0x8056BCE: main (main.c:201)
==27873==
==27873== Thread 5:
==27873== Invalid read of size 1
==27873== at 0x40CB65D: _gnutls_session_unpack (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40C75CC: gnutls_session_set_data (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40C7C2D: _gnutls_server_restore_session (in
/usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40BF8E1: _gnutls_read_client_hello (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40BFDCE: _gnutls_recv_hello (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40C149A: _gnutls_recv_handshake (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40C1B73: _gnutls_handshake_server (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x40C25B9: gnutls_handshake (in /usr/lib/libgnutls.so.13.0.9)
==27873== by 0x8091DA8: cherokee_socket_init_tls (socket.c:449)
==27873== by 0x8065B41: process_active_connections (thread.c:713)
==27873== by 0x8067E28: cherokee_thread_step_MULTI_THREAD (thread.c:2015)
==27873== by 0x8064CAE: thread_routine (thread.c:144)
==27873== by 0x41B031A: start_thread (in /lib/tls/i686/cmov/libpthread-2.5.so)
==27873== by 0x42B557D: clone (in /lib/tls/i686/cmov/libc-2.5.so)

Member

Borkason commented Mar 24, 2013

From alobbs on March 22, 2008 15:16:53
It has been working fine since a few months ago.. I'm closing this bug.

@Borkason Borkason closed this Mar 24, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment