Hi,
I am not able to understand what’s going wrong, below is the latest stack trace
I got. Thread 19 is killed by a watchdog, and it was waiting on a lock.
Other threads do not show any lock being held.
21 Thread 23735 0x000000373d2a6a8d in nanosleep () at
../sysdeps/unix/syscall-template.S:82
20 Thread 23752 0x000000373d2da4f3 in select () at
../sysdeps/unix/syscall-template.S:82
19 Thread 23754 0x000000373da0ed70 in __pause_nocancel () at
../sysdeps/unix/syscall-template.S:82
18 Thread 23724 0x000000373da0e7ed in accept () at
../sysdeps/unix/syscall-template.S:82
17 Thread 23733 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
16 Thread 23704 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
15 Thread 23732 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
14 Thread 23705 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
13 Thread 23753 0x000000373da0e963 in recvfrom () at
../sysdeps/unix/syscall-template.S:82
12 Thread 23563 0x000000373d2a6a8d in nanosleep () at
../sysdeps/unix/syscall-template.S:82
11 Thread 23734 0x000000373da0e7ed in accept () at
../sysdeps/unix/syscall-template.S:82
10 Thread 23751 0x000000373d2a6a8d in nanosleep () at
../sysdeps/unix/syscall-template.S:82
9 Thread 23756 0x000000373d2c8c07 in sched_yield () at
../sysdeps/unix/syscall-template.S:82
8 Thread 23757 0x000000373d2c8c07 in sched_yield () at
../sysdeps/unix/syscall-template.S:82
7 Thread 23755 0x000000373d2c8c07 in sched_yield () at
../sysdeps/unix/syscall-template.S:82
6 Thread 23736 0x000000373d2c8c07 in sched_yield () at
../sysdeps/unix/syscall-template.S:82
5 Thread 23759 0x000000373d2c8c07 in sched_yield () at
../sysdeps/unix/syscall-template.S:82
4 Thread 23728 0x000000373d2c8c07 in sched_yield () at
../sysdeps/unix/syscall-template.S:82
3 Thread 23731 0x000000373d2c8c07 in sched_yield () at
../sysdeps/unix/syscall-template.S:82
* 2 Thread 23703 0x000000373da0e8ec in __libc_recv (fd=<value optimized out>,
buf=<value optimized out>, n=<value optimized out>, flags=<value optimized out>)
at ../sysdeps/unix/sysv/linux/x86_64/recv.c:34
1 Thread 23758 0x000000373d2329a5 in raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
(gdb) thread 19
[Switching to thread 19 (Thread 23754)]#0 0x000000373da0ed70 in
__pause_nocancel () at ../sysdeps/unix/syscall-template.S:82
82 ../sysdeps/unix/syscall-template.S: No such file or directory.
in ../sysdeps/unix/syscall-template.S
(gdb) bt
#0 0x000000373da0ed70 in __pause_nocancel () at
../sysdeps/unix/syscall-template.S:82
#1 0x000000373da08f0b in __pthread_mutex_lock_full (mutex=0x7418438) at
pthread_mutex_lock.c:316
#2 0x00000000009f3591 in locking_function (mode=9, n=19, file=0x3c79bdf93b
<Address 0x3c79bdf93b out of bounds>, line=387) at ssl_prf.c:665
#3 0x0000003c79b49403 in ?? ()
--
Thanks,
Nilesh
From: [email protected] [mailto:[email protected]]
On Behalf Of Lee Dilkie
Sent: Tuesday, January 14, 2014 7:25 PM
To: [email protected]
Subject: Re: Deadlock in openssl1.0.1e.
and what are all the other threads doing? some other thread must already own
this lock and is waiting on something else.
-lee
On 2014-01-10 13:11, Tayade, Nilesh wrote:
Hi,
I am facing a deadlock issue on openssl1.0.1e. Please see the stack below.
Could anyone please advise if this is a known bug? Is there any workaround/fix?
FIPS is disabled on my system.
(gdb) bt full
#0 __lll_lock_wait () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
No locals.
#1 0x000000373da092c5 in _L_lock_868 () from /lib64/libpthread.so.0 No symbol
table info available.
#2 0x000000373da09197 in __pthread_mutex_lock (mutex=0x7418430) at
pthread_mutex_lock.c:61
ignore1 = 128
ignore2 = 121734192
ignore3 = -512
type = <value optimized out>
id = 10428
#3 0x00000000009f3585 in locking_function (mode=9, n=18, file=0x3c79bdf93b
"md_rand.c", line=228) at ssl_prf.c:653 No locals.
#4 0x0000003c79b48f69 in ?? () from /usr/lib64/libcrypto.so.10 No symbol table
info available.
#5 0x0000003c79b06c72 in ?? () from /usr/lib64/libcrypto.so.10 No symbol table
info available.
#6 0x0000003c79b06aa0 in ?? () from /usr/lib64/libcrypto.so.10 No symbol table
info available.
#7 0x0000003c79b07be2 in BN_BLINDING_create_param () from
/usr/lib64/libcrypto.so.10 No symbol table info available.
#8 0x0000003c79b07d6a in BN_BLINDING_update () from /usr/lib64/libcrypto.so.10
No symbol table info available.
#9 0x0000003c79b07e56 in BN_BLINDING_convert_ex () from
/usr/lib64/libcrypto.so.10 No symbol table info available.
--
Thanks,
Nilesh
Sent via CanvasHD:��I"Ϯ��r�m����
(���Z+�K‑�+����1���x
��h���[�z�(���Z+�
��f�y�����‑�f���h��)z{,��