Bug 337854 - Crash after opening C++ cmake project
Summary: Crash after opening C++ cmake project
Status: RESOLVED DUPLICATE of bug 314111
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.6.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-07-28 11:37 UTC by Olaf Bonorden
Modified: 2014-07-28 15:20 UTC (History)
0 users

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 Olaf Bonorden 2014-07-28 11:37:34 UTC
Application: kdevelop (4.6.0)
KDE Platform Version: 4.13.3
Qt Version: 4.8.5
Operating System: Linux 3.15.5-1.g01d2774-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
- start new session
- load project
- choose CMakeLists.txt from existing cmake c++ project
=> took some time, crash

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
To enable execution of this file add
	add-auto-load-safe-path /usr/lib64/libstdc++.so.6.0.20-gdb.py
line to your configuration file "/home/bono/.gdbinit".
To completely disable this security protection add
	set auto-load safe-path /
line to your configuration file "/home/bono/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
	info "(gdb)Auto-loading safe path"
[Current thread is 1 (Thread 0x7fbef3ea68c0 (LWP 31942))]

Thread 15 (Thread 0x7fbed4c7e700 (LWP 31943)):
#0  0x00007fbef1a89b87 in timerSourcePrepareHelper (src=0x7fbed0002800, timeout=0x7fbed4c7db24) at kernel/qeventdispatcher_glib.cpp:135
#1  0x00007fbef1a89c55 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#2  0x00007fbeea7cccad in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbeea7cd523 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fbeea7cd70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fbef1a89d76 in QEventDispatcherGlib::processEvents (this=0x7fbed00008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007fbef1a5bd0f in QEventLoop::processEvents (this=this@entry=0x7fbed4c7dce0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fbef1a5c005 in QEventLoop::exec (this=this@entry=0x7fbed4c7dce0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fbef195afef in QThread::exec (this=this@entry=0x297e6b0) at thread/qthread.cpp:536
#9  0x00007fbef1a3d513 in QInotifyFileSystemWatcherEngine::run (this=0x297e6b0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007fbef195d68f in QThreadPrivate::start (arg=0x297e6b0) at thread/qthread_unix.cpp:338
#11 0x00007fbef03490db in start_thread (arg=0x7fbed4c7e700) at pthread_create.c:309
#12 0x00007fbef064690d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 14 (Thread 0x7fbecffff700 (LWP 31949)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbeecfd58cb in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fbeed2d3f00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fbeecfd5909 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fbef03490db in start_thread (arg=0x7fbecffff700) at pthread_create.c:309
#4  0x00007fbef064690d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 13 (Thread 0x7fbecf183700 (LWP 31950)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fbef195db44 in wait (time=1000, this=0x3e72590) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x3e43c68, mutex=mutex@entry=0x3e43c70, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fbeedc748c2 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x3e43c50) at /usr/src/debug/kdevplatform-1.6.0/language/duchain/duchain.cpp:285
#4  0x00007fbef195d68f in QThreadPrivate::start (arg=0x3e43c50) at thread/qthread_unix.cpp:338
#5  0x00007fbef03490db in start_thread (arg=0x7fbecf183700) at pthread_create.c:309
#6  0x00007fbef064690d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 12 (Thread 0x7fbecd849700 (LWP 31951)):
#0  0x00007fbef1a8a029 in lockInline (this=0x471b238) at ../../src/corelib/thread/qmutex.h:187
#1  QMutexLocker (m=0x471b238, this=<synthetic pointer>) at ../../src/corelib/thread/qmutex.h:109
#2  canWaitLocked (this=0x471b1f0) at ../../src/corelib/thread/qthread_p.h:227
#3  postEventSourcePrepare (s=0x7fbe440012f0, timeout=0x7fbecd848b64) at kernel/qeventdispatcher_glib.cpp:263
#4  0x00007fbeea7cccad in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fbeea7cd523 in ?? () from /usr/lib64/libglib-2.0.so.0
#6  0x00007fbeea7cd70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#7  0x00007fbef1a89d76 in QEventDispatcherGlib::processEvents (this=0x7fbe440008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#8  0x00007fbef1a5bd0f in QEventLoop::processEvents (this=this@entry=0x7fbecd848d20, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007fbef1a5c005 in QEventLoop::exec (this=this@entry=0x7fbecd848d20, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007fbef195afef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#11 0x00007fbef195d68f in QThreadPrivate::start (arg=0x4730b48) at thread/qthread_unix.cpp:338
#12 0x00007fbef03490db in start_thread (arg=0x7fbecd849700) at pthread_create.c:309
#13 0x00007fbef064690d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 11 (Thread 0x7fbe2f653700 (LWP 31954)):
#0  0x00007fbef034c560 in __pthread_mutex_unlock_usercnt (mutex=0x7fbe28000a80, decr=<optimized out>) at pthread_mutex_unlock.c:57
#1  0x00007fbeea80d2c1 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbeea7cd5f9 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbeea7cd70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fbef1a89d76 in QEventDispatcherGlib::processEvents (this=0x7fbe280008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007fbef1a5bd0f in QEventLoop::processEvents (this=this@entry=0x7fbe2f652d20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fbef1a5c005 in QEventLoop::exec (this=this@entry=0x7fbe2f652d20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fbef195afef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007fbef195d68f in QThreadPrivate::start (arg=0x4a9d330) at thread/qthread_unix.cpp:338
#9  0x00007fbef03490db in start_thread (arg=0x7fbe2f653700) at pthread_create.c:309
#10 0x00007fbef064690d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 10 (Thread 0x7fbe15f0d700 (LWP 31988)):
#0  0x00007fbef034b3e9 in __GI___pthread_mutex_lock (mutex=0x7fbe0c000a80) at ../nptl/pthread_mutex_lock.c:125
#1  0x00007fbeea80d291 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbeea7cc750 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbeea7cd4c5 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fbeea7cd70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fbef1a89d76 in QEventDispatcherGlib::processEvents (this=0x7fbe0c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007fbef1a5bd0f in QEventLoop::processEvents (this=this@entry=0x7fbe15f0cce0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fbef1a5c005 in QEventLoop::exec (this=this@entry=0x7fbe15f0cce0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fbef195afef in QThread::exec (this=this@entry=0x5d789f0) at thread/qthread.cpp:536
#9  0x00007fbef1a3d513 in QInotifyFileSystemWatcherEngine::run (this=0x5d789f0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007fbef195d68f in QThreadPrivate::start (arg=0x5d789f0) at thread/qthread_unix.cpp:338
#11 0x00007fbef03490db in start_thread (arg=0x7fbe15f0d700) at pthread_create.c:309
#12 0x00007fbef064690d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7fbe24a67700 (LWP 31997)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbef195db66 in wait (time=18446744073709551615, this=0x2f0b440) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2f0b318, mutex=0x2f0b5c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fbee785c79c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2f0b2f0, th=0x2e1eda0) at /usr/src/debug/kdelibs-4.13.3/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fbee785f233 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2f0b650, th=0x2e1eda0, previous=0x2848050) at /usr/src/debug/kdelibs-4.13.3/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fbee785df4f in ThreadWeaver::Thread::run (this=0x2e1eda0) at /usr/src/debug/kdelibs-4.13.3/threadweaver/Weaver/Thread.cpp:98
#6  0x00007fbef195d68f in QThreadPrivate::start (arg=0x2e1eda0) at thread/qthread_unix.cpp:338
#7  0x00007fbef03490db in start_thread (arg=0x7fbe24a67700) at pthread_create.c:309
#8  0x00007fbef064690d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7fbe25268700 (LWP 31998)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbef195db66 in wait (time=18446744073709551615, this=0x2f0b440) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2f0b318, mutex=0x2f0b5c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fbee785c79c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2f0b2f0, th=0x2a53590) at /usr/src/debug/kdelibs-4.13.3/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fbee785f233 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2f0b650, th=0x2a53590, previous=0x0) at /usr/src/debug/kdelibs-4.13.3/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fbee785f24c in ThreadWeaver::WorkingHardState::applyForWork (this=0x2f0b650, th=0x2a53590, previous=0x27efe00) at /usr/src/debug/kdelibs-4.13.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007fbee785df4f in ThreadWeaver::Thread::run (this=0x2a53590) at /usr/src/debug/kdelibs-4.13.3/threadweaver/Weaver/Thread.cpp:98
#7  0x00007fbef195d68f in QThreadPrivate::start (arg=0x2a53590) at thread/qthread_unix.cpp:338
#8  0x00007fbef03490db in start_thread (arg=0x7fbe25268700) at pthread_create.c:309
#9  0x00007fbef064690d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7fbe1f349700 (LWP 31999)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbee6b00f76 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fbee6b00fa9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fbef03490db in start_thread (arg=0x7fbe1f349700) at pthread_create.c:309
#4  0x00007fbef064690d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fbe1eb48700 (LWP 32000)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbee68732cd in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fbee6b28ad6 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fbef03490db in start_thread (arg=0x7fbe1eb48700) at pthread_create.c:309
#4  0x00007fbef064690d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fbe1c545700 (LWP 32001)):
#0  0x00007fbeea80cffa in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fbeea80d289 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbeea7cc750 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbeea7cd4c5 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fbeea7cd70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fbef1a89d76 in QEventDispatcherGlib::processEvents (this=0x7fbdb80008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007fbef1a5bd0f in QEventLoop::processEvents (this=this@entry=0x7fbe1c544d20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fbef1a5c005 in QEventLoop::exec (this=this@entry=0x7fbe1c544d20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fbef195afef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#9  0x00007fbef195d68f in QThreadPrivate::start (arg=0x2a38ad0) at thread/qthread_unix.cpp:338
#10 0x00007fbef03490db in start_thread (arg=0x7fbe1c545700) at pthread_create.c:309
#11 0x00007fbef064690d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fbe270ff700 (LWP 32121)):
#0  0x00007fbef063db3d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fbeea7cd604 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbeea7cd70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbef1a89d76 in QEventDispatcherGlib::processEvents (this=0x7fbe200008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007fbef1a5bd0f in QEventLoop::processEvents (this=this@entry=0x7fbe270fece0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbef1a5c005 in QEventLoop::exec (this=this@entry=0x7fbe270fece0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fbef195afef in QThread::exec (this=this@entry=0x5795be0) at thread/qthread.cpp:536
#7  0x00007fbef1a4067d in QDnotifySignalThread::run (this=0x5795be0) at io/qfilesystemwatcher_dnotify.cpp:179
#8  0x00007fbef195d68f in QThreadPrivate::start (arg=0x5795be0) at thread/qthread_unix.cpp:338
#9  0x00007fbef03490db in start_thread (arg=0x7fbe270ff700) at pthread_create.c:309
#10 0x00007fbef064690d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fbe1ba15700 (LWP 32340)):
#0  0x00007fbeea80cffa in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fbeea80d289 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbeea7cce9b in g_main_context_query () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbeea7cd572 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fbeea7cd70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fbef1a89d76 in QEventDispatcherGlib::processEvents (this=0x7fbda40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007fbef1a5bd0f in QEventLoop::processEvents (this=this@entry=0x7fbe1ba14d20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fbef1a5c005 in QEventLoop::exec (this=this@entry=0x7fbe1ba14d20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fbef195afef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#9  0x00007fbef195d68f in QThreadPrivate::start (arg=0x879b9e0) at thread/qthread_unix.cpp:338
#10 0x00007fbef03490db in start_thread (arg=0x7fbe1ba15700) at pthread_create.c:309
#11 0x00007fbef064690d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fbe150d7700 (LWP 32341)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007fbef034b4f2 in _L_lock_957 () from /lib64/libpthread.so.0
#2  0x00007fbef034b35a in __GI___pthread_mutex_lock (mutex=0x7fbee1c0e880) at ../nptl/pthread_mutex_lock.c:114
#3  0x00007fbee198ad30 in ?? () from /usr/lib64/libGL.so.1
#4  0x00007fbee198e24e in ?? () from /usr/lib64/libGL.so.1
#5  0x00007fbee198e6a8 in ?? () from /usr/lib64/libGL.so.1
#6  0x00007fbee09aefd1 in ?? () from /usr/lib64/tls/libnvidia-tls.so.340.24
#7  0x00007fbeea80c5c0 in ?? () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fbeea7cd12c in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fbeea7cd59b in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fbeea7cd70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007fbef1a89d76 in QEventDispatcherGlib::processEvents (this=0x7fbda80008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#12 0x00007fbef1a5bd0f in QEventLoop::processEvents (this=this@entry=0x7fbe150d6d20, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fbef1a5c005 in QEventLoop::exec (this=this@entry=0x7fbe150d6d20, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007fbef195afef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#15 0x00007fbef195d68f in QThreadPrivate::start (arg=0x8786600) at thread/qthread_unix.cpp:338
#16 0x00007fbef03490db in start_thread (arg=0x7fbe150d7700) at pthread_create.c:309
#17 0x00007fbef064690d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fbef3ea68c0 (LWP 31942)):
[KCrash Handler]
#6  0x00007fbef0594849 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fbef0595cd8 in __GI_abort () at abort.c:89
#8  0x00007fbeedd2683f in KDevelop::ItemRepositoryRegistry::registerRepository (this=0x25f2b30, repository=repository@entry=0x879eae8, manager=0x0) at /usr/src/debug/kdevplatform-1.6.0/language/duchain/repositories/itemrepositoryregistry.cpp:159
#9  0x00007fbe1bab6568 in ItemRepository (manager=0x0, repositoryVersion=1, registry=0x25f2b30, repositoryName=..., this=0x879eae8) at /usr/include/kdevplatform/language/duchain/repositories/itemrepository.h:1119
#10 Cpp::EnvironmentManager::EnvironmentManager (this=0x879eae0) at /usr/src/debug/kdevelop-4.6.0/languages/cpp/cppduchain/environmentmanager.cpp:183
#11 0x00007fbe1bab6636 in Cpp::EnvironmentManager::init () at /usr/src/debug/kdevelop-4.6.0/languages/cpp/cppduchain/environmentmanager.cpp:190
#12 0x00007fbe1ca448a5 in CppLanguageSupport::CppLanguageSupport (this=0x5782330, parent=<optimized out>) at /usr/src/debug/kdevelop-4.6.0/languages/cpp/cpplanguagesupport.cpp:176
#13 0x00007fbe1ca491b8 in KPluginFactory::createInstance<CppLanguageSupport, QObject> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/kpluginfactory.h:477
#14 0x00007fbef3a3f773 in KPluginFactory::create (this=0x81ccd00, iface=0x7fbef362b2a0 <qt_meta_stringdata_KDevelop__IPlugin> "KDevelop::IPlugin", parentWidget=0x0, parent=0x2e25c00, args=..., keyword=...) at /usr/src/debug/kdelibs-4.13.3/kdecore/util/kpluginfactory.cpp:203
#15 0x00007fbef335b364 in create<KDevelop::IPlugin> (args=..., keyword=..., parent=0x2e25c00, parentWidget=0x0, this=0x81ccd00) at /usr/include/kpluginfactory.h:531
#16 createInstance<KDevelop::IPlugin> (error=0x7fff19dd0ba0, args=..., parent=0x2e25c00, parentWidget=0x0, this=0x81e9060) at /usr/include/kservice.h:579
#17 createInstanceFromQuery<KDevelop::IPlugin> (error=0x7fff19dd0ba0, args=..., constraint=..., parent=0x2e25c00, parentWidget=0x0, serviceType=...) at /usr/include/kservicetypetrader.h:186
#18 createInstanceFromQuery<KDevelop::IPlugin> (error=0x7fff19dd0ba0, args=..., parent=0x2e25c00, constraint=..., serviceType=...) at /usr/include/kservicetypetrader.h:157
#19 KDevelop::PluginController::loadPluginInternal (this=this@entry=0x2ea4cc0, pluginId=...) at /usr/src/debug/kdevplatform-1.6.0/shell/plugincontroller.cpp:432
#20 0x00007fbef335de64 in KDevelop::PluginController::allPluginsForExtension (this=this@entry=0x2ea4cc0, extension=..., constraints=...) at /usr/src/debug/kdevplatform-1.6.0/shell/plugincontroller.cpp:583
#21 0x00007fbef338a745 in KDevelop::LanguageController::languagesForMimetype (this=this@entry=0x2f0abd0, mimetype=...) at /usr/src/debug/kdevplatform-1.6.0/shell/languagecontroller.cpp:323
#22 0x00007fbef338b424 in KDevelop::LanguageController::languagesForUrl (this=<optimized out>, url=...) at /usr/src/debug/kdevplatform-1.6.0/shell/languagecontroller.cpp:303
#23 0x00007fbeedccc9c9 in KDevelop::DUChainUtils::standardContextForUrl (url=..., preferProxyContext=preferProxyContext@entry=false) at /usr/src/debug/kdevplatform-1.6.0/language/duchain/duchainutils.cpp:270
#24 0x00007fbeedc60129 in KDevelop::DUChain::updateContextForUrl (this=<optimized out>, document=..., minFeatures=minFeatures@entry=KDevelop::TopDUContext::AllDeclarationsAndContexts, notifyReady=notifyReady@entry=0x81fd8d0, priority=priority@entry=1) at /usr/src/debug/kdevplatform-1.6.0/language/duchain/duchain.cpp:1712
#25 0x00007fbe1d4e8451 in CTestFindJob::findTestCases (this=0x81fd8d0) at /usr/src/debug/kdevelop-4.6.0/projectmanagers/cmake/testing/ctestfindjob.cpp:71
#26 0x00007fbef1a7511e in QObject::event (this=0x81fd8d0, e=<optimized out>) at kernel/qobject.cpp:1203
#27 0x00007fbef0dfa8ac in QApplicationPrivate::notify_helper (this=this@entry=0x24f1e30, receiver=receiver@entry=0x81fd8d0, e=e@entry=0x81fee70) at kernel/qapplication.cpp:4562
#28 0x00007fbef0e00e70 in QApplication::notify (this=this@entry=0x7fff19dd1b00, receiver=receiver@entry=0x81fd8d0, e=e@entry=0x81fee70) at kernel/qapplication.cpp:4348
#29 0x00007fbef22765ea in KApplication::notify (this=0x7fff19dd1b00, receiver=0x81fd8d0, event=0x81fee70) at /usr/src/debug/kdelibs-4.13.3/kdeui/kernel/kapplication.cpp:311
#30 0x00007fbef1a5d0ad in QCoreApplication::notifyInternal (this=0x7fff19dd1b00, receiver=receiver@entry=0x81fd8d0, event=event@entry=0x81fee70) at kernel/qcoreapplication.cpp:949
#31 0x00007fbef1a600ff in sendEvent (event=0x81fee70, receiver=0x81fd8d0) at kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x24463c0) at kernel/qcoreapplication.cpp:1573
#33 0x00007fbef1a605a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#34 0x00007fbef1a8a493 in sendPostedEvents () at kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0x24f1b70) at kernel/qeventdispatcher_glib.cpp:280
#36 0x00007fbeea7cd316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#37 0x00007fbeea7cd668 in ?? () from /usr/lib64/libglib-2.0.so.0
#38 0x00007fbeea7cd70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#39 0x00007fbef1a89d55 in QEventDispatcherGlib::processEvents (this=0x244bc20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#40 0x00007fbef0e97936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007fbef1a5bd0f in QEventLoop::processEvents (this=this@entry=0x7fff19dd1930, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007fbef1a5c005 in QEventLoop::exec (this=this@entry=0x7fff19dd1930, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007fbef1a6113b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#44 0x00007fbef0df906c in QApplication::exec () at kernel/qapplication.cpp:3823
#45 0x00000000004111ea in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop-4.6.0/app/main.cpp:566

