Bug 275686 - xml/sgml parser crash on unclosed element
Summary: xml/sgml parser crash on unclosed element
Status: RESOLVED FIXED
Alias: None
Product: quanta
Classification: Miscellaneous
Component: Language Support: XML/HTML (show other bugs)
Version: CVS HEAD
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-15 08:36 UTC by jay
Modified: 2011-06-18 00:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crashing xml (in kate-swap) (257 bytes, application/x-gzip)
2011-06-15 08:51 UTC, jay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jay 2011-06-15 08:36:52 UTC
Application: kdevelop (4.2.60)
KDE Platform Version: 4.6.2 (4.6.2) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-30-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
kdev* enviroment, yesterday compiled master.

While editing xml, parser crashes kdevelop in some "Unclosed element" situations.
Attaching simplest example with kate swap (recovering from this swap causes imediate crash.)

<xml>
  </


Tested on an open php project if it is relevant. Didn't test on a non project editing.





console output:
kdevelop(9612)/kdevplatform (language) KDevelop::BackgroundParserPrivate::parseDocumentsInternal: creating parse-job KUrl("file:///var/www/isrepo/mvc/trunk/www/config/datatype/test.xml") new count of active parse-jobs: 1
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::ParseJob:
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Parsing: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
kdevelop(9612)/kdevsgmllanguage Xml::ParseSession::parse: Successfully parsed
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Building: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Compiling: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
kdevelop(9612)/kdevplatform (usehighlight) ContextBrowserPlugin::parseJobFinished: adding view for update
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::~ParseJob:
kdevelop(9612)/kdevplatform (genericprojectmanager) KDevelop::AbstractFileManagerPlugin::Private::created: created: "/var/www/isrepo/mvc/trunk/www/config/datatype/.test.xml.kate-swp"
** ERROR: "Expected element name" 
** ERROR: "Unclosed element" 
kdevelop(9612)/kdevsgmllanguage Xml::ParseSession::parse: Successfully parsed
kdevelop(9612)/kdevsgmllanguage Xml::SgmlCodeCompletionModel::completionInvoked: # attribute ""
kdevelop(9612)/kdevsgmllanguage Xml::SgmlCodeCompletionModel::completionInvoked: # element ""
kdevelop(9612)/kdevsgmllanguage Xml::SgmlCodeCompletionModel::completionInvoked: # context ""
kdevelop(9612)/kdevplatform (language) KDevelop::BackgroundParserPrivate::parseDocumentsInternal: creating parse-job KUrl("file:///var/www/isrepo/mvc/trunk/www/config/datatype/test.xml") new count of active parse-jobs: 1
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::ParseJob:
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Parsing: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
** ERROR: "Expected element name" 
** ERROR: "Unclosed element" 
kdevelop(9612)/kdevsgmllanguage Xml::ParseSession::parse: Successfully parsed
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Building: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Re-compiling: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
kdevelop(9612)/kdevplatform (usehighlight) ContextBrowserPlugin::parseJobFinished: adding view for update
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::~ParseJob:
kdevelop(9612)/kdevplatform (language) KDevelop::BackgroundParserPrivate::parseDocumentsInternal: creating parse-job KUrl("file:///var/www/isrepo/mvc/trunk/www/config/datatype/test.xml") new count of active parse-jobs: 1
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::ParseJob:
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Parsing: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
** ERROR: "Unclosed element" 
kdevelop(9612)/kdevsgmllanguage Xml::ParseSession::parse: Successfully parsed
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Building: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Re-compiling: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
kdevelop(9612)/kdevplatform (usehighlight) ContextBrowserPlugin::parseJobFinished: adding view for update
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::~ParseJob:
0
<xml>

-1
>
kdevelop(9612)/kdevplatform (language) KDevelop::BackgroundParserPrivate::parseDocumentsInternal: creating parse-job KUrl("file:///var/www/isrepo/mvc/trunk/www/config/datatype/test.xml") new count of active parse-jobs: 1
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::ParseJob:
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Parsing: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
kdevelop(9612)/kdevsgmllanguage Xml::ParseSession::parse: Successfully parsed
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Building: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Re-compiling: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
kdevelop(9612)/kdevplatform (usehighlight) ContextBrowserPlugin::parseJobFinished: adding view for update
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::~ParseJob:
1

