Application: kdevelop (4.0.1 (using KDevPlatform 1.0.1)) KDE Platform Version: 4.4.5 (KDE 4.4.5) Qt Version: 4.6.3 Operating System: Linux 2.6.32-5-amd64 x86_64 Distribution: Debian GNU/Linux 6.0 (n/a) -- Information about the crash: Kdevelop crashes -- there is no pattern of when it crashes. Sometimes while I'm typing; other times when I'm pasting something. The only commonality that I can see is that it crashes when there are at least two sessions open (with different Session names and projects). The crash does not happen immediately; sometimes after a couple of minutes...other times longer. When I have only one session open, it [seems to] never crash like this. The crash can be reproduced some of the time. -- Backtrace: Application: KDevelop (kdevelop.bin), signal: Segmentation fault The current source language is "auto; currently asm". [Current thread is 1 (Thread 0x2ba492bc78a0 (LWP 11143))] Thread 8 (Thread 0x2ba4a2449710 (LWP 11145)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00002ba485d53dd2 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1be9330, time=200000) at thread/qwaitcondition_unix.cpp:85 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x1be9330, time=200000) at thread/qwaitcondition_unix.cpp:159 #3 0x00002ba48a1d6a2e in ?? () from /usr/lib/libkdevplatformlanguage.so.1 #4 0x00002ba485d52e15 in QThreadPrivate::start (arg=0x1be9310) at thread/qthread_unix.cpp:248 #5 0x00002ba48c0248ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #6 0x00002ba48721d02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 7 (Thread 0x2ba4b4eb9710 (LWP 11231)): #0 0x00002ba487212113 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00002ba48c88d2c9 in ?? () from /lib/libglib-2.0.so.0 #2 0x00002ba48c88d71c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00002ba485e6b706 in QEventDispatcherGlib::processEvents (this=0x2f72790, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #4 0x00002ba485e409c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00002ba485e40d9c in QEventLoop::exec (this=0x2ba4b4eb8e20, flags=) at kernel/qeventloop.cpp:201 #6 0x00002ba485d5077b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #7 0x00002ba485d52e15 in QThreadPrivate::start (arg=0x2f767b0) at thread/qthread_unix.cpp:248 #8 0x00002ba48c0248ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #9 0x00002ba48721d02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 6 (Thread 0x2ba4b4cb8710 (LWP 11232)): #0 0x00002ba487212113 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00002ba48c88d2c9 in ?? () from /lib/libglib-2.0.so.0 #2 0x00002ba48c88d71c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00002ba485e6b706 in QEventDispatcherGlib::processEvents (this=0x37a3270, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #4 0x00002ba485e409c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00002ba485e40d9c in QEventLoop::exec (this=0x2ba4b4cb7e20, flags=) at kernel/qeventloop.cpp:201 #6 0x00002ba485d5077b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #7 0x00002ba485d52e15 in QThreadPrivate::start (arg=0x2f840f0) at thread/qthread_unix.cpp:248 #8 0x00002ba48c0248ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #9 0x00002ba48721d02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () The current source language is "auto; currently c". Thread 5 (Thread 0x2ba4b7dfe710 (LWP 11233)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00002ba485d52795 in thread_sleep (ti=0x2ba4b7dfdde0) at thread/qthread_unix.cpp:398 #2 0x00002ba485d528f0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424 #3 0x00002ba4b6f4fe81 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so #4 0x00002ba485d52e15 in QThreadPrivate::start (arg=0x37a3d90) at thread/qthread_unix.cpp:248 #5 0x00002ba48c0248ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #6 0x00002ba48721d02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 4 (Thread 0x2ba4b8a3e710 (LWP 11250)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00002ba48de13356 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x2ba48e0f11e0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304 #2 0x00002ba48de13399 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x2ba48e0ff2ac) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438 #3 0x00002ba48c0248ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #4 0x00002ba48721d02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () The current source language is "auto; currently asm". Thread 3 (Thread 0x2ba4b9911710 (LWP 11256)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00002ba485d53e6b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x19f67b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x19f67b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00002ba48f2a1e56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x19fc460, th=0x3ec0960) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00002ba48f2a46fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x19fc740, th=0x3ec0960) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00002ba48f2a2c7f in ThreadWeaver::ThreadRunHelper::run (this=0x2ba4b9910e30, parent=0x19fc460, th=0x3ec0960) at ../../../threadweaver/Weaver/Thread.cpp:87 #6 0x00002ba48f2a31d8 in ThreadWeaver::Thread::run (this=0x3ec0960) at ../../../threadweaver/Weaver/Thread.cpp:142 #7 0x00002ba485d52e15 in QThreadPrivate::start (arg=0x3ec0960) at thread/qthread_unix.cpp:248 #8 0x00002ba48c0248ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #9 0x00002ba48721d02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 2 (Thread 0x2ba4b9b12710 (LWP 11257)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00002ba485d53e6b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x19f67b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x19f67b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00002ba48f2a1e56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x19fc460, th=0x19983a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00002ba48f2a46fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x19fc740, th=0x19983a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00002ba48f2a4714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x19fc740, th=0x19983a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #6 0x00002ba48f2a4714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x19fc740, th=0x19983a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #7 0x00002ba48f2a2c7f in ThreadWeaver::ThreadRunHelper::run (this=0x2ba4b9b11e30, parent=0x19fc460, th=0x19983a0) at ../../../threadweaver/Weaver/Thread.cpp:87 #8 0x00002ba48f2a31d8 in ThreadWeaver::Thread::run (this=0x19983a0) at ../../../threadweaver/Weaver/Thread.cpp:142 #9 0x00002ba485d52e15 in QThreadPrivate::start (arg=0x19983a0) at thread/qthread_unix.cpp:248 #10 0x00002ba48c0248ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #11 0x00002ba48721d02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #12 0x0000000000000000 in ?? () Thread 1 (Thread 0x2ba492bc78a0 (LWP 11143)): [KCrash Handler] #5 QScopedPointer<QStandardItemPrivate, QScopedPointerDeleter<QStandardItemPrivate> >::data (this=0x201) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135 #6 qGetPtrHelper<QScopedPointer<QStandardItemPrivate, QScopedPointerDeleter<QStandardItemPrivate> > > (this=0x201) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2318 #7 QStandardItem::d_func (this=0x201) at itemviews/qstandarditemmodel.h:248 #8 QStandardItem::parent (this=0x201) at itemviews/qstandarditemmodel.cpp:789 #9 0x00002ba4a2d3bf63 in ?? () from /usr/lib/kde4/kdevcmakemanager.so #10 0x00002ba4a2d3cd7d in ?? () from /usr/lib/kde4/kdevcmakemanager.so #11 0x00002ba485e552e6 in QMetaObject::activate (sender=0x248a530, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295 #12 0x00002ba488fd0f82 in KDirWatch::dirty (this=0x201, _t1=<value optimized out>) at ./kdirwatch.moc:99 #13 0x00002ba488fd1811 in KDirWatch::qt_metacall (this=0x248a530, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x3d62c40) at ./kdirwatch.moc:86 #14 0x00002ba485e51e29 in QObject::event (this=0x248a530, e=0x51fd160) at kernel/qobject.cpp:1248 #15 0x00002ba48635232c in QApplicationPrivate::notify_helper (this=0x14753d0, receiver=0x248a530, e=0x51fd160) at kernel/qapplication.cpp:4302 #16 0x00002ba48635880b in QApplication::notify (this=0x7fff4418c5a0, receiver=0x248a530, e=0x51fd160) at kernel/qapplication.cpp:4185 #17 0x00002ba4858b37a6 in KApplication::notify (this=0x7fff4418c5a0, receiver=0x248a530, event=0x51fd160) at ../../kdeui/kernel/kapplication.cpp:302 #18 0x00002ba485e4209c in QCoreApplication::notifyInternal (this=0x7fff4418c5a0, receiver=0x248a530, event=0x51fd160) at kernel/qcoreapplication.cpp:726 #19 0x00002ba485e45744 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xc24fa0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xc24fa0) at kernel/qcoreapplication.cpp:1367 #21 0x00002ba485e6bb73 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #22 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276 #23 0x00002ba48c8896f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #24 0x00002ba48c88d568 in ?? () from /lib/libglib-2.0.so.0 #25 0x00002ba48c88d71c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #26 0x00002ba485e6b6b3 in QEventDispatcherGlib::processEvents (this=0x1475390, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #27 0x00002ba48640219e in QGuiEventDispatcherGlib::processEvents (this=0x201, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #28 0x00002ba485e409c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #29 0x00002ba485e40d9c in QEventLoop::exec (this=0x7fff4418c3d0, flags=) at kernel/qeventloop.cpp:201 #30 0x00002ba485e45a2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003 #31 0x00000000004088cf in _start () Possible duplicates by query: bug 226917. Reported using DrKonqi
Forgot to say -- only one of the sessions crashes. The other one (usually the one I'm typing in) remains open and fine. Also, I have not tried this with >2 sessions open.
please update to kdevelop 4.1 or higher, this should be fixed. if not, reopen this bug report.