https://bugs.kde.org/show_bug.cgi?id=398192

--- Comment #10 from TallFurryMan <eric.dejouha...@gmail.com> ---
When the issue is reproduced, this is the stack from the event clicking the
"stop" button:

1   __GI___pthread_timedjoin_ex                                                
                                                                               
       pthread_join_common.c 142  0x7ffff51e3cd7 
2   std::thread::join()                                                        
                                                                               
                                  0x7ffff4e721d7 
3   INDI::BaseClient::disconnectServer                                         
                                                                               
       baseclient.cpp        291  0x55555611fe0c 
4   DriverManager::stopDevices                                                 
                                                                               
       drivermanager.cpp     464  0x555555e08b07 
5   Ekos::Manager::cleanDevices                                                
                                                                               
       manager.cpp           1087 0x555555657e19 
6   Ekos::Manager::stop                                                        
                                                                               
       manager.cpp           532  0x555555653d89 
7   Ekos::Manager::processINDI                                                 
                                                                               
       manager.cpp           527  0x555555653d41 
8   QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void,
void (Ekos::Manager:: *)()>::call(void (Ekos::Manager:: *)(), Ekos::Manager *,
void * *) qobjectdefs_impl.h    152  0x5555556934b6 
9   QtPrivate::FunctionPointer<void (Ekos::Manager::
*)()>::call<QtPrivate::List<>, void>(void (Ekos::Manager:: *)(), Ekos::Manager
*, void * *)                       qobjectdefs_impl.h    185  0x55555568e89f 
10  QtPrivate::QSlotObject<void (Ekos::Manager:: *)(), QtPrivate::List<>,
void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *)    
             qobjectdefs_impl.h    414  0x555555686354 
11  QMetaObject::activate(QObject *, int, int, void * *)                       
                                                                               
                                  0x7ffff57295c8 
12  QAbstractButton::clicked(bool)                                             
                                                                               
                                  0x7ffff632e236 
13  ??                                                                         
                                                                               
                                  0x7ffff632e45e 
14  ??                                                                         
                                                                               
                                  0x7ffff632f8a3 
15  QAbstractButton::mouseReleaseEvent(QMouseEvent *)                          
                                                                               
                                  0x7ffff632fa65 
16  QWidget::event(QEvent *)                                                   
                                                                               
                                  0x7ffff627c04e 
17  QApplicationPrivate::notify_helper(QObject *, QEvent *)                    
                                                                               
                                  0x7ffff6239a86 
18  QApplication::notify(QObject *, QEvent *)                                  
                                                                               
                                  0x7ffff6243053 
19  QTest::mouseEvent                                                          
                                                                               
       qtestmouse.h          242  0x55555562bd74 
20  QTest::mouseEvent                                                          
                                                                               
       qtestmouse.h          206  0x55555562b87c 
... <More>                                                                      


This is the stack from the INDI client thread:

1  syscall                                                                     
                                syscall.S             38  0x7ffff4b5a94d 
2  QSemaphore::acquire(int)                                                    
                                                          0x7ffff55390b1 
3  QMetaObject::activate(QObject *, int, int, void * *)                        
                                                          0x7ffff57298e5 
4  ClientManager::removeINDIProperty                                           
                                moc_clientmanager.cpp 353 0x555555db8598 
5  ClientManager::removeProperty                                               
                                clientmanager.cpp     109 0x555555e197e5 
6  INDI::BaseClient::delPropertyCmd                                            
                                baseclient.cpp        625 0x5555561216b4 
7  INDI::BaseClient::dispatchCommand                                           
                                baseclient.cpp        538 0x555556120d83 
8  INDI::BaseClient::listenINDI                                                
                                baseclient.cpp        505 0x555556120b07 
9  INDI::BaseClient::listenHelper                                              
                                baseclient.cpp        374 0x555556120203 
10 std::__invoke_impl<void *, void * ( *)(void *), INDI::BaseClient *>         
                                invoke.h              60  0x55555612dcc0 
11 std::__invoke<void * ( *)(void *), INDI::BaseClient *>                      
                                invoke.h              95  0x55555612db63 
12 std::thread::_Invoker<std::tuple<void * ( *)(void *), INDI::BaseClient
*>>::_M_invoke<0ul, 1ul>              thread                244 0x55555612da33 
13 std::thread::_Invoker<std::tuple<void * ( *)(void *), INDI::BaseClient
*>>::operator()                       thread                251 0x55555612d9bf 
14 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void * ( *)(void
*), INDI::BaseClient *>>>::_M_run thread                195 0x55555612d97d 
15 ??                                                                          
                                                          0x7ffff4e71f74 
16 start_thread                                                                
                                pthread_create.c      479 0x7ffff51e2669 
17 clone                                                                       
                                clone.S               95  0x7ffff4b61323 


Two other INDI client threads are waiting on select(). I'm not sure why they
are there because I don't know the Ekos client that much, but that's probably
minor for this issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to