Bug 318443

Summary: KDevelop crashed when trying to compile program
Product: [Applications] kdevelop Reporter: Oleg <prcoder>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.4.1   
Target Milestone: 4.3.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Oleg 2013-04-16 12:43:36 UTC
Application: kdevelop (4.4.1)
KDE Platform Version: 4.10.1
Qt Version: 4.8.4
Operating System: Linux 3.8.5-201.fc18.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
KDevelop crashed when trying to compile program after editing CMakeFiles.txt file

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f4826669880 (LWP 7655))]

Thread 11 (Thread 0x7f4819a32700 (LWP 7656)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x0000003bdb07be17 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x0000003be86b296b in KDevelop::DUChainPrivate::CleanupThread::run() () from /lib64/libkdevplatformlanguage.so.6
#3  0x0000003bdb07b95c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x00000031fba07d15 in start_thread (arg=0x7f4819a32700) at pthread_create.c:308
#5  0x00000031fb2f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 10 (Thread 0x7f4805813700 (LWP 7659)):
#0  0x00000031fba09c12 in __GI___pthread_mutex_lock (mutex=0x7f4800000a60) at pthread_mutex_lock.c:95
#1  0x00000031fea84da1 in g_mutex_lock () from /lib64/libglib-2.0.so.0
#2  0x00000031fea4768b in g_main_context_query () from /lib64/libglib-2.0.so.0
#3  0x00000031fea47c99 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#4  0x00000031fea47e44 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x0000003bdb1a6126 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x0000003bdb17680f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#7  0x0000003bdb176a98 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#8  0x0000003bdb078980 in QThread::exec() () from /lib64/libQtCore.so.4
#9  0x0000003bdb07b95c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#10 0x00000031fba07d15 in start_thread (arg=0x7f4805813700) at pthread_create.c:308
#11 0x00000031fb2f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 9 (Thread 0x7f4805012700 (LWP 7660)):
#0  0x00000031fea84b25 in g_mutex_get_impl () from /lib64/libglib-2.0.so.0
#1  0x00000031fea84dc9 in g_mutex_unlock () from /lib64/libglib-2.0.so.0
#2  0x00000031fea47cd5 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#3  0x00000031fea47e44 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x0000003bdb1a6126 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x0000003bdb17680f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x0000003bdb176a98 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#7  0x0000003bdb078980 in QThread::exec() () from /lib64/libQtCore.so.4
#8  0x0000003bdb07b95c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#9  0x00000031fba07d15 in start_thread (arg=0x7f4805012700) at pthread_create.c:308
#10 0x00000031fb2f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 8 (Thread 0x7f47fffff700 (LWP 7665)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003be37868c7 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQtScript.so.4
#2  0x0000003be37868f9 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQtScript.so.4
#3  0x00000031fba07d15 in start_thread (arg=0x7f47fffff700) at pthread_create.c:308
#4  0x00000031fb2f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 7 (Thread 0x7f47fcb14700 (LWP 7672)):
#0  0x00000031fb2e99ad in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00000031fea47d24 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#2  0x00000031fea47e44 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x0000003bdb1a6126 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#4  0x0000003bdb17680f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x0000003bdb176a98 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x0000003bdb078980 in QThread::exec() () from /lib64/libQtCore.so.4
#7  0x0000003bdb15703f in QInotifyFileSystemWatcherEngine::run() () from /lib64/libQtCore.so.4
#8  0x0000003bdb07b95c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#9  0x00000031fba07d15 in start_thread (arg=0x7f47fcb14700) at pthread_create.c:308
#10 0x00000031fb2f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 6 (Thread 0x7f477231d700 (LWP 7747)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003be6e169bd in WTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQtWebKit.so.4
#2  0x0000003be6e16ac9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQtWebKit.so.4
#3  0x00000031fba07d15 in start_thread (arg=0x7f477231d700) at pthread_create.c:308
#4  0x00000031fb2f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 5 (Thread 0x7f4772b1e700 (LWP 7750)):
#0  0x00000031fea84b25 in g_mutex_get_impl () from /lib64/libglib-2.0.so.0
#1  0x00000031fea84dc9 in g_mutex_unlock () from /lib64/libglib-2.0.so.0
#2  0x00000031fea475ab in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#3  0x00000031fea47c4b in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#4  0x00000031fea47e44 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x0000003bdb1a6126 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x0000003bdb17680f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#7  0x0000003bdb176a98 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#8  0x0000003bdb078980 in QThread::exec() () from /lib64/libQtCore.so.4
#9  0x0000003bdb07b95c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#10 0x00000031fba07d15 in start_thread (arg=0x7f4772b1e700) at pthread_create.c:308
#11 0x00000031fb2f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 4 (Thread 0x7f472b7fe700 (LWP 7962)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003bdb07bebb in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x0000003be4c0aad1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#3  0x0000003be4c0d31b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /lib64/libthreadweaver.so.4
#4  0x0000003be4c0c18f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#5  0x0000003be4c0c21b in ThreadWeaver::Thread::run() () from /lib64/libthreadweaver.so.4
#6  0x0000003bdb07b95c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#7  0x00000031fba07d15 in start_thread (arg=0x7f472b7fe700) at pthread_create.c:308
#8  0x00000031fb2f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 3 (Thread 0x7f472affd700 (LWP 7963)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003bdb07bebb in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x0000003be4c0aad1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#3  0x0000003be4c0d31b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /lib64/libthreadweaver.so.4
#4  0x0000003be4c0d334 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /lib64/libthreadweaver.so.4
#5  0x0000003be4c0c18f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#6  0x0000003be4c0c21b in ThreadWeaver::Thread::run() () from /lib64/libthreadweaver.so.4
#7  0x0000003bdb07b95c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#8  0x00000031fba07d15 in start_thread (arg=0x7f472affd700) at pthread_create.c:308
#9  0x00000031fb2f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7f472bfff700 (LWP 9860)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003bdb07bebb in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x0000003bdb077dd7 in QSemaphore::acquire(int) () from /lib64/libQtCore.so.4
#3  0x0000003bdb17f7ce in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () from /lib64/libQtCore.so.4
#4  0x0000003bdb181cdc in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /lib64/libQtCore.so.4
#5  0x0000003be301b13a in KDevelop::ProjectBaseItem::setText(QString const&) () from /lib64/libkdevplatformproject.so.6
#6  0x0000003be301e77c in KDevelop::ProjectBaseItem::setUrl(KUrl const&) () from /lib64/libkdevplatformproject.so.6
#7  0x0000003be301e94f in KDevelop::ProjectFileItem::setUrl(KUrl const&) () from /lib64/libkdevplatformproject.so.6
#8  0x0000003be301ec45 in KDevelop::ProjectFileItem::ProjectFileItem(KDevelop::IProject*, KUrl const&, KDevelop::ProjectBaseItem*) () from /lib64/libkdevplatformproject.so.6
#9  0x00007f477315a15e in CMakeManager::setTargetFiles(KDevelop::ProjectTargetItem*, KUrl::List const&) () from /usr/lib64/kde4/kdevcmakemanager.so
#10 0x00007f47731642e8 in CMakeManager::parse(KDevelop::ProjectFolderItem*) () from /usr/lib64/kde4/kdevcmakemanager.so
#11 0x0000003be3021e2b in KDevelop::ImportProjectJobPrivate::import(KDevelop::ProjectFolderItem*) () from /lib64/libkdevplatformproject.so.6
#12 0x0000003be3021c06 in QtConcurrent::RunFunctionTask<void>::run() () from /lib64/libkdevplatformproject.so.6
#13 0x0000003bdb06f5ad in QThreadPoolThread::run() () from /lib64/libQtCore.so.4
#14 0x0000003bdb07b95c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#15 0x00000031fba07d15 in start_thread (arg=0x7f472bfff700) at pthread_create.c:308
#16 0x00000031fb2f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7f4826669880 (LWP 7655)):
[KCrash Handler]
#5  0x00000031fb235ba5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:63
#6  0x00000031fb237358 in __GI_abort () at abort.c:90
#7  0x00000031fb27559b in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x31fb379ba8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:197
#8  0x00000031fb27ca8e in malloc_printerr (ptr=0x7f47243ad300, str=0x31fb379c00 "double free or corruption (fasttop)", action=3) at malloc.c:4969
#9  _int_free (av=0x7f4724000020, p=0x7f47243ad2f0, have_lock=0) at malloc.c:3826
#10 0x0000003bdb0c5318 in QString::free(QString::Data*) () from /lib64/libQtCore.so.4
#11 0x0000003be301adba in KDevelop::ProjectBaseItem::lessThan(KDevelop::ProjectBaseItem const*) const () from /lib64/libkdevplatformproject.so.6
#12 0x0000003bdcf51d71 in QSortFilterProxyModelPrivate::proxy_intervals_for_source_items_to_add(QVector<int> const&, QVector<int> const&, QModelIndex const&, Qt::Orientation) const () from /lib64/libQtGui.so.4
#13 0x0000003bdcf520c6 in QSortFilterProxyModelPrivate::insert_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) () from /lib64/libQtGui.so.4
#14 0x0000003bdcf569de in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQtGui.so.4
#15 0x0000003bdb18c3ce in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#16 0x0000003bdc9ca5cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#17 0x0000003bdc9cea4a in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#18 0x0000003bde4473c6 in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#19 0x0000003bdb177abe in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#20 0x0000003bdb17b571 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#21 0x0000003bdb1a5f73 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#22 0x00000031fea47a55 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#23 0x00000031fea47d88 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#24 0x00000031fea47e44 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#25 0x0000003bdb1a6106 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#26 0x0000003bdca6a73e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#27 0x0000003bdb17680f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#28 0x0000003bdb176a98 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#29 0x0000003bdb17b888 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#30 0x000000000040e86a in main ()

Possible duplicates by query: bug 317067, bug 316284, bug 315240, bug 314055, bug 313515.

Reported using DrKonqi
Comment 1 Kevin Funk 2013-04-17 18:38:15 UTC

*** This bug has been marked as a duplicate of bug 298087 ***