Bug 268264 - Kdevelop crashes sometimes.
Summary: Kdevelop crashes sometimes.
Status: RESOLVED DUPLICATE of bug 247412
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.1.1
Platform: Debian testing Linux
: NOR crash
Target Milestone: 4.2.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-11 23:23 UTC by Javier E
Modified: 2011-03-29 11:53 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 Javier E 2011-03-11 23:23:40 UTC
Application: kdevelop (4.1.1)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-rc6+ x86_64
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
Kdevelop crashes sometimes with a normal use (writing, saving, etc), and other times don't even start.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f979c069760 (LWP 7257))]

Thread 9 (Thread 0x7f977b8c8700 (LWP 7258)):
#0  0x00007f979949378d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f97994bc144 in usleep (useconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33
#2  0x00007f9796bc3e0e in KDevelop::DUChainLock::lockForWrite (this=0x28e68f8, timeout=0) at ../../language/duchain/duchainlock.cpp:201
#3  0x00007f9796bc3ec4 in KDevelop::DUChainWriteLocker::lock (this=0x7f977b8c7da0) at ../../language/duchain/duchainlock.cpp:299
#4  0x00007f9796b8004e in KDevelop::DUChainPrivate::doMoreCleanup (this=0x28e68e0, retries=<value optimized out>, needLockRepository=<value optimized out>) at ../../language/duchain/duchain.cpp:705
#5  0x00007f9796b817e4 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x28e7dd0) at ../../language/duchain/duchain.cpp:294
#6  0x00007f979a7d8035 in QThreadPrivate::start (arg=0x28e7dd0) at thread/qthread_unix.cpp:320
#7  0x00007f97985e18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f97994c202d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f97702a0700 (LWP 7261)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f979a7d871b in wait (this=<value optimized out>, mutex=0x7f9774004a60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7f9774004a60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f9791c5ce56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x7f9774020950, th=0x7f9774004750) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9791c5f6fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f9774004b40, th=0x7f9774004750) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9791c5dc7f in ThreadWeaver::ThreadRunHelper::run (this=0x7f977029fe30, parent=0x7f9774020950, th=0x7f9774004750) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f9791c5e1d8 in ThreadWeaver::Thread::run (this=0x7f9774004750) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f979a7d8035 in QThreadPrivate::start (arg=0x7f9774004750) at thread/qthread_unix.cpp:320
#8  0x00007f97985e18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f97994c202d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f976fa9f700 (LWP 7262)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f979a7d871b in wait (this=<value optimized out>, mutex=0x7f9774004a60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7f9774004a60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f9791c5ce56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x7f9774020950, th=0x33f88f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9791c5f6fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f9774004b40, th=0x33f88f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9791c5dc7f in ThreadWeaver::ThreadRunHelper::run (this=0x7f976fa9ee30, parent=0x7f9774020950, th=0x33f88f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f9791c5e1d8 in ThreadWeaver::Thread::run (this=0x33f88f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f979a7d8035 in QThreadPrivate::start (arg=0x33f88f0) at thread/qthread_unix.cpp:320
#8  0x00007f97985e18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f97994c202d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f976b784700 (LWP 7275)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fff3b2fb82d in ?? ()
#2  0x00007f9794bb8e7f in clock_gettime (clock_id=1803041632, tp=0x7f976b783b60) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007f979a829252 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007f979a8ec7dd in QTimerInfoList::updateCurrentTime (this=0x3e1c160) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00007f979a8ecb65 in QTimerInfoList::timerWait (this=0x3e1c160, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00007f979a8eb5cc in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f976b783c8c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007f979a8eb675 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007f9794912119 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#10 0x00007f9794912578 in ?? () from /lib/libglib-2.0.so.0
#11 0x00007f9794912b5c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#12 0x00007f979a8ebde6 in QEventDispatcherGlib::processEvents (this=0x3e1b6c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007f979a8c0022 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007f979a8c026c in QEventLoop::exec (this=0x7f976b783e20, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007f979a7d57d4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#16 0x00007f979a7d8035 in QThreadPrivate::start (arg=0x3df5320) at thread/qthread_unix.cpp:320
#17 0x00007f97985e18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#18 0x00007f97994c202d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f97667e3700 (LWP 7284)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f979a7d871b in wait (this=<value optimized out>, mutex=0x2744950, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2744950, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f9791c5ce56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x280d960, th=0x3e3c340) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9791c5f6fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x27ab9a0, th=0x3e3c340) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9791c5dc7f in ThreadWeaver::ThreadRunHelper::run (this=0x7f97667e2e30, parent=0x280d960, th=0x3e3c340) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f9791c5e1d8 in ThreadWeaver::Thread::run (this=0x3e3c340) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f979a7d8035 in QThreadPrivate::start (arg=0x3e3c340) at thread/qthread_unix.cpp:320
#8  0x00007f97985e18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f97994c202d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9765fe2700 (LWP 7285)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f979a7d871b in wait (this=<value optimized out>, mutex=0x2744950, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2744950, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f9791c5ce56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x280d960, th=0x426a150) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9791c5f6fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x27ab9a0, th=0x426a150) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9791c5f714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x27ab9a0, th=0x426a150) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f9791c5dc7f in ThreadWeaver::ThreadRunHelper::run (this=0x7f9765fe1e30, parent=0x280d960, th=0x426a150) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f9791c5e1d8 in ThreadWeaver::Thread::run (this=0x426a150) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f979a7d8035 in QThreadPrivate::start (arg=0x426a150) at thread/qthread_unix.cpp:320
#9  0x00007f97985e18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f97994c202d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9764d85700 (LWP 7287)):
#0  __pthread_mutex_lock (mutex=0x7f9760057b58) at pthread_mutex_lock.c:51
#1  0x00007f979491214b in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007f9794912578 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f9794912b5c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f979a8ebde6 in QEventDispatcherGlib::processEvents (this=0x7f97600f8b20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f979a8c0022 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f979a8c026c in QEventLoop::exec (this=0x7f9764d84e20, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f979a7d57d4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f979a7d8035 in QThreadPrivate::start (arg=0x46e7090) at thread/qthread_unix.cpp:320
#9  0x00007f97985e18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f97994c202d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f975ffff700 (LWP 7288)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fff3b2fb82d in ?? ()
#2  0x00007f9794bb8e7f in clock_gettime (clock_id=1610607456, tp=0x7f975fffeb60) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007f979a829252 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007f979a8ec7dd in QTimerInfoList::updateCurrentTime (this=0x7f9760060100) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00007f979a8ecb65 in QTimerInfoList::timerWait (this=0x7f9760060100, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00007f979a8eb5cc in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f975fffec8c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007f979a8eb675 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007f9794912119 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#10 0x00007f9794912578 in ?? () from /lib/libglib-2.0.so.0
#11 0x00007f9794912b5c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#12 0x00007f979a8ebde6 in QEventDispatcherGlib::processEvents (this=0x7f976003d5c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007f979a8c0022 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007f979a8c026c in QEventLoop::exec (this=0x7f975fffee20, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007f979a7d57d4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#16 0x00007f979a7d8035 in QThreadPrivate::start (arg=0x47c8a30) at thread/qthread_unix.cpp:320
#17 0x00007f97985e18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#18 0x00007f97994c202d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f979c069760 (LWP 7257)):
[KCrash Handler]
#6  QMutex::tryLock (this=0x401a5b0, timeout=10) at thread/qmutex.cpp:315
#7  0x00007f9796b42213 in OptionalMutexLocker (this=0x7f9775b1c5f0) at ../../language/editor/documentrangeobject.cpp:67
#8  KDevelop::DocumentRangeObject::syncFromSmart (this=0x7f9775b1c5f0) at ../../language/editor/documentrangeobject.cpp:83
#9  0x00007f9796b424e9 in KDevelop::DocumentRangeObject::range (this=0x401a5b0) at ../../language/editor/documentrangeobject.cpp:217
#10 0x00007f9796be7ecb in declarationUnderCursor (c=..., ctx=0x7f976000c6f0) at ../../language/duchain/duchainutils.cpp:261
#11 0x00007f9796be8128 in KDevelop::DUChainUtils::itemUnderCursor (url=<value optimized out>, c=...) at ../../language/duchain/duchainutils.cpp:286
#12 0x00007f976c3290a7 in ContextBrowserPlugin::findDeclaration (this=<value optimized out>, view=0x3f07cb0, position=..., mouseHighlight=<value optimized out>) at ../../../plugins/contextbrowser/contextbrowser.cpp:561
#13 0x00007f976c331c32 in ContextBrowserPlugin::updateBrowserWidgetFor (this=0x35048b0, view=0x3f07cb0) at ../../../plugins/contextbrowser/contextbrowser.cpp:706
#14 0x00007f976c33207c in ContextBrowserPlugin::updateViews (this=0x35048b0) at ../../../plugins/contextbrowser/contextbrowser.cpp:736
#15 0x00007f976c3344b4 in ContextBrowserPlugin::qt_metacall (this=0x35048b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3b2dab20) at ./contextbrowser.moc:122
#16 0x00007f979a8d618f in QMetaObject::activate (sender=0x350d320, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#17 0x00007f979a8d4d19 in QObject::event (this=0x350d320, e=<value optimized out>) at kernel/qobject.cpp:1181
#18 0x00007f9799c61d14 in QApplicationPrivate::notify_helper (this=0x23eb500, receiver=0x350d320, e=0x7fff3b2db260) at kernel/qapplication.cpp:4462
#19 0x00007f9799c668da in QApplication::notify (this=<value optimized out>, receiver=0x350d320, e=0x7fff3b2db260) at kernel/qapplication.cpp:4341
#20 0x00007f979ae40ef6 in KApplication::notify (this=0x7fff3b2db740, receiver=0x350d320, event=0x7fff3b2db260) at ../../kdeui/kernel/kapplication.cpp:310
#21 0x00007f979a8c0c8c in QCoreApplication::notifyInternal (this=0x7fff3b2db740, receiver=0x350d320, event=0x7fff3b2db260) at kernel/qcoreapplication.cpp:731
#22 0x00007f979a8ee8ce in sendEvent (this=0x23ef2b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0x23ef2b0) at kernel/qeventdispatcher_unix.cpp:604
#24 0x00007f979a8eb694 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#25 0x00007f979490e2e2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007f97949129a8 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007f9794912b5c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007f979a8ebd8f in QEventDispatcherGlib::processEvents (this=0x23c97c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#29 0x00007f9799d084ee in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f979a8c0022 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f979a8c026c in QEventLoop::exec (this=0x7fff3b2db510, flags=...) at kernel/qeventloop.cpp:201
#32 0x00007f979a8c476b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#33 0x000000000040925b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../app/main.cpp:380

This bug may be a duplicate of or related to bug 247412.

Possible duplicates by query: bug 259101, bug 256113, bug 247884, bug 247412.

Reported using DrKonqi
Comment 1 Milian Wolff 2011-03-29 11:53:25 UTC

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