Project

General

Profile

Actions

Bug #7980

closed

0.78: MDS crash (segmentation fault) on client wake-up from suspend.

Added by Dmitry Smirnov about 10 years ago. Updated over 7 years ago.

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

0%

Source:
Community (user)
Tags:
segfault
Backport:
Regression:
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

MDS crashes (segmentation fault) when I wake-up machine with CephFS (mounted using kernel client) from suspend:

Program received signal SIGSEGV, Segmentation fault.                                                                                                                                    
[Switching to Thread 0x7f2ba171e700 (LWP 31996)]                                                                                                                                        
0x0000000000000000 in ?? ()                                                                                                                                                             
(gdb) thread apply all bt                                                                                                                                                               

Thread 80 (Thread 0x7f2b9f71a700 (LWP 29345)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
#1  0x00007f2ba7302d5f in Pipe::tcp_read_wait() ()                                                                                                                                      
#2  0x00007f2ba7303078 in Pipe::tcp_read(char*, int) ()                                                                                                                                 
#3  0x00007f2ba7315dd5 in Pipe::reader() ()                                                                                                                                             
#4  0x00007f2ba73199ed in Pipe::Reader::entry() ()                                                                                                                                      
#5  0x00007f2ba6487062 in start_thread (arg=0x7f2b9f71a700) at pthread_create.c:312                                                                                                     
#6  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 79 (Thread 0x7f2b9ce06700 (LWP 29344)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
#1  0x00007f2ba7302d5f in Pipe::tcp_read_wait() ()                                                                                                                                      
#2  0x00007f2ba7303078 in Pipe::tcp_read(char*, int) ()                                                                                                                                 
#3  0x00007f2ba7315dd5 in Pipe::reader() ()                                                                                                                                             
#4  0x00007f2ba73199ed in Pipe::Reader::entry() ()                                                                                                                                      
#5  0x00007f2ba6487062 in start_thread (arg=0x7f2b9ce06700) at pthread_create.c:312                                                                                                     
#6  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 78 (Thread 0x7f2b9e011700 (LWP 29343)):                                                                                                                                          
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185                                                                                 
#1  0x00007f2ba730eb3c in Pipe::writer() ()                                                                                                                                             
#2  0x00007f2ba731928d in Pipe::Writer::entry() ()                                                                                                                                      
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2b9e011700) at pthread_create.c:312                                                                                                     
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 77 (Thread 0x7f2b9bff8700 (LWP 29342)):                                                                                                                                          
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185                                                                                 
#1  0x00007f2ba730eb3c in Pipe::writer() ()                                                                                                                                             
#2  0x00007f2ba731928d in Pipe::Writer::entry() ()                                                                                                                                      
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2b9bff8700) at pthread_create.c:312                                                                                                     
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 76 (Thread 0x7f2b9e516700 (LWP 29341)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
#1  0x00007f2ba7302d5f in Pipe::tcp_read_wait() ()                                                                                                                                      
#2  0x00007f2ba7303078 in Pipe::tcp_read(char*, int) ()                                                                                                                                 
#3  0x00007f2ba7315dd5 in Pipe::reader() ()                                                                                                                                             
#4  0x00007f2ba73199ed in Pipe::Reader::entry() ()                                                                                                                                      
#5  0x00007f2ba6487062 in start_thread (arg=0x7f2b9e516700) at pthread_create.c:312                                                                                                     
#6  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 75 (Thread 0x7f2b9cf07700 (LWP 29340)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
#1  0x00007f2ba7302d5f in Pipe::tcp_read_wait() ()                                                                                                                                      
#2  0x00007f2ba7303078 in Pipe::tcp_read(char*, int) ()                                                                                                                                 
#3  0x00007f2ba7315dd5 in Pipe::reader() ()                                                                                                                                             
#4  0x00007f2ba73199ed in Pipe::Reader::entry() ()                                                                                                                                      
#5  0x00007f2ba6487062 in start_thread (arg=0x7f2b9cf07700) at pthread_create.c:312                                                                                                     
#6  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 74 (Thread 0x7f2b9d20a700 (LWP 29337)):                                                                                                                                          
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185                                                                                 
#1  0x00007f2ba730eb3c in Pipe::writer() ()                                                                                                                                             
#2  0x00007f2ba731928d in Pipe::Writer::entry() ()                                                                                                                                      
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2b9d20a700) at pthread_create.c:312                                                                                                     
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 73 (Thread 0x7f2b9e314700 (LWP 29336)):                                                                                                                                          
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185                                                                                 
#1  0x00007f2ba730eb3c in Pipe::writer() ()                                                                                                                                             
#2  0x00007f2ba731928d in Pipe::Writer::entry() ()                                                                                                                                      
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2b9e314700) at pthread_create.c:312                                                                                                     
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 72 (Thread 0x7f2b9de0f700 (LWP 29335)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
#1  0x00007f2ba7302d5f in Pipe::tcp_read_wait() ()                                                                                                                                      
#2  0x00007f2ba7303078 in Pipe::tcp_read(char*, int) ()                                                                                                                                 
#3  0x00007f2ba7315dd5 in Pipe::reader() ()                                                                                                                                             
#4  0x00007f2ba73199ed in Pipe::Reader::entry() ()                                                                                                                                      
#5  0x00007f2ba6487062 in start_thread (arg=0x7f2b9de0f700) at pthread_create.c:312                                                                                                     
#6  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 71 (Thread 0x7f2b9dc0d700 (LWP 29334)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
#1  0x00007f2ba7302d5f in Pipe::tcp_read_wait() ()                                                                                                                                      
#2  0x00007f2ba7303078 in Pipe::tcp_read(char*, int) ()                                                                                                                                 
#3  0x00007f2ba7315dd5 in Pipe::reader() ()                                                                                                                                             
#4  0x00007f2ba73199ed in Pipe::Reader::entry() ()                                                                                                                                      
#5  0x00007f2ba6487062 in start_thread (arg=0x7f2b9dc0d700) at pthread_create.c:312                                                                                                     
#6  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 70 (Thread 0x7f2b9cd05700 (LWP 29333)):                                                                                                                                          
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185                                                                                 
#1  0x00007f2ba730eb3c in Pipe::writer() ()                                                                                                                                             
#2  0x00007f2ba731928d in Pipe::Writer::entry() ()                                                                                                                                      
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2b9cd05700) at pthread_create.c:312                                                                                                     
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 69 (Thread 0x7f2b9d008700 (LWP 29332)):                                                                                                                                          
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185                                                                                 
#1  0x00007f2ba730eb3c in Pipe::writer() ()                                                                                                                                             
#2  0x00007f2ba731928d in Pipe::Writer::entry() ()                                                                                                                                      
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2b9d008700) at pthread_create.c:312                                                                                                     
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 68 (Thread 0x7f2b9db0c700 (LWP 29171)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
#1  0x00007f2ba7302d5f in Pipe::tcp_read_wait() ()                                                                                                                                      
#2  0x00007f2ba7303078 in Pipe::tcp_read(char*, int) ()                                                                                                                                 
#3  0x00007f2ba7315dd5 in Pipe::reader() ()                                                                                                                                             
#4  0x00007f2ba73199ed in Pipe::Reader::entry() ()                                                                                                                                      
#5  0x00007f2ba6487062 in start_thread (arg=0x7f2b9db0c700) at pthread_create.c:312                                                                                                     
#6  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 67 (Thread 0x7f2b9e415700 (LWP 29168)):                                                                                                                                          
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185                                                                                 
#1  0x00007f2ba730eb3c in Pipe::writer() ()                                                                                                                                             
#2  0x00007f2ba731928d in Pipe::Writer::entry() ()                                                                                                                                      
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2b9e415700) at pthread_create.c:312                                                                                                     
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 66 (Thread 0x7f2b9dd0e700 (LWP 29054)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
#1  0x00007f2ba7302d5f in Pipe::tcp_read_wait() ()                                                                                                                                      
#2  0x00007f2ba7303078 in Pipe::tcp_read(char*, int) ()                                                                                                                                 
#3  0x00007f2ba7315dd5 in Pipe::reader() ()                                                                                                                                             
#4  0x00007f2ba73199ed in Pipe::Reader::entry() ()                                                                                                                                      
#5  0x00007f2ba6487062 in start_thread (arg=0x7f2b9dd0e700) at pthread_create.c:312                                                                                                     
#6  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 65 (Thread 0x7f2b9e112700 (LWP 29053)):                                                                                                                                          
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185                                                                                 
#1  0x00007f2ba730eb3c in Pipe::writer() ()                                                                                                                                             
#2  0x00007f2ba731928d in Pipe::Writer::entry() ()                                                                                                                                      
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2b9e112700) at pthread_create.c:312                                                                                                     
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 64 (Thread 0x7f2b9d109700 (LWP 29051)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
#1  0x00007f2ba7302d5f in Pipe::tcp_read_wait() ()                                                                                                                                      
#2  0x00007f2ba7303078 in Pipe::tcp_read(char*, int) ()                                                                                                                                 
#3  0x00007f2ba7315dd5 in Pipe::reader() ()                                                                                                                                             
#4  0x00007f2ba73199ed in Pipe::Reader::entry() ()                                                                                                                                      
#5  0x00007f2ba6487062 in start_thread (arg=0x7f2b9d109700) at pthread_create.c:312                                                                                                     
#6  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 63 (Thread 0x7f2ba6cd0700 (LWP 29050)):                                                                                                                                          
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185                                                                                 
#1  0x00007f2ba730eb3c in Pipe::writer() ()                                                                                                                                             
#2  0x00007f2ba731928d in Pipe::Writer::entry() ()                                                                                                                                      
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2ba6cd0700) at pthread_create.c:312                                                                                                     
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 62 (Thread 0x7f2b9c3fc700 (LWP 28942)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
#1  0x00007f2ba7302d5f in Pipe::tcp_read_wait() ()                                                                                                                                      
#2  0x00007f2ba7303078 in Pipe::tcp_read(char*, int) ()                                                                                                                                 
#3  0x00007f2ba7315dd5 in Pipe::reader() ()                                                                                                                                             
#4  0x00007f2ba73199ed in Pipe::Reader::entry() ()                                                                                                                                      
#5  0x00007f2ba6487062 in start_thread (arg=0x7f2b9c3fc700) at pthread_create.c:312                                                                                                     
#6  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 61 (Thread 0x7f2b9f619700 (LWP 28939)):                                                                                                                                          
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185                                                                                 
#1  0x00007f2ba730eb3c in Pipe::writer() ()                                                                                                                                             
#2  0x00007f2ba731928d in Pipe::Writer::entry() ()                                                                                                                                      
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2b9f619700) at pthread_create.c:312                                                                                                     
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 39 (Thread 0x7f2ba3e9e700 (LWP 31974)):                                                                                                                                          
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185                                                                                 
#1  0x00007f2ba7167d1b in ceph::log::Log::entry() ()                                                                                                                                    
#2  0x00007f2ba6487062 in start_thread (arg=0x7f2ba3e9e700) at pthread_create.c:312                                                                                                     
#3  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 38 (Thread 0x7f2ba2f21700 (LWP 31993)):                                                                                                                                          
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238                                                                       
#1  0x00007f2ba722d9a3 in CephContextServiceThread::entry() ()                                                                                                                          
#2  0x00007f2ba6487062 in start_thread (arg=0x7f2ba2f21700) at pthread_create.c:312                                                                                                     
#3  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 37 (Thread 0x7f2ba2720700 (LWP 31994)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
#1  0x00007f2ba7216fc3 in AdminSocket::entry() ()                                                                                                                                       
#2  0x00007f2ba6487062 in start_thread (arg=0x7f2ba2720700) at pthread_create.c:312                                                                                                     
#3  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 36 (Thread 0x7f2ba1f1f700 (LWP 31995)):                                                                                                                                          
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185                                                                                 
#1  0x00007f2ba71ffecf in SimpleMessenger::reaper_entry() ()                                                                                                                            
#2  0x00007f2ba72066ad in SimpleMessenger::ReaperThread::entry() ()                                                                                                                     
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2ba1f1f700) at pthread_create.c:312                                                                                                     
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 35 (Thread 0x7f2ba171e700 (LWP 31996)):                                                                                                                                          
#0  0x0000000000000000 in ?? ()                                                                                                                                                         
#1  0x00007f2ba6ec57a3 in MDS::ms_handle_accept(Connection*) ()                                                                                                                         
#2  0x00007f2ba72e1cc5 in DispatchQueue::entry() ()                                                                                                                                     
#3  0x00007f2ba7205cdd in DispatchQueue::DispatchThread::entry() ()                                                                                                                     
#4  0x00007f2ba6487062 in start_thread (arg=0x7f2ba171e700) at pthread_create.c:312                                                                                                     
#5  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 34 (Thread 0x7f2ba0f1d700 (LWP 31997)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
#1  0x00007f2ba72d04d9 in Accepter::entry() ()                                                                                                                                          
#2  0x00007f2ba6487062 in start_thread (arg=0x7f2ba0f1d700) at pthread_create.c:312                                                                                                     
#3  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 33 (Thread 0x7f2ba071c700 (LWP 32023)):                                                                                                                                          
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238                                                                       
#1  0x00007f2ba720e4ff in SafeTimer::timer_thread() ()                                                                                                                                  
#2  0x00007f2ba720ed3d in SafeTimerThread::entry() ()                                                                                                                                   
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2ba071c700) at pthread_create.c:312                                                                                                     
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 32 (Thread 0x7f2b9ff1b700 (LWP 32024)):                                                                                                                                          
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185                                                                                 
#1  0x00007f2ba72ee648 in Finisher::finisher_thread_entry() ()                                                                                                                          
#2  0x00007f2ba6487062 in start_thread (arg=0x7f2b9ff1b700) at pthread_create.c:312                                                                                                     
#3  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 31 (Thread 0x7f2b9f518700 (LWP 32288)):                                                                                                                                          
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238                                                                       
#1  0x00007f2ba720e4ff in SafeTimer::timer_thread() ()                                                                                                                                  
#2  0x00007f2ba720ed3d in SafeTimerThread::entry() ()                                                                                                                                   
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2b9f518700) at pthread_create.c:312                                                                                                     
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 30 (Thread 0x7f2b9ed17700 (LWP 32289)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
#1  0x00007f2ba71415c0 in SignalHandler::entry() ()                                                                                                                                     
#2  0x00007f2ba6487062 in start_thread (arg=0x7f2b9ed17700) at pthread_create.c:312                                                                                                     
#3  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 29 (Thread 0x7f2b9cc04700 (LWP 14430)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
#1  0x00007f2ba7302d5f in Pipe::tcp_read_wait() ()                                                                                                                                      
#2  0x00007f2ba7303078 in Pipe::tcp_read(char*, int) ()                                                                                                                                 
#3  0x00007f2ba7315dd5 in Pipe::reader() ()                                                                                                                                             
#4  0x00007f2ba73199ed in Pipe::Reader::entry() ()                                                                                                                                      
#5  0x00007f2ba6487062 in start_thread (arg=0x7f2b9cc04700) at pthread_create.c:312                                                                                                     
#6  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 28 (Thread 0x7f2b9cb03700 (LWP 14431)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
#1  0x00007f2ba7302d5f in Pipe::tcp_read_wait() ()                                                                                                                                      
#2  0x00007f2ba7303078 in Pipe::tcp_read(char*, int) ()                                                                                                                                 
#3  0x00007f2ba7315dd5 in Pipe::reader() ()                                                                                                                                             
#4  0x00007f2ba73199ed in Pipe::Reader::entry() ()                                                                                                                                      
#5  0x00007f2ba6487062 in start_thread (arg=0x7f2b9cb03700) at pthread_create.c:312                                                                                                     
#6  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111                                                                                                     

Thread 27 (Thread 0x7f2b9ca02700 (LWP 14432)):                                                                                                                                          
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2ba7302d5f in Pipe::tcp_read_wait() ()
#2  0x00007f2ba7303078 in Pipe::tcp_read(char*, int) ()
#3  0x00007f2ba7315dd5 in Pipe::reader() ()
#4  0x00007f2ba73199ed in Pipe::Reader::entry() ()
#5  0x00007f2ba6487062 in start_thread (arg=0x7f2b9ca02700) at pthread_create.c:312
#6  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 26 (Thread 0x7f2b9c901700 (LWP 14433)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2ba730eb3c in Pipe::writer() ()
#2  0x00007f2ba731928d in Pipe::Writer::entry() ()
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2b9c901700) at pthread_create.c:312
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 25 (Thread 0x7f2b9c800700 (LWP 14434)):
#0  0x00007f2ba4df872d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2ba7302d5f in Pipe::tcp_read_wait() ()
#2  0x00007f2ba7303078 in Pipe::tcp_read(char*, int) ()
#3  0x00007f2ba7315dd5 in Pipe::reader() ()
#4  0x00007f2ba73199ed in Pipe::Reader::entry() ()
#5  0x00007f2ba6487062 in start_thread (arg=0x7f2b9c800700) at pthread_create.c:312
#6  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 24 (Thread 0x7f2b9c6ff700 (LWP 14435)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2ba730eb3c in Pipe::writer() ()
#2  0x00007f2ba731928d in Pipe::Writer::entry() ()
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2b9c6ff700) at pthread_create.c:312
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 23 (Thread 0x7f2b9c5fe700 (LWP 14436)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2ba730eb3c in Pipe::writer() ()
#2  0x00007f2ba731928d in Pipe::Writer::entry() ()
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2b9c5fe700) at pthread_create.c:312
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 22 (Thread 0x7f2b9c4fd700 (LWP 14437)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2ba730eb3c in Pipe::writer() ()
#2  0x00007f2ba731928d in Pipe::Writer::entry() ()
#3  0x00007f2ba6487062 in start_thread (arg=0x7f2b9c4fd700) at pthread_create.c:312
#4  0x00007f2ba4e03a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f2ba6cd27c0 (LWP 31973)):
#0  0x00007f2ba648848b in pthread_join (threadid=139825368917760, thread_return=0x0) at pthread_join.c:92
#1  0x00007f2ba7208612 in Thread::join(void**) ()
#2  0x00007f2ba7200278 in SimpleMessenger::wait() ()
#3  0x00007f2ba6eb77d2 in main ()

Linux kernel on both server (where MDS is running) and on client:

Linux 3.13-1-amd64 #1 SMP Debian 3.13.7-1 (2014-03-25) x86_64 GNU/Linux

Actions #2

Updated by Dmitry Smirnov about 10 years ago

Very nice, thank you. I'll test and confirm.

Actions #3

Updated by Dmitry Smirnov about 10 years ago

Works as expected, problem solved, thank you.

Actions #4

Updated by John Spray over 7 years ago

  • Project changed from Ceph to CephFS
  • Category deleted (1)
  • Target version deleted (0.79)

Bulk updating project=ceph category=mds bugs so that I can remove the MDS category from the Ceph project to avoid confusion.

Actions

Also available in: Atom PDF