<xml>
0

                                                                                                                                                                                                                                             
2

<xml>
0

                                                                                                                                                                                                                                             
3

<xml>
0

                                                                                                                                                                                                                                             
kdevelop(9612)/kdevplatform (language) KDevelop::BackgroundParserPrivate::parseDocumentsInternal: creating parse-job KUrl("file:///var/www/isrepo/mvc/trunk/www/config/datatype/test.xml") new count of active parse-jobs: 1
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::ParseJob:
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Parsing: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
** ERROR: "Expected element name" 
** ERROR: "Unclosed element" 
kdevelop(9612)/kdevsgmllanguage Xml::ParseSession::parse: Successfully parsed
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Building: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Re-compiling: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
kdevelop(9612)/kdevplatform (usehighlight) ContextBrowserPlugin::parseJobFinished: adding view for update
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::~ParseJob:
3
  </
<xml>
0
/
kdevelop(9612)/kdevplatform (usehighlight) ContextBrowserPlugin::updateHistory: updating history
kdevelop(9612)/kdevplatform (usehighlight) ContextBrowserPlugin::updateDeclarationListBox: updated "xml"
kdevelop(9612)/kdevplatform (language) KDevelop::BackgroundParserPrivate::parseDocumentsInternal: creating parse-job KUrl("file:///var/www/isrepo/mvc/trunk/www/config/datatype/test.xml") new count of active parse-jobs: 1
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::ParseJob:
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Parsing: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
** ERROR: "Expected element name" 
** ERROR: "Unclosed element" 
kdevelop(9612)/kdevsgmllanguage Xml::ParseSession::parse: Successfully parsed
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Building: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
kdevelop(9612)/kdevsgmllanguage Xml::ParseJob::run: Re-compiling: "/var/www/isrepo/mvc/trunk/www/config/datatype/test.xml"
ASSERT: "node" in file /opt/kdev/kde4/quanta/languages/xml/language/duchain/parser/editorintegrator.cpp, line 56
kdevelop: Fatal IO error: client killed
DUContextData::m_childContexts There were items left on destruction: 2
ClassDeclarationData::baseClasses There were items left on destruction: 1
DUContextData::m_localDeclarations There were items left on destruction: 1
KCrash: Application 'kdevelop' crashing...

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7fb5dce72760 (LWP 9612))]

Thread 22 (Thread 0x7fb5c40a8700 (LWP 9613)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007fb5d8663da2 in wait (this=<value optimized out>, mutex=0x33c9a30, time=1000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x33c9a30, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5d4eb7188 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x33c9a10) at /opt/kdev/kde4/kdevplatform/language/duchain/duchain.cpp:286
#4  0x00007fb5d866327e in QThreadPrivate::start (arg=0x33c9a10) at thread/qthread_unix.cpp:266
#5  0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 21 (Thread 0x7fb5b6138700 (LWP 9621)):
#0  0x00007fb5d6c63203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb5d26ab009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fb5d26ab45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fb5d87831e6 in QEventDispatcherGlib::processEvents (this=0x3cf2600, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fb5d8755a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fb5d8755dec in QEventLoop::exec (this=0x7fb5b6137db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fb5d86602fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fb5d4feb21d in KDevelop::CompletionWorkerThread::run (this=0x3c903d0) at /opt/kdev/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:84
#8  0x00007fb5d866327e in QThreadPrivate::start (arg=0x3c903d0) at thread/qthread_unix.cpp:266
#9  0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 20 (Thread 0x7fb5ab309700 (LWP 9623)):
#0  0x00007fb5d26a5b02 in g_main_context_query () from /lib/libglib-2.0.so.0
#1  0x00007fb5d26aaefc in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fb5d26ab45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fb5d87831e6 in QEventDispatcherGlib::processEvents (this=0x3e3dfa0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fb5d8755a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fb5d8755dec in QEventLoop::exec (this=0x7fb5ab308db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fb5d86602fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fb5d87355f8 in QInotifyFileSystemWatcherEngine::run (this=0x3e3d5b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb5d866327e in QThreadPrivate::start (arg=0x3e3d5b0) at thread/qthread_unix.cpp:266
#9  0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 19 (Thread 0x7fb5aaab9700 (LWP 9624)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d5bdd334 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fb5d5ee8160) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fb5d5bdd369 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fb5d5ef6234) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7fb5a9860700 (LWP 9644)):
#0  0x00007fb5d6c63203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb5d26ab009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fb5d26ab45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fb5d87831e6 in QEventDispatcherGlib::processEvents (this=0x4d99f70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fb5d8755a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fb5d8755dec in QEventLoop::exec (this=0x7fb5a985fdb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fb5d86602fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fb5d87355f8 in QInotifyFileSystemWatcherEngine::run (this=0x4d96700) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb5d866327e in QThreadPrivate::start (arg=0x4d96700) at thread/qthread_unix.cpp:266
#9  0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7fb5a86d2700 (LWP 9712)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d114020e in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fb5d1140329 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7fb5a6bf5700 (LWP 9837)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d8663e3b in wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5db249d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x24c5c70, th=0x5f4ce00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb5db24cf6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4ce00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4ce00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4ce00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4ce00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4ce00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4ce00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4ce00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007fb5db24b4df in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5a6bf4e00, parent=0x24c5c70, th=0x5f4ce00) at ../../../threadweaver/Weaver/Thread.cpp:87
#12 0x00007fb5db24ba38 in ThreadWeaver::Thread::run (this=0x5f4ce00) at ../../../threadweaver/Weaver/Thread.cpp:142
#13 0x00007fb5d866327e in QThreadPrivate::start (arg=0x5f4ce00) at thread/qthread_unix.cpp:266
#14 0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#15 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7fb5a63f4700 (LWP 9838)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d8663e3b in wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5db249d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x24c5c70, th=0x5f4b820) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb5db24cf6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4b820) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4b820) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4b820) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4b820) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4b820) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4b820) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4b820) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007fb5db24b4df in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5a63f3e00, parent=0x24c5c70, th=0x5f4b820) at ../../../threadweaver/Weaver/Thread.cpp:87
#12 0x00007fb5db24ba38 in ThreadWeaver::Thread::run (this=0x5f4b820) at ../../../threadweaver/Weaver/Thread.cpp:142
#13 0x00007fb5d866327e in QThreadPrivate::start (arg=0x5f4b820) at thread/qthread_unix.cpp:266
#14 0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#15 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fb5a5bf3700 (LWP 9839)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d8663e3b in wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5db249d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x24c5c70, th=0x5f4ac00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb5db24cf6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4ac00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4ac00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5f4ac00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb5db24b4df in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5a5bf2e00, parent=0x24c5c70, th=0x5f4ac00) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fb5db24ba38 in ThreadWeaver::Thread::run (this=0x5f4ac00) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fb5d866327e in QThreadPrivate::start (arg=0x5f4ac00) at thread/qthread_unix.cpp:266
#10 0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fb5a53f2700 (LWP 9840)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d8663e3b in wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5db249d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x24c5c70, th=0x5eecfa0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb5db24cf6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5eecfa0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5eecfa0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5eecfa0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5eecfa0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5eecfa0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5eecfa0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5eecfa0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007fb5db24b4df in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5a53f1e00, parent=0x24c5c70, th=0x5eecfa0) at ../../../threadweaver/Weaver/Thread.cpp:87
#12 0x00007fb5db24ba38 in ThreadWeaver::Thread::run (this=0x5eecfa0) at ../../../threadweaver/Weaver/Thread.cpp:142
#13 0x00007fb5d866327e in QThreadPrivate::start (arg=0x5eecfa0) at thread/qthread_unix.cpp:266
#14 0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#15 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fb5a4bf1700 (LWP 9841)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d8663e3b in wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5db249d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x24c5c70, th=0x5eee5e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb5db24cf6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5eee5e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5eee5e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5eee5e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5eee5e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fb5db24b4df in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5a4bf0e00, parent=0x24c5c70, th=0x5eee5e0) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007fb5db24ba38 in ThreadWeaver::Thread::run (this=0x5eee5e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007fb5d866327e in QThreadPrivate::start (arg=0x5eee5e0) at thread/qthread_unix.cpp:266
#11 0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#12 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fb5a43f0700 (LWP 9842)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d8663e3b in wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5db249d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x24c5c70, th=0x7fb5bc04f520) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb5db24cf6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x7fb5bc04f520) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x7fb5bc04f520) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x7fb5bc04f520) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x7fb5bc04f520) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x7fb5bc04f520) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007fb5db24b4df in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5a43efe00, parent=0x24c5c70, th=0x7fb5bc04f520) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x00007fb5db24ba38 in ThreadWeaver::Thread::run (this=0x7fb5bc04f520) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x00007fb5d866327e in QThreadPrivate::start (arg=0x7fb5bc04f520) at thread/qthread_unix.cpp:266
#12 0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#13 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fb5a3bef700 (LWP 9843)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d8663e3b in wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5db249d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x24c5c70, th=0x5e58a20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb5db24cf6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5e58a20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5e58a20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5e58a20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5e58a20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5e58a20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5e58a20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007fb5db24b4df in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5a3beee00, parent=0x24c5c70, th=0x5e58a20) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x00007fb5db24ba38 in ThreadWeaver::Thread::run (this=0x5e58a20) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00007fb5d866327e in QThreadPrivate::start (arg=0x5e58a20) at thread/qthread_unix.cpp:266
#13 0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#14 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fb5a33ee700 (LWP 9844)):
[KCrash Handler]
#6  0x00007fb5d6bbcba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fb5d6bc06b0 in abort () at abort.c:92
#8  0x00007fb5d865a864 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2259
#9  0x00007fb5d865aa42 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fb5d87bd0c8 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fb5a33eccd0) at global/qglobal.cpp:2305
#10 0x00007fb5d865abf5 in qFatal (msg=0x2674 <Address 0x2674 out of bounds>) at global/qglobal.cpp:2488
#11 0x00007fb5b92d3992 in Xml::EditorIntegrator::findRange (this=0x7fb5a33ed7c0, node=0x0, edge=Xml::EditorIntegrator::OuterEdge) at /opt/kdev/kde4/quanta/languages/xml/language/duchain/parser/editorintegrator.cpp:56
#12 0x00007fb5b92a1516 in Xml::ContextBuilder::nodeRange (this=0x7fb5a33ed5f0, node=0x0) at /opt/kdev/kde4/quanta/languages/xml/language/duchain/contextbuilder.cpp:255
#13 0x00007fb5b929579d in Xml::DeclarationBuilder::visitElementCloseTag (this=0x7fb5a33ed5f0, node=0x7fb59dc543a0) at /opt/kdev/kde4/quanta/languages/xml/language/duchain/declarationbuilder.cpp:413
#14 0x00007fb5b92c526a in Xml::Visitor::visitNode (this=0x7fb5a33ed650, node=0x7fb59dc543a0) at /opt/kdev/.build/kde4/quanta/languages/xml/language/duchain/sgmlvisitor.cpp:73
#15 0x00007fb5b92c61b6 in Xml::DefaultVisitor::visitElement (this=0x7fb5a33ed650, node=0x7fb59e198440) at /opt/kdev/.build/kde4/quanta/languages/xml/language/duchain/sgmldefaultvisitor.cpp:229
#16 0x00007fb5b92c5220 in Xml::Visitor::visitNode (this=0x7fb5a33ed650, node=0x7fb59e198440) at /opt/kdev/.build/kde4/quanta/languages/xml/language/duchain/sgmlvisitor.cpp:67
#17 0x00007fb5b92c6377 in Xml::DefaultVisitor::visitElementTag (this=0x7fb5a33ed650, node=0x7fb59e1983b0) at /opt/kdev/.build/kde4/quanta/languages/xml/language/duchain/sgmldefaultvisitor.cpp:281
#18 0x00007fb5b92a07fa in Xml::ContextBuilder::visitElementTag (this=0x7fb5a33ed5f0, node=0x7fb59e1983b0) at /opt/kdev/kde4/quanta/languages/xml/language/duchain/contextbuilder.cpp:159
#19 0x00007fb5b9295539 in Xml::DeclarationBuilder::visitElementTag (this=0x7fb5a33ed5f0, node=0x7fb59e1983b0) at /opt/kdev/kde4/quanta/languages/xml/language/duchain/declarationbuilder.cpp:392
#20 0x00007fb5b92c5348 in Xml::Visitor::visitNode (this=0x7fb5a33ed650, node=0x7fb59e1983b0) at /opt/kdev/.build/kde4/quanta/languages/xml/language/duchain/sgmlvisitor.cpp:91
#21 0x00007fb5b92c61b6 in Xml::DefaultVisitor::visitElement (this=0x7fb5a33ed650, node=0x7fb59e198390) at /opt/kdev/.build/kde4/quanta/languages/xml/language/duchain/sgmldefaultvisitor.cpp:229
#22 0x00007fb5b92c5220 in Xml::Visitor::visitNode (this=0x7fb5a33ed650, node=0x7fb59e198390) at /opt/kdev/.build/kde4/quanta/languages/xml/language/duchain/sgmlvisitor.cpp:67
#23 0x00007fb5b92c6437 in Xml::DefaultVisitor::visitStart (this=0x7fb5a33ed650, node=0x7fb59e198370) at /opt/kdev/.build/kde4/quanta/languages/xml/language/duchain/sgmldefaultvisitor.cpp:315
#24 0x00007fb5b92c5423 in Xml::Visitor::visitNode (this=0x7fb5a33ed650, node=0x7fb59e198370) at /opt/kdev/.build/kde4/quanta/languages/xml/language/duchain/sgmlvisitor.cpp:109
#25 0x00007fb5b929fdd9 in Xml::ContextBuilder::startVisiting (this=0x7fb5a33ed5f0, node=0x7fb59e198370) at /opt/kdev/kde4/quanta/languages/xml/language/duchain/contextbuilder.cpp:103
#26 0x00007fb5b929f803 in KDevelop::AbstractContextBuilder<Xml::AstNode, Xml::IdentifierAst>::supportBuild (this=0x7fb5a33ed5f0, node=0x7fb59e198370, context=0x7fb59db7e060) at /opt/kdev/compiled/kde4/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:133
#27 0x00007fb5b92a299f in KDevelop::AbstractContextBuilder<Xml::AstNode, Xml::IdentifierAst>::build (this=0x7fb5a33ed5f0, url=..., node=0x7fb59e198370, updateContext=...) at /opt/kdev/compiled/kde4/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:113
#28 0x00007fb5b929fb8e in Xml::ContextBuilder::build (this=0x7fb5a33ed5f0, url=..., node=0x7fb59e198370, updateContext=...) at /opt/kdev/kde4/quanta/languages/xml/language/duchain/contextbuilder.cpp:63
#29 0x00007fb5a9ab3082 in Xml::ParseJob::run (this=0x5f74840) at /opt/kdev/kde4/quanta/languages/xml/language/parsejob.cpp:160
#30 0x00007fb5db24c1c1 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fb5a33edd70, th=0x60c2370, job=0x5f74840) at ../../../threadweaver/Weaver/Job.cpp:106
#31 0x00007fb5db24c4be in ThreadWeaver::Job::execute (this=0x5f74840, th=0x60c2370) at ../../../threadweaver/Weaver/Job.cpp:135
#32 0x00007fb5db24b4af in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5a33ede00, parent=0x24c5c70, th=0x60c2370) at ../../../threadweaver/Weaver/Thread.cpp:95
#33 0x00007fb5db24ba38 in ThreadWeaver::Thread::run (this=0x60c2370) at ../../../threadweaver/Weaver/Thread.cpp:142
#34 0x00007fb5d866327e in QThreadPrivate::start (arg=0x60c2370) at thread/qthread_unix.cpp:266
#35 0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#36 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#37 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fb5a2bed700 (LWP 9845)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d8663e3b in wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5db249d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x24c5c70, th=0x60bc450) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb5db24cf6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x60bc450) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x60bc450) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x60bc450) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x60bc450) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x60bc450) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x60bc450) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x60bc450) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007fb5db24b4df in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5a2bece00, parent=0x24c5c70, th=0x60bc450) at ../../../threadweaver/Weaver/Thread.cpp:87
#12 0x00007fb5db24ba38 in ThreadWeaver::Thread::run (this=0x60bc450) at ../../../threadweaver/Weaver/Thread.cpp:142
#13 0x00007fb5d866327e in QThreadPrivate::start (arg=0x60bc450) at thread/qthread_unix.cpp:266
#14 0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#15 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fb5a23ec700 (LWP 9846)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d8663e3b in wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5db249d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x24c5c70, th=0x7fb5bc01f6f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb5db24cf6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x7fb5bc01f6f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x7fb5bc01f6f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb5db24b4df in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5a23ebe00, parent=0x24c5c70, th=0x7fb5bc01f6f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fb5db24ba38 in ThreadWeaver::Thread::run (this=0x7fb5bc01f6f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fb5d866327e in QThreadPrivate::start (arg=0x7fb5bc01f6f0) at thread/qthread_unix.cpp:266
#9  0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fb5a0806700 (LWP 9847)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d8663e3b in wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23a62d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5db249d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x24c5c70, th=0x5e5eb60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb5db24cf6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5e5eb60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5e5eb60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5e5eb60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5e5eb60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5e5eb60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5e5eb60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x234f780, th=0x5e5eb60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007fb5db24b4df in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5a0805e00, parent=0x24c5c70, th=0x5e5eb60) at ../../../threadweaver/Weaver/Thread.cpp:87
#12 0x00007fb5db24ba38 in ThreadWeaver::Thread::run (this=0x5e5eb60) at ../../../threadweaver/Weaver/Thread.cpp:142
#13 0x00007fb5d866327e in QThreadPrivate::start (arg=0x5e5eb60) at thread/qthread_unix.cpp:266
#14 0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#15 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fb5a1beb700 (LWP 22384)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d8663e3b in wait (this=<value optimized out>, mutex=0x5ef4620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x5ef4620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5db249d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x5fe12f0, th=0x5e45850) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb5db24cf6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x46cfa70, th=0x5e45850) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x46cfa70, th=0x5e45850) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x46cfa70, th=0x5e45850) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb5db24b4df in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5a1beae00, parent=0x5fe12f0, th=0x5e45850) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fb5db24ba38 in ThreadWeaver::Thread::run (this=0x5e45850) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fb5d866327e in QThreadPrivate::start (arg=0x5e45850) at thread/qthread_unix.cpp:266
#10 0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb5a13ea700 (LWP 22385)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d8663e3b in wait (this=<value optimized out>, mutex=0x5ef4620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x5ef4620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5db249d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x5fe12f0, th=0x6005d40) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb5db24cf6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x46cfa70, th=0x6005d40) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb5db24b4df in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5a13e9e00, parent=0x5fe12f0, th=0x6005d40) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fb5db24ba38 in ThreadWeaver::Thread::run (this=0x6005d40) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fb5d866327e in QThreadPrivate::start (arg=0x6005d40) at thread/qthread_unix.cpp:266
#8  0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb59bfff700 (LWP 22387)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d8663e3b in wait (this=<value optimized out>, mutex=0x5ef4620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x5ef4620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5db249d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x5fe12f0, th=0x4811850) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb5db24cf6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x46cfa70, th=0x4811850) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x46cfa70, th=0x4811850) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb5db24b4df in ThreadWeaver::ThreadRunHelper::run (this=0x7fb59bffee00, parent=0x5fe12f0, th=0x4811850) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fb5db24ba38 in ThreadWeaver::Thread::run (this=0x4811850) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fb5d866327e in QThreadPrivate::start (arg=0x4811850) at thread/qthread_unix.cpp:266
#9  0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb59b7fe700 (LWP 22388)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d8663e3b in wait (this=<value optimized out>, mutex=0x5ef4620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x5ef4620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5db249d64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x5fe12f0, th=0x4ae2470) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb5db24cf6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x46cfa70, th=0x4ae2470) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x46cfa70, th=0x4ae2470) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb5db24cf84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x46cfa70, th=0x4ae2470) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb5db24b4df in ThreadWeaver::ThreadRunHelper::run (this=0x7fb59b7fde00, parent=0x5fe12f0, th=0x4ae2470) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fb5db24ba38 in ThreadWeaver::Thread::run (this=0x4ae2470) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fb5d866327e in QThreadPrivate::start (arg=0x4ae2470) at thread/qthread_unix.cpp:266
#10 0x00007fb5d6328971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007fb5d6c6f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb5dce72760 (LWP 9612)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5d8663e3b in wait (this=<value optimized out>, mutex=0x4d99b00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x4d99b00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5d8662edc in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:652
#4  0x00007fb5d8727ee0 in QFileSystemWatcher::~QFileSystemWatcher (this=0x4d99950, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:440
#5  0x00007fb5d8768d5f in QObjectPrivate::deleteChildren (this=0x4d998b0) at kernel/qobject.cpp:1957
#6  0x00007fb5d877041b in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#7  0x00007fb5d43ff8f6 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x4d96650, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:51
#8  0x00007fb5d6bc24f2 in __run_exit_handlers (status=1) at exit.c:78
#9  exit (status=1) at exit.c:100
#10 0x00007fb5d7b35678 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:745
#11 0x00007fb5d8f64b88 in KApplication::xioErrhandler (this=0x7fff462c2580, dpy=0x205c050) at ../../kdeui/kernel/kapplication.cpp:419
#12 0x00007fb5d467b86e in _XIOError () from /usr/lib/libX11.so.6
#13 0x00007fb5d4683415 in ?? () from /usr/lib/libX11.so.6
#14 0x00007fb5d4683d07 in _XEventsQueued () from /usr/lib/libX11.so.6
#15 0x00007fb5d466c47f in XEventsQueued () from /usr/lib/libX11.so.6
#16 0x00007fb5d7b70c77 in x11EventSourcePrepare (s=0x20593c0, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:79
#17 0x00007fb5d26aaa11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#18 0x00007fb5d26aae78 in ?? () from /lib/libglib-2.0.so.0
#19 0x00007fb5d26ab45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#20 0x00007fb5d87831e6 in QEventDispatcherGlib::processEvents (this=0x202aea0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#21 0x00007fb5d7b70a4e in QGuiEventDispatcherGlib::processEvents (this=0x4d974ac, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007fb5d8755a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#23 0x00007fb5d8755dec in QEventLoop::exec (this=0x7fff462c22a0, flags=) at kernel/qeventloop.cpp:201
#24 0x00007fb5d8759ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#25 0x000000000040b469 in main (argc=1, argv=0x7fff462c4258) at /opt/kdev/kde4/kdevelop/app/main.cpp:474

Reported using DrKonqi
Comment 1 jay 2011-06-15 08:51:38 UTC
Created attachment 61007 [details]
crashing xml (in kate-swap)

.test.xml.kate-swp , test.xml
recovering file from this swap causes kdevelop to crash.
Comment 2 Niko Sams 2011-06-15 09:21:08 UTC
this crash is in xml/html language support from quanta. We don't consider it as stable, and unfortunately noone is working on it atm.
Comment 3 jay 2011-06-15 14:33:38 UTC
easy workaround (disable):
/kde4/share/kde4/services/kdevsgmlsupport.desktop

change mimetype to something nonexistent.
Comment 4 Milian Wolff 2011-06-18 00:12:02 UTC
Git commit e7720db1b07f0744a04108bf4c1aef773e902df9 by Milian Wolff.
Committed on 18/06/2011 at 00:12.
Pushed by mwolff into branch 'master'.

don't crash on invalid doc (incomplete close tag)

BUG: 275686

M  +7    -1    languages/xml/language/duchain/declarationbuilder.cpp     
M  +19   -0    languages/xml/language/duchain/tests/duchain.cpp     
M  +2    -0    languages/xml/language/duchain/tests/duchain.h     

http://commits.kde.org/quanta/e7720db1b07f0744a04108bf4c1aef773e902df9