Bug 271847

Summary: crash when building
Product: [Applications] kdevelop Reporter: Diggory Hardy <kde2>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: crash CC: deszynski, neil, olivier.jg
Priority: NOR    
Version: unspecified   
Target Milestone: 4.2.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Diggory Hardy 2011-04-27 15:13:45 UTC
Application: kdevelop (4.2.2)
KDE Platform Version: 4.6.2 (4.6.2) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-2-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:

I'd just typed something into a code window, then pressed F8 to compile. Kdevelop crashed immediately after pressing F8.

I installed kdevelop 4.2.2 from source; otherwise it seems to be running fine (having been used 1-2 hours since installation). This is the first time a crash occurred.

Build system is using clang through cmake.

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

Thread 9 (Thread 0x7ff9ddf5d700 (LWP 25083)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007ff9f57fd682 in wait (this=<value optimized out>, mutex=0x206c8c0, time=1000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x206c8c0, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff9f1f1381b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x206c8a0) at /home/dhardy/code/download/kdevelop/kdevplatform-1.2.2/language/duchain/duchain.cpp:286
#4  0x00007ff9f57fd035 in QThreadPrivate::start (arg=0x206c8a0) at thread/qthread_unix.cpp:320
#5  0x00007ff9e95a1ae3 in ?? () from /usr/lib/libGL.so.1
#6  0x00007ff9f34c48ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007ff9f3df23cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ff9d444e700 (LWP 25092)):
#0  0x00007ff9ef4cc957 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x00007ff9ef4cd879 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ff9ef4cdf1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007ff9f5910de6 in QEventDispatcherGlib::processEvents (this=0x2c54230, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff9f58e5022 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff9f58e526c in QEventLoop::exec (this=0x7ff9d444dce0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ff9f57fa7d4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007ff9f58c69b8 in QInotifyFileSystemWatcherEngine::run (this=0x2c53b60) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff9f57fd035 in QThreadPrivate::start (arg=0x2c53b60) at thread/qthread_unix.cpp:320
#9  0x00007ff9e95a1ae3 in ?? () from /usr/lib/libGL.so.1
#10 0x00007ff9f34c48ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007ff9f3df23cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ff9d4c4f700 (LWP 25152)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff9ede1e474 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007ff9e98084e8 in ?? () from /usr/lib/libGL.so.1
#3  0x0000000000000004 in ?? ()
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff94a3de700 (LWP 25233)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff9f2b66164 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7ff9f2e800e0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007ff9f2b66199 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7ff9f2e8e1b4) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007ff9e95a1ae3 in ?? () from /usr/lib/libGL.so.1
#4  0x00007ff9f34c48ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007ff9f3df23cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff948efd700 (LWP 25234)):
#0  0x00007ff9f3de74b3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff9ef4cd9e4 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ff9ef4cdf1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007ff9f5910de6 in QEventDispatcherGlib::processEvents (this=0x2ad74c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff9f58e5022 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff9f58e526c in QEventLoop::exec (this=0x7ff948efcd20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ff9f57fa7d4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007ff9f57fd035 in QThreadPrivate::start (arg=0x3572980) at thread/qthread_unix.cpp:320
#8  0x00007ff9e95a1ae3 in ?? () from /usr/lib/libGL.so.1
#9  0x00007ff9f34c48ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ff9f3df23cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff943fff700 (LWP 25235)):
#0  0x00007ff9f3de74b3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff9ef4cd9e4 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ff9ef4cdf1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007ff9f5910de6 in QEventDispatcherGlib::processEvents (this=0x2a7c730, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff9f58e5022 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff9f58e526c in QEventLoop::exec (this=0x7ff943ffed20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ff9f57fa7d4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007ff9f57fd035 in QThreadPrivate::start (arg=0x329b230) at thread/qthread_unix.cpp:320
#8  0x00007ff9e95a1ae3 in ?? () from /usr/lib/libGL.so.1
#9  0x00007ff9f34c48ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ff9f3df23cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff9437fe700 (LWP 25240)):
#0  __lll_timedlock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:187
#1  0x00007ff9f34c7fef in _L_timedlock_154 () from /lib/libpthread.so.0
#2  0x00007ff9f34c77ce in pthread_mutex_timedlock (mutex=0x7ff9f9848500, abstime=0x7ff9437e4b30) at pthread_mutex_timedlock.c:80
#3  0x00007ff9f9634944 in tryLock (interval=<value optimized out>) at /home/dhardy/code/download/kdevelop/kdevplatform-1.2.2/interfaces/foregroundlock.cpp:68
#4  (anonymous namespace)::tryLockForegroundMutexInternal (interval=<value optimized out>) at /home/dhardy/code/download/kdevelop/kdevplatform-1.2.2/interfaces/foregroundlock.cpp:114
#5  0x00007ff9f9635119 in KDevelop::ForegroundLock::relock (this=0x7ff9437e4f2f) at /home/dhardy/code/download/kdevelop/kdevplatform-1.2.2/interfaces/foregroundlock.cpp:154
#6  0x00007ff9f1ee6d65 in KDevelop::ParseJob::translateDUChainToRevision (this=0x7ff944948f90, context=0x4410a50) at /home/dhardy/code/download/kdevelop/kdevplatform-1.2.2/language/backgroundparser/parsejob.cpp:417
#7  0x00007ff94983b831 in CPPInternalParseJob::run() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#8  0x00007ff949842237 in PreprocessJob::sourceNeeded(QString&, rpp::Preprocessor::IncludeType, int, bool) () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#9  0x00007ff94949a865 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#10 0x00007ff94949d32b in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#11 0x00007ff94949dabf in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#12 0x00007ff94949dcde in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/local/lib/libkdev4cpprpp.so
#13 0x00007ff94949dd65 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/local/lib/libkdev4cpprpp.so
#14 0x00007ff949844367 in PreprocessJob::run() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#15 0x00007ff94983990e in CPPParseJob::parseForeground() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#16 0x00007ff949842237 in PreprocessJob::sourceNeeded(QString&, rpp::Preprocessor::IncludeType, int, bool) () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#17 0x00007ff94949a865 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#18 0x00007ff94949d32b in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#19 0x00007ff94949dabf in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#20 0x00007ff94949dcde in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/local/lib/libkdev4cpprpp.so
#21 0x00007ff94949dd65 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/local/lib/libkdev4cpprpp.so
#22 0x00007ff949844367 in PreprocessJob::run() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#23 0x00007ff94983990e in CPPParseJob::parseForeground() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#24 0x00007ff949842237 in PreprocessJob::sourceNeeded(QString&, rpp::Preprocessor::IncludeType, int, bool) () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#25 0x00007ff94949a865 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#26 0x00007ff94949d32b in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#27 0x00007ff94949dabf in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#28 0x00007ff94949dcde in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/local/lib/libkdev4cpprpp.so
#29 0x00007ff94949dd65 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/local/lib/libkdev4cpprpp.so
#30 0x00007ff949844367 in PreprocessJob::run() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#31 0x00007ff94983990e in CPPParseJob::parseForeground() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#32 0x00007ff949842237 in PreprocessJob::sourceNeeded(QString&, rpp::Preprocessor::IncludeType, int, bool) () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#33 0x00007ff94949a865 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#34 0x00007ff94949d32b in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#35 0x00007ff94949dabf in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#36 0x00007ff94949dcde in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/local/lib/libkdev4cpprpp.so
#37 0x00007ff94949dd65 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/local/lib/libkdev4cpprpp.so
#38 0x00007ff949844367 in PreprocessJob::run() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#39 0x00007ff94983990e in CPPParseJob::parseForeground() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#40 0x00007ff949842237 in PreprocessJob::sourceNeeded(QString&, rpp::Preprocessor::IncludeType, int, bool) () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#41 0x00007ff94949a865 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#42 0x00007ff94949d32b in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#43 0x00007ff94949dabf in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#44 0x00007ff94949dcde in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/local/lib/libkdev4cpprpp.so
#45 0x00007ff94949dd65 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/local/lib/libkdev4cpprpp.so
#46 0x00007ff949844367 in PreprocessJob::run() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#47 0x00007ff94983990e in CPPParseJob::parseForeground() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#48 0x00007ff949842237 in PreprocessJob::sourceNeeded(QString&, rpp::Preprocessor::IncludeType, int, bool) () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#49 0x00007ff94949a865 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#50 0x00007ff94949d32b in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#51 0x00007ff94949dabf in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#52 0x00007ff94949dcde in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/local/lib/libkdev4cpprpp.so
#53 0x00007ff94949dd65 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/local/lib/libkdev4cpprpp.so
#54 0x00007ff949844367 in PreprocessJob::run() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#55 0x00007ff94983990e in CPPParseJob::parseForeground() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#56 0x00007ff949842237 in PreprocessJob::sourceNeeded(QString&, rpp::Preprocessor::IncludeType, int, bool) () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#57 0x00007ff94949a865 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#58 0x00007ff94949d32b in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#59 0x00007ff94949dabf in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#60 0x00007ff94949dcde in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/local/lib/libkdev4cpprpp.so
#61 0x00007ff94949dd65 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/local/lib/libkdev4cpprpp.so
#62 0x00007ff949844367 in PreprocessJob::run() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#63 0x00007ff94983990e in CPPParseJob::parseForeground() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#64 0x00007ff949842237 in PreprocessJob::sourceNeeded(QString&, rpp::Preprocessor::IncludeType, int, bool) () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#65 0x00007ff94949a865 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#66 0x00007ff94949d32b in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#67 0x00007ff94949dabf in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#68 0x00007ff94949dcde in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/local/lib/libkdev4cpprpp.so
#69 0x00007ff94949dd65 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/local/lib/libkdev4cpprpp.so
#70 0x00007ff949844367 in PreprocessJob::run() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#71 0x00007ff94983990e in CPPParseJob::parseForeground() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#72 0x00007ff949842237 in PreprocessJob::sourceNeeded(QString&, rpp::Preprocessor::IncludeType, int, bool) () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#73 0x00007ff94949a865 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#74 0x00007ff94949d32b in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#75 0x00007ff94949dabf in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#76 0x00007ff94949dcde in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/local/lib/libkdev4cpprpp.so
#77 0x00007ff94949dd65 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/local/lib/libkdev4cpprpp.so
#78 0x00007ff949844367 in PreprocessJob::run() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#79 0x00007ff94983990e in CPPParseJob::parseForeground() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#80 0x00007ff949842237 in PreprocessJob::sourceNeeded(QString&, rpp::Preprocessor::IncludeType, int, bool) () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#81 0x00007ff94949a865 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#82 0x00007ff94949d32b in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#83 0x00007ff94949dabf in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#84 0x00007ff94949dcde in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/local/lib/libkdev4cpprpp.so
#85 0x00007ff94949dd65 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/local/lib/libkdev4cpprpp.so
#86 0x00007ff949844367 in PreprocessJob::run() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#87 0x00007ff94983990e in CPPParseJob::parseForeground() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#88 0x00007ff949842237 in PreprocessJob::sourceNeeded(QString&, rpp::Preprocessor::IncludeType, int, bool) () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#89 0x00007ff94949a865 in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#90 0x00007ff94949d32b in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#91 0x00007ff94949dabf in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/local/lib/libkdev4cpprpp.so
#92 0x00007ff94949dcde in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/local/lib/libkdev4cpprpp.so
#93 0x00007ff94949dd65 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/local/lib/libkdev4cpprpp.so
#94 0x00007ff949844367 in PreprocessJob::run() () from /usr/local/lib/kde4/kdevcpplanguagesupport.so
#95 0x00007ff9f836b451 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7ff9437fdc80, th=0x3326be0, job=0x330f2f0) at ../../../threadweaver/Weaver/Job.cpp:106
#96 0x00007ff9f836b58e in ThreadWeaver::Job::execute (this=0x330f2f0, th=0x3326be0) at ../../../threadweaver/Weaver/Job.cpp:135
#97 0x00007ff9f836c843 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x3e24bd0, t=0x3326be0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#98 0x00007ff9f836ad3f in ThreadWeaver::ThreadRunHelper::run (this=0x7ff9437fdd30, parent=0x114eaf0, th=0x3326be0) at ../../../threadweaver/Weaver/Thread.cpp:95
#99 0x00007ff9f836adf8 in ThreadWeaver::Thread::run (this=0x3326be0) at ../../../threadweaver/Weaver/Thread.cpp:142
#100 0x00007ff9f57fd035 in QThreadPrivate::start (arg=0x3326be0) at thread/qthread_unix.cpp:320
#101 0x00007ff9e95a1ae3 in ?? () from /usr/lib/libGL.so.1
#102 0x00007ff9f34c48ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#103 0x00007ff9f3df23cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#104 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff942ffd700 (LWP 25241)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff9f57fd71b in wait (this=<value optimized out>, mutex=0xfdec30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xfdec30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff9f83698f4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x114eaf0, th=0x7ff94409e9c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff9f836bf83 in ThreadWeaver::WorkingHardState::applyForWork (this=0xffc890, th=0x7ff94409e9c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff9f836bf9c in ThreadWeaver::WorkingHardState::applyForWork (this=0xffc890, th=0x7ff94409e9c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007ff9f836ad6f in ThreadWeaver::ThreadRunHelper::run (this=0x7ff942ffcd30, parent=0x114eaf0, th=0x7ff94409e9c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007ff9f836adf8 in ThreadWeaver::Thread::run (this=0x7ff94409e9c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007ff9f57fd035 in QThreadPrivate::start (arg=0x7ff94409e9c0) at thread/qthread_unix.cpp:320
#9  0x00007ff9e95a1ae3 in ?? () from /usr/lib/libGL.so.1
#10 0x00007ff9f34c48ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007ff9f3df23cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff9f9ef17a0 (LWP 25082)):
[KCrash Handler]
#6  QList (this=0x0) at /usr/include/qt4/QtCore/qlist.h:118
#7  QStringList (this=0x0) at /usr/include/qt4/QtCore/qstringlist.h:71
#8  KDevelop::IPlugin::extensions (this=0x0) at /home/dhardy/code/download/kdevelop/kdevplatform-1.2.2/interfaces/iplugin.cpp:155
#9  0x00007ff94ac38cbb in CMakeManager::builder(KDevelop::ProjectFolderItem*) const () from /usr/local/lib/kde4/kdevcmakemanager.so
#10 0x00007ff9f250de50 in KDevelop::BuilderJobPrivate::addJob (this=0x906f6a0, t=<value optimized out>, item=0x329dc60) at /home/dhardy/code/download/kdevelop/kdevplatform-1.2.2/project/builderjob.cpp:70
#11 0x00007ff9d6b1b821 in BuildItemBuilderJob::BuildItemBuilderJob (this=0x43bec40, t=KDevelop::BuilderJob::Build, items=...) at /home/dhardy/code/download/kdevelop/kdevplatform-1.2.2/plugins/projectmanagerview/builditembuilderjob.cpp:35
#12 0x00007ff9d6b0f3a8 in ProjectManagerViewPlugin::runBuilderJob (this=<value optimized out>, t=KDevelop::BuilderJob::Build) at /home/dhardy/code/download/kdevelop/kdevplatform-1.2.2/plugins/projectmanagerview/projectmanagerviewplugin.cpp:348
#13 0x00007ff9d6b129dc in ProjectManagerViewPlugin::qt_metacall (this=0x2962c20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2fb70320) at /home/dhardy/code/download/kdevelop/kdevplatform-1.2.2/build/plugins/projectmanagerview/projectmanagerviewplugin.moc:109
#14 0x00007ff9f58fb18f in QMetaObject::activate (sender=0x29495f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff2fb70320) at kernel/qobject.cpp:3278
#15 0x00007ff9f4c806b2 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#16 0x00007ff9f4c808aa in QAction::activate (this=0x29495f0, event=<value optimized out>) at kernel/qaction.cpp:1257
#17 0x00007ff9f4c80a27 in QAction::event (this=<value optimized out>, e=<value optimized out>) at kernel/qaction.cpp:1183
#18 0x00007ff9f600800d in KAction::event (this=<value optimized out>, event=0x7fff2fb709f0) at ../../kdeui/actions/kaction.cpp:131
#19 0x00007ff9f4c86d14 in QApplicationPrivate::notify_helper (this=0xce35d0, receiver=0x29495f0, e=0x7fff2fb709f0) at kernel/qapplication.cpp:4462
#20 0x00007ff9f4c8b8da in QApplication::notify (this=<value optimized out>, receiver=0x29495f0, e=0x7fff2fb709f0) at kernel/qapplication.cpp:4341
#21 0x00007ff9f60ea436 in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at ../../kdeui/kernel/kapplication.cpp:312
#22 0x00000000004051b9 in _start ()

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

Possible duplicates by query: bug 266283, bug 265256, bug 240568.

Reported using DrKonqi
Comment 1 Diggory Hardy 2011-04-27 15:28:38 UTC
Sorry, updates to KDE packages were in progress when this crash happened -- a very likely cause.
Comment 2 Neil Groves 2011-05-02 17:41:39 UTC
Created attachment 59546 [details]
New crash information added by DrKonqi

kdevelop (4.2.2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:
Building after importing a Makefile based project
- Custom settings of the application:
I am using a project imported from a makefile rather than a native kdevelop project type. This is using the KDevelop packaged with Ubuntu 11.04 rather than custom sources of the previous reporter of this defect. Hence I believe this is a genuine defect.

-- Backtrace (Reduced):
#7  0x00007fbaaf409394 in KDevelop::BuilderJobPrivate::addJob (this=0x4c28ed0, t=<value optimized out>, item=0x4bbb280) at ../../project/builderjob.cpp:70
#8  0x00007fba8337e8c1 in BuildItemBuilderJob::BuildItemBuilderJob (this=0x49d2580, t=KDevelop::BuilderJob::Build, items=...) at ../../../plugins/projectmanagerview/builditembuilderjob.cpp:35
#9  0x00007fba83372752 in ProjectManagerViewPlugin::runBuilderJob (this=<value optimized out>, t=KDevelop::BuilderJob::Build) at ../../../plugins/projectmanagerview/projectmanagerviewplugin.cpp:348
#10 0x00007fba83375bdc in ProjectManagerViewPlugin::qt_metacall (this=0x3373490, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff4089080) at ./projectmanagerviewplugin.moc:109
[...]
#12 0x00007fbab1c8d112 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
Comment 3 Diggory Hardy 2011-05-03 10:46:38 UTC
Reopening then. In the meantime I've also experienced this crash several more times. I think each time kdevelop had already been running a while and had some unsaved documents (though it could just be that those were the times I remember more clearly ;-) ).

I've been using custom CMake files.
Comment 4 Milian Wolff 2011-05-30 16:10:22 UTC
first: @Neil: unrelated crash

secondly: @Diggory: Make sure to remove system wide installed kdev installations if you compile kdev on your own.

your bt contains
... from /usr/local/lib/kde4/kdevcmakemanager.so

which can lead to all sorts of issues when combined with stuff in

/home/dhardy/code/download/kdevelop/kdevplatform-1.2.2/...
Comment 5 Diggory Hardy 2011-05-30 17:48:19 UTC
I installed the kdevelop download I compiled in /usr/local. Distributions never put stuff there.

If I don't set KDEDIRS=/usr/local:$KDEDIRS then the cmakemanager plugin (as I think all plugins) aren't found either. I didn't actually realise it was using the build path... though it shouldn't make a difference.

I've not had this bug occur quite so recently... either it's sporadic or some other system updates have solved it somehow.
Comment 6 Milian Wolff 2011-05-30 17:56:25 UTC
indeed, my bad. So you installed kdevelop without debug symbols? No clue what is going on here :-/
Comment 7 Diggory Hardy 2011-05-31 12:02:00 UTC
Sorry. I'll re-build with debug symbols then, but as I said I haven't experienced this crash in the last couple of weeks or so.

CMAKE_BUILD_TYPE: I often use RelWithDebInfo. This is probably OK for a stack trace? At any rate I didn't think debugfull was supported as the wiki suggested.
Comment 8 Olivier.jg 2011-08-21 09:20:23 UTC
If this is valid, it looks a bit like something that was fixed a little while ago. Anyone feel free to reopen if you hit this again with a good bt.
Comment 9 Olivier.jg 2011-08-22 07:08:13 UTC
Looks like someone already has put up a good bt for this, probably another invalid project item issue.
Comment 10 Olivier.jg 2011-08-22 07:09:16 UTC
*** Bug 279864 has been marked as a duplicate of this bug. ***
Comment 11 Diggory Hardy 2011-08-22 07:21:51 UTC
FYI: Piotr mentioned that his crash is probably due to missing dependencies and happens every time. The crash I posted about here happened sporadically during normal usage, and when restarting kdevelop it would build fine (without any changes to source/config files). I think these are separate issues.

That said I think Olivier was right to close this report; I haven't experienced this crash in months so presumably it was fixed in some update. I won't close now though because Piotr's report may well still be valid.
Comment 12 Milian Wolff 2011-08-28 13:24:40 UTC
closing this one and reviving 279864