Project

General

Profile

Actions

Bug #533

closed

radostool hang on shutdown

Added by Colin McCabe over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

radostool still seems to be hanging from time to time on shutdown.
Sending a signal resolves the issue.

For example, doing CTRL-Z followed by fg. (i.e. sending SIGSTOP followed by SIGCONT).

It's probably a SafeTimer thing. I think I have a fix.

Here's a backtrace from a hung radostool:
pthread_cond_wait@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
162 ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file or directory.
in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
(gdb) bt
#0 pthread_cond_wait
@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007f29115ed90d in ?? () from /home/cmccabe/src/ceph/src/.libs/librados.so.1
#2 0x00007f2911600f7a in ?? () from /home/cmccabe/src/ceph/src/.libs/librados.so.1
#3 0x00007f29115d6569 in RadosClient::shutdown (this=0xc99530) at librados.cc:395
#4 0x00007f29115d66c2 in librados::Rados::shutdown (this=0x7fff5e3c79d0) at librados.cc:1323
#5 0x0000000000415be2 in main (argc=6, argv=0x7fff5e3c7c08) at rados.cc:534
Current language: auto; currently asm

Actions #1

Updated by Colin McCabe over 13 years ago

  • Assignee set to Colin McCabe

I think I have a fix for this one.

Actions #2

Updated by Colin McCabe over 13 years ago

  • Status changed from New to Resolved

Should be fixed by timer-fixes.

C.

Actions

Also available in: Atom PDF