Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pthread_cond_destroy from ::~ThreadPoolImpl() hung forever #6742

Open
Jagansingh22 opened this issue Apr 22, 2020 · 0 comments
Open

pthread_cond_destroy from ::~ThreadPoolImpl() hung forever #6742

Jagansingh22 opened this issue Apr 22, 2020 · 0 comments

Comments

@Jagansingh22
Copy link

Jagansingh22 commented Apr 22, 2020

We use rocksdb to store user accounts and some other configurations. NSS library is implemented to read user accounts from rocksdb.
When bash command is executed it internally calls NSS and it internally loads rocksdb library.

Expected behavior

The normal exit of bash commands.

Actual behavior

Bash commands hung forever and gdb points to

#0 0x00007fd42c60e0d7 in pthread_cond_destroy@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007fd42c2f48dc in rocksdb::ThreadPoolImpl::~ThreadPoolImpl() () from /lib64/librocksdb.so.6.6
#2 0x00007fd42c1eac7c in rocksdb::(anonymous namespace)::PosixEnv::~PosixEnv() () from /lib64/librocksdb.so.6.6
#3 0x00007fd42c6bed1c in __run_exit_handlers () from /lib64/libc.so.6
#4 0x00007fd42c6bee50 in exit () from /lib64/libc.so.6
#5 0x000055979c8078a7 in ?? ()
#6 0x000055979c808bc4 in execute_command_internal ()

Rocksdb logs shows DB is shut down properly.
2020/04/22-05:39:32.177735 7ff1cf143800 [/db_impl.cc:392] Shutdown: canceling all background work

Log files are attached.

2020/04/22-05:39:32.177756 7ff1cf143800 [/db_impl.cc:565] Shutdown complete
LOG.old.1587533972177824.txt
LOG.old.1587530222322575.txt

Steps to reproduce the behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant