Bug 193635 - KDevelop crash when opening a cpp file
Summary: KDevelop crash when opening a cpp file
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-22 13:37 UTC by Vincent Rischmann
Modified: 2009-11-25 12:19 UTC (History)
2 users (show)

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 Vincent Rischmann 2009-05-22 13:37:14 UTC
Version:            (using Devel)
Compiler:          gcc 4.4.0 
OS:                Linux
Installed from:    Compiled sources

I am using trunk version of KDevelop, r971216.

KDevelop seems to randomly crash when opening .cpp or .h files. Randomly because sometimes I managed to open 5 files or more, and then when opening another one it crashs. Some other times it just crashs when I open the first file.

Note: I think it only crashs when a project is opened. When opening files directly, with no project opened, it doesn't crash.

Here is the backtrace:

Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 0 (LWP 19575)]

Thread 8 (Thread 0xb2138b70 (LWP 19576)):
#0  0xb8032424 in __kernel_vsyscall ()
#1  0xb6d9ef82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6e1c41c in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb5d0c5d5 in KDevelop::DUChainPrivate::CleanupThread::run (this=0xa105a10) at /home/sphax/dev/archlinux/kde-svn/kdevplatform/src/kdevplatform/language/duchain/duchain.cpp:280
#4  0xb6e1b40e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6d9a6bc in start_thread () from /lib/libpthread.so.0
#6  0xb61ceffe in clone () from /lib/libc.so.6

Thread 7 (Thread 0xaff02b70 (LWP 19577)):
#0  0xb8032424 in __kernel_vsyscall ()
#1  0xb61c7f21 in select () from /lib/libc.so.6
#2  0xb6eec2e7 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6e1b40e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6d9a6bc in start_thread () from /lib/libpthread.so.0
#5  0xb61ceffe in clone () from /lib/libc.so.6

Thread 6 (Thread 0xad189b70 (LWP 19609)):
#0  0xb6d9cb74 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb578ee44 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0xb578f5cc in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#3  0xb578f9ea in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb6f39997 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb6f0c87a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb6f0ccba in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0xb6e18119 in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0xb5dfc97a in KDevelop::CompletionWorkerThread::run (this=0xa83fe78) at /home/sphax/dev/archlinux/kde-svn/kdevplatform/src/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#9  0xb6e1b40e in ?? () from /usr/lib/libQtCore.so.4
#10 0xb6d9a6bc in start_thread () from /lib/libpthread.so.0
#11 0xb61ceffe in clone () from /lib/libc.so.6

Thread 5 (Thread 0xac988b70 (LWP 19610)):
#0  0xb6d9cb32 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb578ee44 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0xb578f5cc in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#3  0xb578f9ea in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb6f39997 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb6f0c87a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb6f0ccba in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0xb6e18119 in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0xb5dfc97a in KDevelop::CompletionWorkerThread::run (this=0xa6fdd60) at /home/sphax/dev/archlinux/kde-svn/kdevplatform/src/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#9  0xb6e1b40e in ?? () from /usr/lib/libQtCore.so.4
#10 0xb6d9a6bc in start_thread () from /lib/libpthread.so.0
#11 0xb61ceffe in clone () from /lib/libc.so.6

Thread 4 (Thread 0xac187b70 (LWP 19615)):
#0  0xb8032424 in __kernel_vsyscall ()
#1  0xb6d9ef82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6e1adfe in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6e1af2b in QThread::msleep () from /usr/lib/libQtCore.so.4
#4  0xadca3eb6 in UIBlockTester::UIBlockTesterThread::run (this=0xab975d8) at /home/sphax/dev/archlinux/kde-svn/kdevelop/src/kdevelop/languages/cpp/cpplanguagesupport.cpp:965
#5  0xb6e1b40e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb6d9a6bc in start_thread () from /lib/libpthread.so.0
#7  0xb61ceffe in clone () from /lib/libc.so.6

Thread 3 (Thread 0xab292b70 (LWP 19616)):
#0  0xb8032424 in __kernel_vsyscall ()
#1  0xb6d9ec55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6e1c442 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7993b10 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/lib/libthreadweaver.so.4
#4  0xb79961bc in ThreadWeaver::WorkingHardState::waitForAvailableJob () from /usr/lib/libthreadweaver.so.4
#5  0xb79921ab in ThreadWeaver::WeaverImpl::waitForAvailableJob () from /usr/lib/libthreadweaver.so.4
#6  0xb79962ba in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#7  0xb7993da3 in ThreadWeaver::WeaverImpl::applyForWork () from /usr/lib/libthreadweaver.so.4
#8  0xb79962d9 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#9  0xb7993da3 in ThreadWeaver::WeaverImpl::applyForWork () from /usr/lib/libthreadweaver.so.4
#10 0xb79962d9 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#11 0xb7993da3 in ThreadWeaver::WeaverImpl::applyForWork () from /usr/lib/libthreadweaver.so.4
#12 0xb79943ae in ThreadWeaver::ThreadRunHelper::run () from /usr/lib/libthreadweaver.so.4
#13 0xb79949cb in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#14 0xb6e1b40e in ?? () from /usr/lib/libQtCore.so.4
#15 0xb6d9a6bc in start_thread () from /lib/libpthread.so.0
#16 0xb61ceffe in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaaa91b70 (LWP 19617)):
#0  0xb8032424 in __kernel_vsyscall ()
#1  0xb6d9ec55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6e1c442 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7993b10 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/lib/libthreadweaver.so.4
#4  0xb79961bc in ThreadWeaver::WorkingHardState::waitForAvailableJob () from /usr/lib/libthreadweaver.so.4
#5  0xb79921ab in ThreadWeaver::WeaverImpl::waitForAvailableJob () from /usr/lib/libthreadweaver.so.4
#6  0xb79962ba in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#7  0xb7993da3 in ThreadWeaver::WeaverImpl::applyForWork () from /usr/lib/libthreadweaver.so.4
#8  0xb79943ae in ThreadWeaver::ThreadRunHelper::run () from /usr/lib/libthreadweaver.so.4
#9  0xb79949cb in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#10 0xb6e1b40e in ?? () from /usr/lib/libQtCore.so.4
#11 0xb6d9a6bc in start_thread () from /lib/libpthread.so.0
#12 0xb61ceffe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb53ac710 (LWP 19575)):
[KCrash Handler]
#6  QBasicAtomicInt::deref (this=0x0) at /usr/include/QtCore/qatomic_i386.h:132
#7  0xaf1c9e44 in ~QString (this=0xb6d4bfc) at /usr/include/QtCore/qstring.h:866
#8  0xaf1cac4d in ~AbstractNavigationContext (this=0xb6d4ba8) at /usr/include/kdevplatform/language/duchain/navigation/abstractnavigationcontext.h:67
#9  0xaf1cad90 in ~CMakeNavigationContext (this=0xb6d4ba8) at /home/sphax/dev/archlinux/kde-svn/kdevelop/src/kdevelop/projectmanagers/cmake/cmakenavigationwidget.cpp:29
#10 0xb5dda09d in ~KSharedPtr (this=0xb6ed3e0) at /usr/include/KDE/../ksharedptr.h:90
#11 0xb5dd995b in ~AbstractNavigationWidget (this=0xb6ed3c8) at /home/sphax/dev/archlinux/kde-svn/kdevplatform/src/kdevplatform/language/duchain/navigation/abstractnavigationwidget.cpp:99
#12 0xaf1ca6e6 in ~CMakeNavigationWidget (this=0xb6ed3c8) at /home/sphax/dev/archlinux/kde-svn/kdevelop/src/kdevelop/projectmanagers/cmake/cmakenavigationwidget.h:30
#13 0xb6f1d51f in QObjectPrivate::deleteChildren () from /usr/lib/libQtCore.so.4
#14 0xb64f0fcb in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
#15 0xb5bff730 in ~ActiveToolTip (this=0xa2eb678) at /home/sphax/dev/archlinux/kde-svn/kdevplatform/src/kdevplatform/util/activetooltip.cpp:64
#16 0xb5cba675 in ~NavigationToolTip (this=0xa2eb678) at /home/sphax/dev/archlinux/kde-svn/kdevplatform/src/kdevplatform-build/language/../../kdevplatform/language/util/navigationtooltip.h:31
#17 0xb6f1d205 in qDeleteInEventHandler () from /usr/lib/libQtCore.so.4
#18 0xb6f1ea9b in QObject::event () from /usr/lib/libQtCore.so.4
#19 0xb64f5480 in QWidget::event () from /usr/lib/libQtGui.so.4
#20 0xb649f6ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#21 0xb64a7aa2 in QApplication::notify () from /usr/lib/libQtGui.so.4
#22 0xb7247aca in KApplication::notify () from /usr/lib/libkdeui.so.5
#23 0xb6f0e24b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#24 0xb6f0ee85 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#25 0xb6f0f07d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#26 0xb6f39d2f in ?? () from /usr/lib/libQtCore.so.4
#27 0xb578c288 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb578f878 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#29 0xb578f9ea in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0xb6f39978 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#31 0xb653e2a5 in ?? () from /usr/lib/libQtGui.so.4
#32 0xb6f0c87a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#33 0xb6f0ccba in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#34 0xb6f0f149 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#35 0xb649f567 in QApplication::exec () from /usr/lib/libQtGui.so.4
#36 0x0804e848 in main (argc=1, argv=0xbff4e764) at /home/sphax/dev/archlinux/kde-svn/kdevelop/src/kdevelop/app/main.cpp:172
Comment 1 David Nolden 2009-05-27 17:41:38 UTC
This is strange. Sure there is no cmake file involved?
Comment 2 Andreas Pakulat 2009-07-25 23:46:16 UTC
no further input and a suspicious backtrace.
Comment 3 António Oliveira 2009-11-25 12:19:16 UTC
Not sure if this is related at all, but these crashes also happen randomly to me.
Sometimes I can work for hours with KDevelop without a hitch and other times it crashes on opening files. This seems to happen more often shortly after startup.
If it matters, I had an open project whithout cmake, it's an imported from makefile project. The file being openned was one of its sources.

