[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#721968: [kdevelop] KDevelop crashes when opening an existing project (backtrace incl.)



Package: kdevelop
Version: 4:4.3.1-3+b2
Severity: normal

-----------------------------------------
Kdevelop crashes when opening even a simple console project, making it unusable. Here is a backtrace:

Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f78930c2780 (LWP 21328))]

Thread 11 (Thread 0x7f787879a700 (LWP 21329)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f7891550424 in wait (time=1000, this=0x1c85900) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1c989e0, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f788d49262b in ?? () from /usr/lib/libkdevplatformlanguage.so.5
#4  0x00007f789154ff6f in QThreadPrivate::start (arg=0x1c989c0) at thread/qthread_unix.cpp:338
#5  0x00007f788f5cfe0e in start_thread (arg=0x7f787879a700) at pthread_create.c:311
#6  0x00007f789025f93d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 10 (Thread 0x7f786a8fa700 (LWP 21343)):
#0  0x00007fff99d7cae8 in ?? ()
#1  0x00007f786a8f9b40 in ?? ()
#2  0x0000000103628acf in ?? ()
#3  0x00007f78640012c0 in ?? ()
#4  0x00007f786a8f9bf8 in ?? ()
#5  0x00007f786a8f9b90 in ?? ()
#6  0x00007f786a8f9c00 in ?? ()
#7  0x00007f78902716ad in clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#8  0x00007f78915a4797 in do_gettime (frac=0x7f786a8f9b40, sec=0x7f786a8f9b38) at tools/qelapsedtimer_unix.cpp:127
#9  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#10 0x00007f789167e395 in updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:354
#11 QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#12 0x00007f789167cb3c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f786a8f9bf4) at kernel/qeventdispatcher_glib.cpp:136
#13 0x00007f789167cbe5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#14 0x00007f788aeec83d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f788aeed0b3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f788aeed29c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f789167cd06 in QEventDispatcherGlib::processEvents (this=0x7f7864002800, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#18 0x00007f789164e7bf in QEventLoop::processEvents (this=this@entry=0x7f786a8f9db0, flags=...) at kernel/qeventloop.cpp:149
#19 0x00007f789164eab5 in QEventLoop::exec (this=this@entry=0x7f786a8f9db0, flags=...) at kernel/qeventloop.cpp:204
#20 0x00007f789154d8cf in QThread::exec (this=this@entry=0x2877380) at thread/qthread.cpp:536
#21 0x00007f789162fee3 in QInotifyFileSystemWatcherEngine::run (this=0x2877380) at io/qfilesystemwatcher_inotify.cpp:256
#22 0x00007f789154ff6f in QThreadPrivate::start (arg=0x2877380) at thread/qthread_unix.cpp:338
#23 0x00007f788f5cfe0e in start_thread (arg=0x7f786a8fa700) at pthread_create.c:311
#24 0x00007f789025f93d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 9 (Thread 0x7f7860f0d700 (LWP 21394)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7888221ebd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f7888221fc9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f788f5cfe0e in start_thread (arg=0x7f7860f0d700) at pthread_create.c:311
#4  0x00007f789025f93d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7f785bfff700 (LWP 21395)):
#0  0x00007f788af2bfda in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f788af2c2b9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f788aeed189 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f788aeed29c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f789167cd06 in QEventDispatcherGlib::processEvents (this=0x7f78540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007f789164e7bf in QEventLoop::processEvents (this=this@entry=0x7f785bffedf0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f789164eab5 in QEventLoop::exec (this=this@entry=0x7f785bffedf0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f789154d8cf in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007f789154ff6f in QThreadPrivate::start (arg=0x258b950) at thread/qthread_unix.cpp:338
#9  0x00007f788f5cfe0e in start_thread (arg=0x7f785bfff700) at pthread_create.c:311
#10 0x00007f789025f93d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7f785a965700 (LWP 21439)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7891550446 in wait (time=18446744073709551615, this=0x32ade60) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x3169808, mutex=0x286d400, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7888c1065c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x31697e0, th=0x319a640) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7888c1325b in ThreadWeaver::WorkingHardState::applyForWork (this=0x32b6880, th=0x319a640) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7888c11e89 in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f785a964df0, parent=0x31697e0, th=th@entry=0x319a640) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f7888c11f30 in ThreadWeaver::Thread::run (this=0x319a640) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f789154ff6f in QThreadPrivate::start (arg=0x319a640) at thread/qthread_unix.cpp:338
#8  0x00007f788f5cfe0e in start_thread (arg=0x7f785a965700) at pthread_create.c:311
#9  0x00007f789025f93d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f785a164700 (LWP 21440)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f7891550424 in wait (time=30000, this=0x31d3510) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x3183cb8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f78915438a5 in QThreadPoolThread::run (this=0x31ab080) at concurrent/qthreadpool.cpp:141
#4  0x00007f789154ff6f in QThreadPrivate::start (arg=0x31ab080) at thread/qthread_unix.cpp:338
#5  0x00007f788f5cfe0e in start_thread (arg=0x7f785a164700) at pthread_create.c:311
#6  0x00007f789025f93d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f7858f14700 (LWP 21514)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x7f7804000a60, decr=1) at pthread_mutex_unlock.c:49
#1  0x00007f788af2c2c1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f788aeed0a6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f788aeed29c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f789167cd06 in QEventDispatcherGlib::processEvents (this=0x7f78040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007f789164e7bf in QEventLoop::processEvents (this=this@entry=0x7f7858f13df0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f789164eab5 in QEventLoop::exec (this=this@entry=0x7f7858f13df0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f789154d8cf in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007f789154ff6f in QThreadPrivate::start (arg=0x3160d20) at thread/qthread_unix.cpp:338
#9  0x00007f788f5cfe0e in start_thread (arg=0x7f7858f14700) at pthread_create.c:311
#10 0x00007f789025f93d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f780bfff700 (LWP 21515)):
#0  0x00007f788af2bfda in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f788af2c2b9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f788aeec830 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f788aeed0b3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f788aeed29c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f789167cd06 in QEventDispatcherGlib::processEvents (this=0x7f78000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007f789164e7bf in QEventLoop::processEvents (this=this@entry=0x7f780bffedf0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f789164eab5 in QEventLoop::exec (this=this@entry=0x7f780bffedf0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f789154d8cf in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#9  0x00007f789154ff6f in QThreadPrivate::start (arg=0x32190e0) at thread/qthread_unix.cpp:338
#10 0x00007f788f5cfe0e in start_thread (arg=0x7f780bfff700) at pthread_create.c:311
#11 0x00007f789025f93d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f780b7fe700 (LWP 21520)):
[KCrash Handler]
#6  0x00007f788d4aed9e in std::pair<std::_Rb_tree_iterator<unsigned int>, bool> std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_insert_unique<unsigned int>(unsigned int&&) () from /usr/lib/libkdevplatformlanguage.so.5
#7  0x00007f78592335bd in insert (__x=<unknown type in /usr/lib/debug/usr/lib/libkdev4cppduchain.so, CU 0x572586, DIE 0x598414>, this=0x7f77f8031110) at /usr/include/c++/4.8/bits/stl_set.h:472
#8  CppPreprocessEnvironment::retrieveMacro (this=0x7f77f80310d0, name=..., isImportant=<optimized out>) at ../../../../languages/cpp/cppduchain/cpppreprocessenvironment.cpp:64
#9  0x00007f785949f4a9 in rpp::pp::handle_ifdef (this=this@entry=0x7f780b7fb500, check_undefined=check_undefined@entry=true, input=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:1004
#10 0x00007f78594a5fb0 in rpp::pp::handle_directive (this=this@entry=0x7f780b7fb500, directive=directive@entry=80786, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:153
#11 0x00007f78594a636c in rpp::pp::operator() (this=this@entry=0x7f780b7fb500, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:266
#12 0x00007f78594a65a0 in rpp::pp::processFileInternal (this=this@entry=0x7f780b7fb500, fileName=..., fileContents=..., result=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#13 0x00007f78594a6916 in rpp::pp::processFile (this=this@entry=0x7f780b7fb500, fileName=..., data=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#14 0x00007f78596eec9a in PreprocessJob::run (this=<optimized out>) at ../../../languages/cpp/preprocessjob.cpp:245
#15 0x00007f78596e51fe in CPPParseJob::parseForeground (this=this@entry=0x7f77f8023f60) at ../../../languages/cpp/cppparsejob.cpp:174
#16 0x00007f78596ecd7e in PreprocessJob::sourceNeeded (this=0x316c4e0, _fileName=..., type=<optimized out>, sourceLine=2, skipCurrentPath=<optimized out>) at ../../../languages/cpp/preprocessjob.cpp:579
#17 0x00007f78594a2c84 in rpp::pp::handle_include (this=this@entry=0x7f780b7fcc00, skip_current_path=<optimized out>, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:213
#18 0x00007f78594a5d23 in rpp::pp::handle_directive (this=this@entry=0x7f780b7fcc00, directive=directive@entry=79277, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:131
#19 0x00007f78594a636c in rpp::pp::operator() (this=this@entry=0x7f780b7fcc00, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:266
#20 0x00007f78594a65a0 in rpp::pp::processFileInternal (this=this@entry=0x7f780b7fcc00, fileName=..., fileContents=..., result=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#21 0x00007f78594a6916 in rpp::pp::processFile (this=this@entry=0x7f780b7fcc00, fileName=..., data=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#22 0x00007f78596eec9a in PreprocessJob::run (this=<optimized out>) at ../../../languages/cpp/preprocessjob.cpp:245
#23 0x00007f7888c12602 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f780b7fdd40, th=th@entry=0x2e3c110, job=job@entry=0x316c4e0) at ../../../threadweaver/Weaver/Job.cpp:106
#24 0x00007f7888c127be in ThreadWeaver::Job::execute (this=0x316c4e0, th=0x2e3c110) at ../../../threadweaver/Weaver/Job.cpp:135
#25 0x00007f7888c1425b in ThreadWeaver::JobCollectionJobRunner::execute (this=0x31c4720, t=0x2e3c110) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#26 0x00007f7888c11e37 in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f780b7fddf0, parent=0xda20f0, th=th@entry=0x2e3c110) at ../../../threadweaver/Weaver/Thread.cpp:95
#27 0x00007f7888c11f30 in ThreadWeaver::Thread::run (this=0x2e3c110) at ../../../threadweaver/Weaver/Thread.cpp:142
#28 0x00007f789154ff6f in QThreadPrivate::start (arg=0x2e3c110) at thread/qthread_unix.cpp:338
#29 0x00007f788f5cfe0e in start_thread (arg=0x7f780b7fe700) at pthread_create.c:311
#30 0x00007f789025f93d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f780affd700 (LWP 21521)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7891550446 in wait (time=18446744073709551615, this=0xda4320) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xda2118, mutex=0xc9dec0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7888c1065c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xda20f0, th=0x7f77f8002e50) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7888c1325b in ThreadWeaver::WorkingHardState::applyForWork (this=0xd3fa70, th=0x7f77f8002e50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7888c11e89 in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f780affcdf0, parent=0xda20f0, th=th@entry=0x7f77f8002e50) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f7888c11f30 in ThreadWeaver::Thread::run (this=0x7f77f8002e50) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f789154ff6f in QThreadPrivate::start (arg=0x7f77f8002e50) at thread/qthread_unix.cpp:338
#8  0x00007f788f5cfe0e in start_thread (arg=0x7f780affd700) at pthread_create.c:311
#9  0x00007f789025f93d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f78930c2780 (LWP 21328)):
#0  0x00007f78902529ad in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f788af2b560 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f788aeeccbc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f788aeed12b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f788aeed29c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f789167cce5 in QEventDispatcherGlib::processEvents (this=0x7c29d0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f7890a91846 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#7  0x00007f789164e7bf in QEventLoop::processEvents (this=this@entry=0x7fff99d42ca0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f789164eab5 in QEventLoop::exec (this=this@entry=0x7fff99d42ca0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f78916540fb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#10 0x00007f78909f1ecc in QApplication::exec () at kernel/qapplication.cpp:3828
#11 0x0000000000409dc9 in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:479


--- System information. ---
Architecture: amd64
Kernel:       Linux 3.10-2-amd64

Debian Release: jessie/sid
  500 testing         security.debian.org 
  500 testing         ftp.pl.debian.org 

--- Package information. ---
Depends                            (Version) | Installed
============================================-+-======================
kde-runtime                      (>> 4:4.10) | 4:4.10.5-1
kdevplatform5-libs                (>= 1.3.1) | 1.3.1-2
libc6                              (>= 2.14) | 2.17-92
libgcc1                         (>= 1:4.1.1) | 1:4.8.1-2
libkcmutils4                   (>= 4:4.4.95) | 4:4.10.5-1
libkdecore5                    (>= 4:4.4.95) | 4:4.10.5-1
libkdeui5                       (>= 4:4.3.4) | 4:4.10.5-1
libkio5                         (>= 4:4.3.4) | 4:4.10.5-1
libkparts4                      (>= 4:4.3.4) | 4:4.10.5-1
libktexteditor4                (>= 4:4.4.95) | 4:4.10.5-1
libplasma3                   (>= 4:4.4.4-2~) | 4:4.10.5-1
libprocessui4a                  (>= 4:4.6.1) | 4:4.10.5-3
libqt4-dbus                     (>= 4:4.6.1) | 4:4.8.5+dfsg-3
libqt4-help                     (>= 4:4.5.3) | 4:4.8.5+dfsg-3
libqt4-network                  (>= 4:4.5.3) | 4:4.8.5+dfsg-3
libqt4-script                   (>= 4:4.5.3) | 4:4.8.5+dfsg-3
libqtcore4                      (>= 4:4.8.0) | 4:4.8.5+dfsg-3
libqtgui4                       (>= 4:4.5.3) | 4:4.8.5+dfsg-3
libqtwebkit4           (>= 2.1.0~2011week13) | 2.2.1-5
libstdc++6                          (>= 4.8) | 4.8.1-2
libsublime5                       (>= 1.3.1) | 1.3.1-2
libthreadweaver4                (>= 4:4.3.4) | 4:4.10.5-1
kdevelop-data                 (>= 4:4.3.1-3) | 4:4.3.1-3


Recommends      (Version) | Installed
=========================-+-===========
gcc                       | 4:4.7.2-1
g++                       | 4:4.7.2-1
make                      | 3.81-8.2
gdb              (>= 7.0) | 7.6-5


Suggests           (Version) | Installed
============================-+-===========
cmake                        | 2.8.11.2-1
kapptemplate                 | 
kdevelop-l10n                | 


Reply to: