Bug 176029 - Crash at quitting KDevelop4
Summary: Crash at quitting KDevelop4
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-25 02:17 UTC by Manuel Nickschas
Modified: 2008-11-25 21:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Nickschas 2008-11-25 02:17:27 UTC
Version:           3.9.83 (using 4.1.80 (KDE 4.1.80 (KDE 4.2 Beta1)), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.27-gentoo-r2

Since I believe a day ago or something close to that, KDevelop4 crashes when I quit it. This was built on 25.11. at 2:15 am CET.

Application: KDevelop (kdevelop), signal SIGSEGV
0x00007faf2ac2daf1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 27225)]                     

Thread 7 (Thread 0x4135f950 (LWP 27226)):
#0  0x00007faf2b691fdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007faf2b8fe1b7 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4      
#2  0x00007faf29aea468 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1908f70) at /var/tmp/portage/kde-base/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchain.cpp:236                                                                                                      
#3  0x00007faf2b8fd0b2 in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4                                                             
#4  0x00007faf2b68e017 in start_thread () from /lib/libpthread.so.0                                                                               
#5  0x00007faf2ac5d9fd in clone () from /lib/libc.so.6                                                                                            
#6  0x0000000000000000 in ?? ()                                                                                                                   

Thread 6 (Thread 0x4211e950 (LWP 27227)):
#0  0x00007faf2ac57212 in select () from /lib/libc.so.6
#1  0x00007faf2b9c4fb5 in QProcessManager::run () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007faf2b8fd0b2 in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007faf2b68e017 in start_thread () from /lib/libpthread.so.0                  
#4  0x00007faf2ac5d9fd in clone () from /lib/libc.so.6                               
#5  0x0000000000000000 in ?? ()                                                      
Current language:  auto; currently asm                                               

Thread 5 (Thread 0x4291f950 (LWP 27237)):
#0  0x00007faf2b691d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007faf2b8fe1d9 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4 
#2  0x00007faf2dcde454 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/kde/live/lib64/libthreadweaver.so.4
#3  0x00007faf2dce0bf3 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/kde/live/lib64/libthreadweaver.so.4                  
#4  0x00007faf2dcdf17f in ThreadWeaver::ThreadRunHelper::run () from /usr/kde/live/lib64/libthreadweaver.so.4                            
#5  0x00007faf2dcdf5d9 in ThreadWeaver::Thread::run () from /usr/kde/live/lib64/libthreadweaver.so.4                                     
#6  0x00007faf2b8fd0b2 in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4                                                    
#7  0x00007faf2b68e017 in start_thread () from /lib/libpthread.so.0                                                                      
#8  0x00007faf2ac5d9fd in clone () from /lib/libc.so.6                                                                                   
#9  0x0000000000000000 in ?? ()                                                                                                          

Thread 4 (Thread 0x43120950 (LWP 27238)):
#0  0x00007faf2b691fdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007faf2b8fe1b7 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4      
#2  0x00007faf2b8f4649 in QThreadPoolThread::run () from /usr/lib64/qt4/libQtCore.so.4    
#3  0x00007faf2b8fd0b2 in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4     
#4  0x00007faf2b68e017 in start_thread () from /lib/libpthread.so.0                       
#5  0x00007faf2ac5d9fd in clone () from /lib/libc.so.6                                    
#6  0x0000000000000000 in ?? ()                                                           

Thread 3 (Thread 0x43921950 (LWP 27240)):
#0  0x00007faf2ac57212 in select () from /lib/libc.so.6
#1  0x00007faf2ba0d32b in QEventDispatcherUNIX::select () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007faf2ba0d91b in QEventDispatcherUNIXPrivate::doSelect () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007faf2ba0f0cd in QEventDispatcherUNIX::processEvents () from /usr/lib64/qt4/libQtCore.so.4  
#4  0x00007faf2b9e3392 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4            
#5  0x00007faf2b9e351d in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4                     
#6  0x00007faf2b8fa3f8 in QThread::exec () from /usr/lib64/qt4/libQtCore.so.4                        
#7  0x00007faf2b8fd0b2 in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4                
#8  0x00007faf2b68e017 in start_thread () from /lib/libpthread.so.0                                  
#9  0x00007faf2ac5d9fd in clone () from /lib/libc.so.6                                               
#10 0x0000000000000000 in ?? ()                                                                      

Thread 2 (Thread 0x44122950 (LWP 27245)):
#0  0x00007faf2b691d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007faf2b8fe1d9 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007faf2dcde454 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/kde/live/lib64/libthreadweaver.so.4
#3  0x00007faf2dce0bf3 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/kde/live/lib64/libthreadweaver.so.4
#4  0x00007faf2dcdf17f in ThreadWeaver::ThreadRunHelper::run () from /usr/kde/live/lib64/libthreadweaver.so.4
#5  0x00007faf2dcdf5d9 in ThreadWeaver::Thread::run () from /usr/kde/live/lib64/libthreadweaver.so.4
#6  0x00007faf2b8fd0b2 in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007faf2b68e017 in start_thread () from /lib/libpthread.so.0
#8  0x00007faf2ac5d9fd in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7faf2f747750 (LWP 27225)):
[KCrash Handler]
#5  0x00007faf2eca1e61 in KDevelop::PluginController::cleanup (this=0x1840cb0) at /var/tmp/portage/kde-base/kdevplatform-9999/work/kdevplatform-9999/shell/plugincontroller.cpp:159
#6  0x00007faf2eca55f4 in KDevelop::Core::cleanup (this=0x17c5d60) at /var/tmp/portage/kde-base/kdevplatform-9999/work/kdevplatform-9999/shell/core.cpp:199
#7  0x00007faf2ec9bb5d in ~MainWindow (this=0x17cbac0) at /var/tmp/portage/kde-base/kdevplatform-9999/work/kdevplatform-9999/shell/mainwindow.cpp:88
#8  0x00007faf2b9f38c5 in QObject::event () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007faf2bea3306 in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007faf2c1b435b in QMainWindow::event () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00007faf2cf8ea78 in KXmlGuiWindow::event () from /usr/kde/live/lib64/libkdeui.so.5
#12 0x00007faf2be5187d in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007faf2be595ca in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007faf2ce8c84b in KApplication::notify () from /usr/kde/live/lib64/libkdeui.so.5
#15 0x00007faf2b9e4a6e in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007faf2b9e5651 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007faf2ba0f060 in QEventDispatcherUNIX::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007faf2bedffe2 in QEventDispatcherX11::processEvents () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007faf2b9e3392 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007faf2b9e351d in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007faf2b9e590d in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#22 0x000000000040770a in main ()
Comment 1 Andreas Pakulat 2008-11-25 09:07:15 UTC
Yeap, that was me :) I'll fix this tonight.
Comment 2 Andreas Pakulat 2008-11-25 21:12:18 UTC
SVN commit 889020 by apaku:

Fix order of cleanup of the controllers, fixes crash on close
BUG:176029

 M  +2 -2      core.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=889020