cheers,
--to

Application that crashed: kdevelop
Version of the application: 3.9.95 (using KDevPlatform 0.9.95)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Just had opened a project (about a minute or so) so I'm not sure if the code parser was  working or not.
Tried to open a .h file from the project tree when KDevelop crashed.
This seems random, but mostly shortly after KDevelop's startup.

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

Thread 10 (Thread 0x7ff577aeb910 (LWP 3444)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007ff5854fa462 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1bf9ec0, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1bf9ec0, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff58109d9be in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1bf9ea0) at ../../language/duchain/duchain.cpp:280
#4  0x00007ff5854f9445 in QThreadPrivate::start (arg=0x1bf9ea0) at thread/qthread_unix.cpp:188
#5  0x00007ff57e72aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007ff5843477bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ff562603910 (LWP 31606)):
#0  0x00007ff57e97ed4b in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x00007ff57e97f181 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ff57e97f6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007ff5856081fe in QEventDispatcherGlib::processEvents (this=0x304f6e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007ff5855de532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007ff5855de904 in QEventLoop::exec (this=0x7ff562603010, flags=) at kernel/qeventloop.cpp:201
#6  0x00007ff5854f66cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007ff5855c1b78 in QInotifyFileSystemWatcherEngine::run (this=0x30461b0) at io/qfilesystemwatcher_inotify.cpp:214
#8  0x00007ff5854f9445 in QThreadPrivate::start (arg=0x30461b0) at thread/qthread_unix.cpp:188
#9  0x00007ff57e72aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ff5843477bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 8 (Thread 0x7ff560973910 (LWP 31662)):
#0  0x00007ff585608545 in postEventSourcePrepare (s=0x32e95e0, timeout=0x0) at kernel/qeventdispatcher_glib.cpp:186
#1  0x00007ff57e97ea9a in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0x00007ff57e97f280 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007ff57e97f6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007ff5856081fe in QEventDispatcherGlib::processEvents (this=0x32a05b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#5  0x00007ff5855de532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007ff5855de904 in QEventLoop::exec (this=0x7ff560973050, flags=) at kernel/qeventloop.cpp:201
#7  0x00007ff5854f66cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007ff5854f9445 in QThreadPrivate::start (arg=0x341b880) at thread/qthread_unix.cpp:188
#9  0x00007ff57e72aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ff5843477bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ff560172910 (LWP 31663)):
#0  0x00007ff584356610 in pthread_mutex_unlock (mutex=0x3263078) at forward.c:184
#1  0x00007ff57e97f35f in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ff57e97f6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007ff5856081fe in QEventDispatcherGlib::processEvents (this=0x3176280, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007ff5855de532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007ff5855de904 in QEventLoop::exec (this=0x7ff560172050, flags=) at kernel/qeventloop.cpp:201
#6  0x00007ff5854f66cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007ff5854f9445 in QThreadPrivate::start (arg=0x336d3a0) at thread/qthread_unix.cpp:188
#8  0x00007ff57e72aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007ff5843477bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently c++".

Thread 6 (Thread 0x7ff55f971910 (LWP 31666)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007ff5854f8ed5 in thread_sleep (ti=0x7ff55f971000) at thread/qthread_unix.cpp:297
#2  0x00007ff5854f9040 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007ff561367301 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007ff5854f9445 in QThreadPrivate::start (arg=0x33a1500) at thread/qthread_unix.cpp:188
#5  0x00007ff57e72aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007ff5843477bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 5 (Thread 0x7ff55f170910 (LWP 31667)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ff5854fa4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1b5b590, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1b5b590, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff57c30f326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1b5af00, th=0x33bf5c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff57c31145b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b5b670, th=0x33bf5c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff57c311474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b5b670, th=0x33bf5c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007ff57c311474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b5b670, th=0x33bf5c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007ff57c30fa5f in ThreadWeaver::ThreadRunHelper::run (this=0x7ff55f170050, parent=0x1b5af00, th=0x33bf5c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007ff57c30feb8 in ThreadWeaver::Thread::run (this=0x33bf5c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007ff5854f9445 in QThreadPrivate::start (arg=0x33bf5c0) at thread/qthread_unix.cpp:188
#10 0x00007ff57e72aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007ff5843477bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 4 (Thread 0x7ff55e96f910 (LWP 31668)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ff5854fa4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1b5b590, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1b5b590, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff57c30f326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1b5af00, th=0x32b8d10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff57c31145b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b5b670, th=0x32b8d10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff57c30fa5f in ThreadWeaver::ThreadRunHelper::run (this=0x7ff55e96f050, parent=0x1b5af00, th=0x32b8d10) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ff57c30feb8 in ThreadWeaver::Thread::run (this=0x32b8d10) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ff5854f9445 in QThreadPrivate::start (arg=0x32b8d10) at thread/qthread_unix.cpp:188
#8  0x00007ff57e72aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007ff5843477bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff55e16e910 (LWP 31669)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ff5854fa4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1b5b590, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1b5b590, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff57c30f326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1b5af00, th=0x31476b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff57c31145b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b5b670, th=0x31476b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff57c311474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b5b670, th=0x31476b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007ff57c30fa5f in ThreadWeaver::ThreadRunHelper::run (this=0x7ff55e16e050, parent=0x1b5af00, th=0x31476b0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007ff57c30feb8 in ThreadWeaver::Thread::run (this=0x31476b0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007ff5854f9445 in QThreadPrivate::start (arg=0x31476b0) at thread/qthread_unix.cpp:188
#9  0x00007ff57e72aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ff5843477bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff561e02910 (LWP 856)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ff5854fa4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x49655a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x49655a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff57c30f326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x4965230, th=0x497dc80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff57c31145b in ThreadWeaver::WorkingHardState::applyForWork (this=0x4965680, th=0x497dc80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff57c30fa5f in ThreadWeaver::ThreadRunHelper::run (this=0x7ff561e02050, parent=0x4965230, th=0x497dc80) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ff57c30feb8 in ThreadWeaver::Thread::run (this=0x497dc80) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ff5854f9445 in QThreadPrivate::start (arg=0x497dc80) at thread/qthread_unix.cpp:188
#8  0x00007ff57e72aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007ff5843477bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff586cc3750 (LWP 3162)):
[KCrash Handler]
#5  QListData::begin (this=0x0, watcher=0x1b5a6f8) at /usr/include/qt4/QtCore/qlist.h:90
#6  QList<KTextEditor::SmartRangeWatcher*>::contains (this=0x0, watcher=0x1b5a6f8) at /usr/include/qt4/QtCore/qlist.h:664
#7  KTextEditor::SmartRange::addWatcher (this=0x0, watcher=0x1b5a6f8) at ../../../interfaces/ktexteditor/smartrange.cpp:893
#8  0x00007ff58106a3ea in KDevelop::BackgroundParser::addManagedTopRange (this=0x1b5a6e0, document=..., range=0x0) at ../../language/backgroundparser/backgroundparser.cpp:625
#9  0x00007ff5810855ac in KDevelop::DUChain::documentLoadedPrepare (this=<value optimized out>, doc=0x4a2f300) at ../../language/duchain/duchain.cpp:1463
#10 0x00007ff58108811f in KDevelop::DUChain::qt_metacall (this=0x1be1170, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff86d56330) at ./duchain.moc:162
#11 0x00007ff5855f4ddc in QMetaObject::activate (sender=0x1b5bcd0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7ff586426710) at kernel/qobject.cpp:3113
#12 0x00007ff586448e22 in KDevelop::IDocumentController::documentLoadedPrepare (this=0x0, _t1=0x4a2f300) at ./idocumentcontroller.moc:256
#13 0x00007ff586446f40 in KDevelop::IDocument::notifyLoaded (this=0x4a2f300) at ../../interfaces/idocument.cpp:119
#14 0x00007ff5861b4ff0 in KDevelop::TextDocumentPrivate::slotDocumentLoaded (this=0x4a2f2e0, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff86d564f0)
    at ../../shell/textdocument.cpp:154
#15 KDevelop::TextDocument::qt_metacall (this=0x4a2f2e0, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff86d564f0) at ./textdocument.moc:86
#16 0x00007ff5855f4ddc in QMetaObject::activate (sender=0x31f00e0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7ff586426710) at kernel/qobject.cpp:3113
#17 0x00007ff585f10ac2 in KTextEditor::Document::textChanged (this=0x0, _t1=0x31f00e0) at ./document.moc:156
#18 0x00007ff55c820fc0 in KateDocument::openFile (this=0x31f00e0) at ../../kate/document/katedocument.cpp:3191
#19 0x00007ff582fe30c7 in KParts::ReadOnlyPart::openUrl (this=0x31f00e0, url=<value optimized out>) at ../../kparts/part.cpp:557
#20 0x00007ff5861b5495 in KDevelop::TextDocument::createViewWidget (this=0x4a2f2e0, parent=0x46a49e0) at ../../shell/textdocument.cpp:239
#21 0x00007ff5861b47f7 in KDevelop::TextView::createWidget (this=0x49a24c0, parent=0x46a49e0) at ../../shell/textdocument.cpp:504
#22 0x00007ff580dc5c06 in Sublime::View::widget(QWidget*) () from /usr/lib/libsublime.so.1
#23 0x00007ff580dc1890 in ?? () from /usr/lib/libsublime.so.1
#24 0x00007ff580dc4e88 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) ()
   from /usr/lib/libsublime.so.1
#25 0x00007ff580dc2071 in ?? () from /usr/lib/libsublime.so.1
#26 0x00007ff580db9a4c in Sublime::MainWindow::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsublime.so.1
#27 0x00007ff58618afa0 in KDevelop::MainWindow::qt_metacall (this=0x0, _c=28681976, _id=0, _a=0x7ff586426710) at ./mainwindow.moc:81
#28 0x00007ff5855f4ddc in QMetaObject::activate (sender=0x19d3860, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7ff586426710) at kernel/qobject.cpp:3113
#29 0x00007ff580dabb18 in Sublime::Area::viewAdded(Sublime::AreaIndex*, Sublime::View*) () from /usr/lib/libsublime.so.1
#30 0x00007ff580dafa75 in Sublime::Area::addView(Sublime::View*, Sublime::AreaIndex*) () from /usr/lib/libsublime.so.1
#31 0x00007ff5861bbc2e in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x1b5bc50, doc=0x4a2f300, range=<value optimized out>, activationParams=)
    at ../../shell/documentcontroller.cpp:328
#32 0x00007ff5861bc2de in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x1b5bc50, inputUrl=<value optimized out>, prefName=<value optimized out>, range=<value optimized out>, 
    activationParams=) at ../../shell/documentcontroller.cpp:256
#33 0x00007ff5861b9662 in KDevelop::DocumentController::openDocument (this=0x1b5bcd0, inputUrl=..., range=..., activationParams=<value optimized out>) at ../../shell/documentcontroller.cpp:522
#34 0x00007ff56282c76a in ProjectManagerView::openUrl (this=<value optimized out>, url=...) at ../../../plugins/projectmanagerview/projectmanagerview.cpp:214
#35 0x00007ff56282cf99 in ProjectManagerView::qt_metacall (this=0x2fc9dc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff86d57b80) at ./projectmanagerview.moc:88
#36 0x00007ff5855f4ddc in QMetaObject::activate (sender=0x2fe3770, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7ff586426710) at kernel/qobject.cpp:3113
#37 0x00007ff56282e992 in ProjectTreeView::activateUrl (this=0x0, _t1=<value optimized out>) at ./projecttreeview.moc:88
#38 0x00007ff56282eb9a in ProjectTreeView::slotActivated (this=0x2fe3770, index=...) at ../../../plugins/projectmanagerview/projecttreeview.cpp:148
#39 0x00007ff5628300e1 in ProjectTreeView::qt_metacall (this=0x2fe3770, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff86d57cf0) at ./projecttreeview.moc:74
#40 0x00007ff5855f4ddc in QMetaObject::activate (sender=0x2fe3770, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7ff586426710) at kernel/qobject.cpp:3113
#41 0x00007ff584f54c05 in QAbstractItemView::doubleClicked (this=0x0, _t1=<value optimized out>) at .moc/release-shared/moc_qabstractitemview.cpp:328
#42 0x00007ff584fa1b93 in QTreeView::mouseDoubleClickEvent (this=0x2fe3770, event=0x7fff86d58950) at itemviews/qtreeview.cpp:1831
#43 0x00007ff584ad6808 in QWidget::event (this=0x2fe3770, event=0x7fff86d58950) at kernel/qwidget.cpp:7553
#44 0x00007ff584e322a6 in QFrame::event (this=0x2fe3770, e=0x7fff86d58950) at widgets/qframe.cpp:559
#45 0x00007ff584f6521b in QAbstractItemView::viewportEvent (this=0x2fe3770, event=0x7fff86d58950) at itemviews/qabstractitemview.cpp:1476
#46 0x00007ff584f9c420 in QTreeView::viewportEvent (this=0x2fe3770, event=0x7fff86d58950) at itemviews/qtreeview.cpp:1266
#47 0x00007ff5855def47 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2ff18a0, event=0x7fff86d58950) at kernel/qcoreapplication.cpp:726
#48 0x00007ff584a87ecc in QApplicationPrivate::notify_helper (this=0x181c1b0, receiver=0x2ff18a0, e=0x7fff86d58950) at kernel/qapplication.cpp:4052
#49 0x00007ff584a8f011 in QApplication::notify (this=<value optimized out>, receiver=0x2ff18a0, e=0x7fff86d58950) at kernel/qapplication.cpp:3758
#50 0x00007ff585af5ab6 in KApplication::notify (this=0x7fff86d5a8c0, receiver=0x2ff18a0, event=0x7fff86d58950) at ../../kdeui/kernel/kapplication.cpp:302
#51 0x00007ff5855dfc2c in QCoreApplication::notifyInternal (this=0x7fff86d5a8c0, receiver=0x2ff18a0, event=0x7fff86d58950) at kernel/qcoreapplication.cpp:610
#52 0x00007ff584a8e8e0 in QCoreApplication::sendSpontaneousEvent (receiver=0x2ff18a0, event=0x7fff86d58950, alienWidget=0x2ff18a0, nativeWidget=0x197d300, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#53 QApplicationPrivate::sendMouseEvent (receiver=0x2ff18a0, event=0x7fff86d58950, alienWidget=0x2ff18a0, nativeWidget=0x197d300, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at kernel/qapplication.cpp:2924
#54 0x00007ff584af4a0e in QETWidget::translateMouseEvent (this=0x197d300, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#55 0x00007ff584af3aa9 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff86d5a480) at kernel/qapplication_x11.cpp:3550
#56 0x00007ff584b1cd0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#57 0x00007ff57e97bbbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#58 0x00007ff57e97f588 in ?? () from /lib/libglib-2.0.so.0
#59 0x00007ff57e97f6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#60 0x00007ff5856081a6 in QEventDispatcherGlib::processEvents (this=0x755870, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#61 0x00007ff584b1c4be in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#62 0x00007ff5855de532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#63 0x00007ff5855de904 in QEventLoop::exec (this=0x7fff86d5a7b0, flags=) at kernel/qeventloop.cpp:201
#64 0x00007ff5855e0ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#65 0x0000000000407f27 in _start ()
The current source language is "auto; currently c".

Report to https://bugs.kde.org