https://bugs.kde.org/show_bug.cgi?id=274626 Summary: Crash when closing output tabs very quickly Product: kdevelop Version: 4.2.60 Platform: Compiled Sources OS/Version: Linux Status: NEW Severity: crash Priority: NOR Component: general AssignedTo: kdevelop-bugs@kdevelop.org ReportedBy: aspotashev@gmail.com Application: kdevelop (4.2.60) KDE Platform Version: 4.6.3 (4.6.3) (Compiled from sources) Qt Version: 4.7.3 Operating System: Linux 2.6.38 x86_64 Distribution: "Gentoo Base System release 2.0.2" -- Information about the crash: - What I was doing when the application crashed: 1. run my C++ application (that I develop in KDevelop) a few times 2. click the "close tab" button very _quickly_ to close a few output views. About 6 clicks per second is enough. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault [Current thread is 1 (Thread 0x7f7351547760 (LWP 21976))] Thread 10 (Thread 0x7f734b074700 (LWP 21982)): #0 0x0000003bd7e0b619 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f7356c4cc61 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f7354907ddb in KDevelop::DUChainPrivate::CleanupThread::run (this=0x36fd260) at /home/sasha/soft/kde-git/kdevplatform/language/duchain/duchain.cpp:286 #3 0x00007f7356c4c155 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4 #4 0x0000003bd7e06914 in start_thread () from /lib64/libpthread.so.0 #5 0x0000003bd72d177d in clone () from /lib64/libc.so.6 Thread 9 (Thread 0x7f7341a36700 (LWP 21993)): #0 0x00007fff609ff8e4 in clock_gettime () #1 0x0000003bd8604318 in clock_gettime () from /lib64/librt.so.1 #2 0x00007f7356c9f7a4 in qt_gettime() () from /usr/lib64/qt4/libQtCore.so.4 #3 0x00007f7356d6862d in QTimerInfoList::updateCurrentTime() () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f7356d68655 in QTimerInfoList::timerWait(timeval&) () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f7356d6683d in timerSourcePrepareHelper(GTimerSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4 #6 0x00007f7356d668dd in timerSourcePrepare(_GSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4 #7 0x0000003bdb246820 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0 #8 0x0000003bdb246c78 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0 #9 0x0000003bdb24724c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #10 0x00007f7356d66656 in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #11 0x00007f7356d39b92 in QEventLoop::processEvents(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #12 0x00007f7356d39f7d in QEventLoop::exec(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #13 0x00007f7356c491ad in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4 #14 0x00007f7356c4c155 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4 #15 0x0000003bd7e06914 in start_thread () from /lib64/libpthread.so.0 #16 0x0000003bd72d177d in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7f7341235700 (LWP 21994)): #0 0x00007fff609ff8e4 in clock_gettime () #1 0x0000003bd8604318 in clock_gettime () from /lib64/librt.so.1 #2 0x00007f7356c9f7a4 in qt_gettime() () from /usr/lib64/qt4/libQtCore.so.4 #3 0x00007f7356d6862d in QTimerInfoList::updateCurrentTime() () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f7356d68655 in QTimerInfoList::timerWait(timeval&) () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f7356d6683d in timerSourcePrepareHelper(GTimerSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4 #6 0x00007f7356d668dd in timerSourcePrepare(_GSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4 #7 0x0000003bdb246820 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0 #8 0x0000003bdb246c78 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0 #9 0x0000003bdb24724c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #10 0x00007f7356d66656 in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #11 0x00007f7356d39b92 in QEventLoop::processEvents(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #12 0x00007f7356d39f7d in QEventLoop::exec(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #13 0x00007f7356c491ad in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4 #14 0x00007f7356c4c155 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4 #15 0x0000003bd7e06914 in start_thread () from /lib64/libpthread.so.0 #16 0x0000003bd72d177d in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7f7336b4c700 (LWP 21999)): #0 0x0000003bd7e0b2ac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f7355553944 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtScript.so.4 #2 0x00007f7355553979 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtScript.so.4 #3 0x0000003bd7e06914 in start_thread () from /lib64/libpthread.so.0 #4 0x0000003bd72d177d in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7f7335dbf700 (LWP 22000)): #0 0x00007fff609ff8e4 in clock_gettime () #1 0x0000003bd8604318 in clock_gettime () from /lib64/librt.so.1 #2 0x00007f7356c9f7a4 in qt_gettime() () from /usr/lib64/qt4/libQtCore.so.4 #3 0x00007f7356d6862d in QTimerInfoList::updateCurrentTime() () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f7356d68655 in QTimerInfoList::timerWait(timeval&) () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f7356d6683d in timerSourcePrepareHelper(GTimerSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4 #6 0x00007f7356d668dd in timerSourcePrepare(_GSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4 #7 0x0000003bdb246820 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0 #8 0x0000003bdb246c78 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0 #9 0x0000003bdb24724c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #10 0x00007f7356d66656 in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #11 0x00007f7356d39b92 in QEventLoop::processEvents(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #12 0x00007f7356d39f7d in QEventLoop::exec(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #13 0x00007f7356c491ad in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4 #14 0x00007f7356d19f48 in QInotifyFileSystemWatcherEngine::run() () from /usr/lib64/qt4/libQtCore.so.4 #15 0x00007f7356c4c155 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4 #16 0x0000003bd7e06914 in start_thread () from /lib64/libpthread.so.0 #17 0x0000003bd72d177d in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7f73348ad700 (LWP 22029)): #0 0x0000003bd7e0b2ac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f7352e4188d in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtWebKit.so.4 #2 0x00007f7352e41989 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4 #3 0x0000003bd7e06914 in start_thread () from /lib64/libpthread.so.0 #4 0x0000003bd72d177d in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7f733266b700 (LWP 22244)): #0 0x0000003bd7e0b2ac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f7356c4cceb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f7359532be4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4 #3 0x00007f7359535d4b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4 #4 0x00007f73595342f7 in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4 #5 0x00007f7359534848 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4 #6 0x00007f7356c4c155 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4 #7 0x0000003bd7e06914 in start_thread () from /lib64/libpthread.so.0 #8 0x0000003bd72d177d in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f7331e6a700 (LWP 22245)): #0 0x0000003bd7e0b2ac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f7356c4cceb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f7359532be4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4 #3 0x00007f7359535d4b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4 #4 0x00007f7359535d64 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4 #5 0x00007f7359535d64 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4 #6 0x00007f73595342f7 in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4 #7 0x00007f7359534848 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4 #8 0x00007f7356c4c155 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4 #9 0x0000003bd7e06914 in start_thread () from /lib64/libpthread.so.0 #10 0x0000003bd72d177d in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f7331669700 (LWP 22246)): #0 0x0000003bd7e0b2ac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f7356c4cceb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f7359532be4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4 #3 0x00007f7359535d4b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4 #4 0x00007f7359535d64 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4 #5 0x00007f7359535d64 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4 #6 0x00007f73595342f7 in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4 #7 0x00007f7359534848 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4 #8 0x00007f7356c4c155 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4 #9 0x0000003bd7e06914 in start_thread () from /lib64/libpthread.so.0 #10 0x0000003bd72d177d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f7351547760 (LWP 21976)): [KCrash Handler] #6 0x0000000100000209 in ?? () #7 0x00007f734a66b265 in OutputWidget::removeOutput (this=0x7723320, id=48) at /home/sasha/soft/kde-git/kdevplatform/plugins/standardoutputview/outputwidget.cpp:229 #8 0x00007f734a6696e2 in StandardOutputView::removeOutput (this=, outputId=48) at /home/sasha/soft/kde-git/kdevplatform/plugins/standardoutputview/standardoutputview.cpp:326 #9 0x00007f734a66aadd in OutputWidget::closeActiveView (this=0x7723320) at /home/sasha/soft/kde-git/kdevplatform/plugins/standardoutputview/outputwidget.cpp:275 #10 0x00007f734a66e88c in OutputWidget::qt_metacall (this=0x7723320, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0x7fff608d6cf0) at /home/sasha/soft/kde-git/kdevplatform/b/plugins/standardoutputview/outputwidget.moc:102 #11 0x00007f7356d5266f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #12 0x00007f7356785bf2 in QAbstractButton::clicked(bool) () from /usr/lib64/qt4/libQtGui.so.4 #13 0x00007f7356495fdb in QAbstractButtonPrivate::emitClicked() () from /usr/lib64/qt4/libQtGui.so.4 #14 0x00007f735649766b in QAbstractButtonPrivate::click() () from /usr/lib64/qt4/libQtGui.so.4 #15 0x00007f73564978cc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #16 0x00007f7356563faa in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #17 0x00007f735611e02d in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #18 0x00007f73560c895c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #19 0x00007f73560cf89e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #20 0x00007f735754ea56 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #21 0x00007f7356d3ae0b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #22 0x00007f73560ccd95 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) () from /usr/lib64/qt4/libQtGui.so.4 #23 0x00007f7356150c73 in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib64/qt4/libQtGui.so.4 #24 0x00007f735614fcf9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #25 0x00007f7356179ad2 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4 #26 0x0000003bdb242a41 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #27 0x0000003bdb247098 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0 #28 0x0000003bdb24724c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #29 0x00007f7356d66603 in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #30 0x00007f735617944e in QGuiEventDispatcherGlib::processEvents(QFlags) () from /usr/lib64/qt4/libQtGui.so.4 #31 0x00007f7356d39b92 in QEventLoop::processEvents(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #32 0x00007f7356d39f7d in QEventLoop::exec(QFlags) () from /usr/lib64/qt4/libQtCore.so.4 #33 0x00007f7356d3df73 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4 #34 0x000000000040b7a3 in main (argc=, argv=) at /home/sasha/soft/kde-git/kdevelop/app/main.cpp:474 Reported using DrKonqi -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs