Bug 341344 - Idle Background Crash
Summary: Idle Background Crash
Status: RESOLVED DUPLICATE of bug 334487
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.7.0
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-28 06:26 UTC by OvermindDL1
Modified: 2014-11-28 07:15 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 OvermindDL1 2014-11-28 06:26:39 UTC
Application: kdevelop (4.7.0)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-36-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
The program was sitting focused on the screen, but otherwise untouched for multiple minutes.

The crash can be reproduced sometimes.

-- 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 0x7f889698c800 (LWP 23616))]

Thread 10 (Thread 0x7f887a008700 (LWP 23617)):
#0  0x00007f8892fb5c6d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f888d445fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f888d4460ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f88939527be in QEventDispatcherGlib::processEvents (this=0x7f88740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f88939240af in QEventLoop::processEvents (this=this@entry=0x7f887a007da0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f88939243a5 in QEventLoop::exec (this=this@entry=0x7f887a007da0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f8893820c5f in QThread::exec (this=this@entry=0x19b0580) at thread/qthread.cpp:537
#7  0x00007f8893905823 in QInotifyFileSystemWatcherEngine::run (this=0x19b0580) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f889382332f in QThreadPrivate::start (arg=0x19b0580) at thread/qthread_unix.cpp:349
#9  0x00007f889231f182 in start_thread (arg=0x7f887a008700) at pthread_create.c:312
#10 0x00007f8892fc2fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7f8879807700 (LWP 23618)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f888fa71ffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f888fa72039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f889231f182 in start_thread (arg=0x7f8879807700) at pthread_create.c:312
#4  0x00007f8892fc2fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f87f2007700 (LWP 23619)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f88938237f4 in wait (time=1000, this=0x3d39220) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3d38dc0, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f88904f0ebf in ?? () from /usr/lib/libkdevplatformlanguage.so.8
#4  0x00007f889382332f in QThreadPrivate::start (arg=0x3d38da0) at thread/qthread_unix.cpp:349
#5  0x00007f889231f182 in start_thread (arg=0x7f87f2007700) at pthread_create.c:312
#6  0x00007f8892fc2fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f87ea376700 (LWP 23620)):
#0  0x00007f8893952b2a in testAndSetOrdered (newValue=1, expectedValue=0, this=0x3e1c250) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:145
#1  testAndSetAcquire (newValue=1, expectedValue=0, this=0x3e1c250) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:267
#2  tryLockInline (this=0x3e1c208) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:181
#3  lockInline (this=0x3e1c208) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:189
#4  QMutexLocker (m=0x3e1c208, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:109
#5  canWaitLocked (this=0x3e1c1c0) at ../../include/QtCore/private/../../../src/corelib/thread/qthread_p.h:228
#6  postEventSourcePrepare (s=0x7f87e4001350, timeout=0x7f87ea375c24) at kernel/qeventdispatcher_glib.cpp:270
#7  0x00007f888d44568d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f888d445f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f888d4460ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f88939527be in QEventDispatcherGlib::processEvents (this=0x7f87e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#11 0x00007f88939240af in QEventLoop::processEvents (this=this@entry=0x7f87ea375de0, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f88939243a5 in QEventLoop::exec (this=this@entry=0x7f87ea375de0, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007f8893820c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#14 0x00007f889382332f in QThreadPrivate::start (arg=0x3e1c038) at thread/qthread_unix.cpp:349
#15 0x00007f889231f182 in start_thread (arg=0x7f87ea376700) at pthread_create.c:312
#16 0x00007f8892fc2fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f87d92df700 (LWP 23628)):
#0  0x00007f8893952a5c in timerSourceCheckHelper (src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:161
#1  0x00007f888d445a61 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f888d445f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f888d4460ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f88939527be in QEventDispatcherGlib::processEvents (this=0x7f87d40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f88939240af in QEventLoop::processEvents (this=this@entry=0x7f87d92dede0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f88939243a5 in QEventLoop::exec (this=this@entry=0x7f87d92dede0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f8893820c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#8  0x00007f889382332f in QThreadPrivate::start (arg=0x15bd750) at thread/qthread_unix.cpp:349
#9  0x00007f889231f182 in start_thread (arg=0x7f87d92df700) at pthread_create.c:312
#10 0x00007f8892fc2fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f87cfc2f700 (LWP 23646)):
#0  0x00007f8892fb5c6d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f888d445fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f888d4460ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f88939527be in QEventDispatcherGlib::processEvents (this=0x7f87c00032b0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f88939240af in QEventLoop::processEvents (this=this@entry=0x7f87cfc2eda0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f88939243a5 in QEventLoop::exec (this=this@entry=0x7f87cfc2eda0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f8893820c5f in QThread::exec (this=this@entry=0x7811980) at thread/qthread.cpp:537
#7  0x00007f8893905823 in QInotifyFileSystemWatcherEngine::run (this=0x7811980) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f889382332f in QThreadPrivate::start (arg=0x7811980) at thread/qthread_unix.cpp:349
#9  0x00007f889231f182 in start_thread (arg=0x7f87cfc2f700) at pthread_create.c:312
#10 0x00007f8892fc2fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f87cee8f700 (LWP 23734)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8893823816 in wait (time=18446744073709551615, this=0x2038bf0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2038ac8, mutex=0x2038d70, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f888af79e6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2038aa0, th=0x7e32940) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f888af7c903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2038e00, th=0x7e32940, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f888af7c91c in ThreadWeaver::WorkingHardState::applyForWork (this=0x2038e00, th=0x7e32940, previous=0x70f9b30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f888af7b61f in ThreadWeaver::Thread::run (this=0x7e32940) at ../../../threadweaver/Weaver/Thread.cpp:98
#7  0x00007f889382332f in QThreadPrivate::start (arg=0x7e32940) at thread/qthread_unix.cpp:349
#8  0x00007f889231f182 in start_thread (arg=0x7f87cee8f700) at pthread_create.c:312
#9  0x00007f8892fc2fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f87ce68e700 (LWP 23735)):
[KCrash Handler]
#6  0x00007f8890516b3d in ?? () from /usr/lib/libkdevplatformlanguage.so.8
#7  0x00007f889054b396 in KDevelop::ParsingEnvironmentFile::imports() const () from /usr/lib/libkdevplatformlanguage.so.8
#8  0x00007f889054c002 in KDevelop::ParsingEnvironmentFile::featuresMatch(KDevelop::TopDUContext::Features, QSet<KDevelop::ParsingEnvironmentFile const*>&) const () from /usr/lib/libkdevplatformlanguage.so.8
#9  0x00007f889054c0c1 in KDevelop::ParsingEnvironmentFile::featuresMatch(KDevelop::TopDUContext::Features, QSet<KDevelop::ParsingEnvironmentFile const*>&) const () from /usr/lib/libkdevplatformlanguage.so.8
#10 0x00007f889054c0c1 in KDevelop::ParsingEnvironmentFile::featuresMatch(KDevelop::TopDUContext::Features, QSet<KDevelop::ParsingEnvironmentFile const*>&) const () from /usr/lib/libkdevplatformlanguage.so.8
#11 0x00007f889054c0c1 in KDevelop::ParsingEnvironmentFile::featuresMatch(KDevelop::TopDUContext::Features, QSet<KDevelop::ParsingEnvironmentFile const*>&) const () from /usr/lib/libkdevplatformlanguage.so.8
#12 0x00007f889054c0c1 in KDevelop::ParsingEnvironmentFile::featuresMatch(KDevelop::TopDUContext::Features, QSet<KDevelop::ParsingEnvironmentFile const*>&) const () from /usr/lib/libkdevplatformlanguage.so.8
#13 0x00007f889054c0c1 in KDevelop::ParsingEnvironmentFile::featuresMatch(KDevelop::TopDUContext::Features, QSet<KDevelop::ParsingEnvironmentFile const*>&) const () from /usr/lib/libkdevplatformlanguage.so.8
#14 0x00007f889054c51d in KDevelop::ParsingEnvironmentFile::featuresSatisfied(KDevelop::TopDUContext::Features) const () from /usr/lib/libkdevplatformlanguage.so.8
#15 0x00007f87d9b38a85 in PreprocessJob::sourceNeeded (this=0x7f87a53144d0, _fileName=..., type=<optimized out>, sourceLine=45, skipCurrentPath=<optimized out>) at ../../../languages/cpp/preprocessjob.cpp:517
#16 0x00007f87d9b3a6ae in non-virtual thunk to PreprocessJob::sourceNeeded(QString&, rpp::Preprocessor::IncludeType, int, bool) () at ../../../languages/cpp/preprocessjob.cpp:618
#17 0x00007f87d98dbb63 in rpp::pp::handle_include (this=<optimized out>, skip_current_path=false, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:219
#18 0x00007f87d98da49c in rpp::pp::handle_directive (this=0x7f87ce68afd0, directive=525069, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:137
#19 0x00007f87d98d9daf in rpp::pp::operator() (this=0x7f87ce68afd0, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:272
#20 0x00007f87d98d9924 in rpp::pp::processFileInternal (this=0x7f87ce68afd0, fileName=..., fileContents=..., result=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#21 0x00007f87d98d9a4a in rpp::pp::processFile (this=0x7f88908f5430, fileName=..., data=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#22 0x00007f87d9b346d0 in PreprocessJob::run (this=0x7f87a53144d0) at ../../../languages/cpp/preprocessjob.cpp:249
#23 0x00007f87d9b256f2 in CPPParseJob::parseForeground (this=0x7f87a53139f0) at ../../../languages/cpp/cppparsejob.cpp:179
#24 0x00007f87d9b38f45 in PreprocessJob::sourceNeeded (this=0x68176d0, _fileName=..., type=<optimized out>, sourceLine=66, skipCurrentPath=<optimized out>) at ../../../languages/cpp/preprocessjob.cpp:581
#25 0x00007f87d9b3a6ae in non-virtual thunk to PreprocessJob::sourceNeeded(QString&, rpp::Preprocessor::IncludeType, int, bool) () at ../../../languages/cpp/preprocessjob.cpp:618
#26 0x00007f87d98dbb63 in rpp::pp::handle_include (this=<optimized out>, skip_current_path=false, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:219
#27 0x00007f87d98da49c in rpp::pp::handle_directive (this=0x7f87ce68cbd0, directive=525069, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:137
#28 0x00007f87d98d9daf in rpp::pp::operator() (this=0x7f87ce68cbd0, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:272
#29 0x00007f87d98d9924 in rpp::pp::processFileInternal (this=0x7f87ce68cbd0, fileName=..., fileContents=..., result=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#30 0x00007f87d98d9a4a in rpp::pp::processFile (this=0x7f88908f5430, fileName=..., data=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#31 0x00007f87d9b346d0 in PreprocessJob::run (this=0x68176d0) at ../../../languages/cpp/preprocessjob.cpp:249
#32 0x00007f888af7bcb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f87ce68dd80, th=th@entry=0x7f87c4002ff0, job=job@entry=0x68176d0) at ../../../threadweaver/Weaver/Job.cpp:106
#33 0x00007f888af7be6e in ThreadWeaver::Job::execute (this=0x68176d0, th=0x7f87c4002ff0) at ../../../threadweaver/Weaver/Job.cpp:135
#34 0x00007f888af7d90b in ThreadWeaver::JobCollectionJobRunner::execute (this=0xa372150, t=0x7f87c4002ff0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#35 0x00007f888af7b6bb in ThreadWeaver::Thread::run (this=0x7f87c4002ff0) at ../../../threadweaver/Weaver/Thread.cpp:108
#36 0x00007f889382332f in QThreadPrivate::start (arg=0x7f87c4002ff0) at thread/qthread_unix.cpp:349
#37 0x00007f889231f182 in start_thread (arg=0x7f87ce68e700) at pthread_create.c:312
#38 0x00007f8892fc2fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f87cd2b1700 (LWP 23771)):
#0  0x00007f888d48761a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f888d487979 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f888d445699 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f888d445f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f888d4460ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f88939527be in QEventDispatcherGlib::processEvents (this=0x7f87bc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f88939240af in QEventLoop::processEvents (this=this@entry=0x7f87cd2b0da0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f88939243a5 in QEventLoop::exec (this=this@entry=0x7f87cd2b0da0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f8893820c5f in QThread::exec (this=this@entry=0x9d5e2d0) at thread/qthread.cpp:537
#9  0x00007f8893905823 in QInotifyFileSystemWatcherEngine::run (this=0x9d5e2d0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f889382332f in QThreadPrivate::start (arg=0x9d5e2d0) at thread/qthread_unix.cpp:349
#11 0x00007f889231f182 in start_thread (arg=0x7f87cd2b1700) at pthread_create.c:312
#12 0x00007f8892fc2fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f889698c800 (LWP 23616)):
#0  0x00007f8892fb436d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f888d486c10 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f888d445b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f888d445f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f888d4460ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f88939527a1 in QEventDispatcherGlib::processEvents (this=0x1429e50, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#6  0x00007f8893ef8bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#7  0x00007f88939240af in QEventLoop::processEvents (this=this@entry=0x7fff310a4a30, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f88939243a5 in QEventLoop::exec (this=this@entry=0x7fff310a4a30, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f8893929b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#10 0x000000000041a707 in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:564

Possible duplicates by query: bug 341099, bug 334487, bug 331521.

Report to https://bugs.kde.org/

Reproducible: Sometimes

Steps to Reproduce:
1. Doing nothing, application was sitting idle and the crash occurred.
Comment 1 OvermindDL1 2014-11-28 06:27:29 UTC
Does happen fairly often, twice tonight thus far.
Comment 2 Kevin Funk 2014-11-28 07:15:26 UTC

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