[gnutls-help] segfault in gnutls_handshake
Jeremy Harris
jgh at wizmail.org
Thu May 1 17:39:04 CEST 2014
gnutls-3.1.16-1.fc20.x86_64
Can anyone point where to go next with this:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:66
66 unsigned int type = PTHREAD_MUTEX_TYPE_ELISION (mutex);
(gdb) bt
#0 __GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:66
#1 0x00000030a944520c in gnutls_system_mutex_lock (priv=<optimized out>)
at system.c:234
#2 0x00000030a94d7b22 in wrap_nettle_rnd (_ctx=<optimized out>, level=0,
data=0x96818c, datasize=28) at rnd.c:432
#3 0x00000030a942c978 in _gnutls_rnd (len=28, data=0x96818c,
level=GNUTLS_RND_NONCE) at ./random.h:38
#4 _gnutls_tls_create_random (dst=0x968188 "SbeE") at gnutls_handshake.c:190
#5 0x00000030a942ccd3 in _gnutls_set_client_random (session=0x0, rnd=0x0)
at gnutls_handshake.c:219
#6 0x00000030a9430048 in _gnutls_send_client_hello (again=<optimized out>,
session=0x968140) at gnutls_handshake.c:1940
#7 _gnutls_send_hello (session=session at entry=0x968140, again=<optimized out>)
at gnutls_handshake.c:2134
#8 0x00000030a94306d0 in _gnutls_handshake_client (session=0x968140)
at gnutls_handshake.c:2618
#9 gnutls_handshake (session=0x968140) at gnutls_handshake.c:2480
#10 0x000000000047a015 in tls_client_start ()
#11 0x000000000049b99a in smtp_deliver ()
#12 0x000000000049e77c in smtp_transport_entry ()
#13 0x00000000004271f5 in do_remote_deliveries ()
#14 0x000000000042a914 in deliver_message ()
#15 0x0000000000453571 in queue_run ()
#16 0x0000000000434326 in main ()
I can reproduce this on demand. It is the first TLS connection this process makes;
a previous child of the mutual parent has made a good connection, closed it
and terminated.
--
Thanks,
Jeremy
More information about the Gnutls-help
mailing list