The reporter indicates this bug may be a duplicate of or related to bug 314111.

Possible duplicates by query: bug 314522, bug 314147, bug 314111, bug 314031.

Reported using DrKonqi
Comment 1 Milian Wolff 2014-07-28 12:22:23 UTC

*** This bug has been marked as a duplicate of bug 314111 ***
Comment 2 Olaf Bonorden 2014-07-28 14:31:40 UTC
increasing number of file descriptors from 1024 to 16384 leads to another back trace:

-----

#10 0x00007f8afdc9d800 in __GI___chk_fail () at chk_fail.c:28
#11 0x00007f8afdc9f5c7 in __fdelt_chk (d=<optimized out>) at fdelt_chk.c:25
#12 0x00007f8aff07fd21 in QProcessPrivate::waitForStarted (this=0x650ac70, msecs=msecs@entry=5000) at io/qprocess_unix.cpp:1040
#13 0x00007f8aff038962 in QProcess::waitForStarted (this=this@entry=0x7fff310a48e0, msecs=msecs@entry=5000) at io/qprocess.cpp:1687
#14 0x00007f8aff038a4b in QProcess::waitForFinished (this=this@entry=0x7fff310a48e0, msecs=msecs@entry=5000) at io/qprocess.cpp:1752
#15 0x00007f8b00f9646a in KProcess::execute (this=this@entry=0x7fff310a48e0, msecs=msecs@entry=5000) at /usr/src/debug/kdelibs-4.13.3/kdecore/io/kprocess.cpp:350
#16 0x00007f8a310d12c4 in CppTools::computeGccStandardMacros (withStdCpp0x=withStdCpp0x@entry=true) at 
...
------


In __fdelt_chk there seems to be code that checks that the fd is <= 1024.
Comment 3 Olaf Bonorden 2014-07-28 14:51:28 UTC
project contains more than 600 directories, kdevelop opens 2 fds per directory...
Comment 4 Olaf Bonorden 2014-07-28 15:20:08 UTC
version kdevelop4-4.7.60git.1406365283-97.2.x86_64 still opens too many directories