<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>302760</bug_id>
          
          <creation_ts>2012-06-29 18:19:46 +0000</creation_ts>
          <short_desc>KDevelop crashes on startup when recovering document</short_desc>
          <delta_ts>2012-07-06 15:41:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kdevelop</product>
          <component>general</component>
          <version>4.3.1</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>265426</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>4.3.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matthew Woehlke">mwoehlke.floss</reporter>
          <assigned_to>kdevelop-bugs-null</assigned_to>
          <cc>adaptee</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1271049</commentid>
    <comment_count>0</comment_count>
    <who name="Matthew Woehlke">mwoehlke.floss</who>
    <bug_when>2012-06-29 18:19:46 +0000</bug_when>
    <thetext>Application: kdevelop (4.3.1)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.2
Operating System: Linux 3.4.3-1.fc17.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Started KDevelop, attempted to recover changes made from previous crash.

I seem to have gotten KDevelop into a situation where I can reliably reproduce this crash. Unfortunately, the relevant files are not something I am at liberty to share AFAIK. However, I may be able to help with diagnostics if someone can work with me...

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f4829a8e880 (LWP 15064))]

Thread 8 (Thread 0x7f48144ae700 (LWP 15065)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:218
#1  0x000000389887ba47 in wait (time=1000, this=0x1cdcf40) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=&lt;optimized out&gt;, mutex=0x1d08210, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003ba08b1c3b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1d081f0) at /usr/src/debug/kdevplatform-1.3.1/language/duchain/duchain.cpp:282
#4  0x000000389887b5eb in QThreadPrivate::start (arg=0x1d081f0) at thread/qthread_unix.cpp:307
#5  0x00000030ff607d14 in start_thread (arg=0x7f48144ae700) at pthread_create.c:309
#6  0x00000030feaf199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7f47fe379700 (LWP 15083)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00000038a5f84ac7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x38a62919a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00000038a5f84af9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=&lt;optimized out&gt;) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00000030ff607d14 in start_thread (arg=0x7f47fe379700) at pthread_create.c:309
#4  0x00000030feaf199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7f47fcb35700 (LWP 15084)):
#0  0x00000030ffa04102 in __GI_clock_gettime (clock_id=1, tp=0x7f47fcb34aa0) at ../sysdeps/unix/clock_gettime.c:116
#1  0x00000038988d14a4 in do_gettime (frac=0x7f47fcb34a88, sec=0x7f47fcb34a80) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00000038989a4d0d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f47f8002860) at kernel/qeventdispatcher_unix.cpp:343
#4  0x00000038989a5053 in QTimerInfoList::timerWait (this=0x7f47f8002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x00000038989a3bcc in timerSourcePrepareHelper (src=&lt;optimized out&gt;, timeout=0x7f47fcb34b7c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00000038989a3c75 in timerSourcePrepare (source=&lt;optimized out&gt;, timeout=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0000003bfc8471ef in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#8  0x0000003bfc8478db in ?? () from /lib64/libglib-2.0.so.0
#9  0x0000003bfc847ad4 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#10 0x00000038989a4506 in QEventDispatcherGlib::processEvents (this=0x7f47f80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x000000389897513f in QEventLoop::processEvents (this=this@entry=0x7f47fcb34d20, flags=...) at kernel/qeventloop.cpp:149
#12 0x00000038989753c8 in QEventLoop::exec (this=0x7f47fcb34d20, flags=...) at kernel/qeventloop.cpp:204
#13 0x0000003898878650 in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:501
#14 0x000000389887b5eb in QThreadPrivate::start (arg=0x4279ce0) at thread/qthread_unix.cpp:307
#15 0x00000030ff607d14 in start_thread (arg=0x7f47fcb35700) at pthread_create.c:309
#16 0x00000030feaf199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f47f7fff700 (LWP 15085)):
#0  0x00000030feae8eef in __GI___poll (fds=&lt;optimized out&gt;, nfds=&lt;optimized out&gt;, timeout=&lt;optimized out&gt;) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003bfc8479b4 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003bfc847ad4 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000038989a4506 in QEventDispatcherGlib::processEvents (this=0x7f47f00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x000000389897513f in QEventLoop::processEvents (this=this@entry=0x7f47f7ffed20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000038989753c8 in QEventLoop::exec (this=0x7f47f7ffed20, flags=...) at kernel/qeventloop.cpp:204
#6  0x0000003898878650 in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:501
#7  0x000000389887b5eb in QThreadPrivate::start (arg=0x4279160) at thread/qthread_unix.cpp:307
#8  0x00000030ff607d14 in start_thread (arg=0x7f47f7fff700) at pthread_create.c:309
#9  0x00000030feaf199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f47effff700 (LWP 15100)):
#0  0x00000030feae8eef in __GI___poll (fds=&lt;optimized out&gt;, nfds=&lt;optimized out&gt;, timeout=&lt;optimized out&gt;) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003bfc8479b4 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003bfc847ad4 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000038989a4506 in QEventDispatcherGlib::processEvents (this=0x7f47e80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x000000389897513f in QEventLoop::processEvents (this=this@entry=0x7f47efffecf0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000038989753c8 in QEventLoop::exec (this=0x7f47efffecf0, flags=...) at kernel/qeventloop.cpp:204
#6  0x0000003898878650 in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:501
#7  0x0000003898955b4f in QInotifyFileSystemWatcherEngine::run (this=0x685b8e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x000000389887b5eb in QThreadPrivate::start (arg=0x685b8e0) at thread/qthread_unix.cpp:307
#9  0x00000030ff607d14 in start_thread (arg=0x7f47effff700) at pthread_create.c:309
#10 0x00000030feaf199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f47ee3e7700 (LWP 15272)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x0000003ba361677d in ?? () from /lib64/libQtWebKit.so.4
#2  0x0000003ba3616889 in ?? () from /lib64/libQtWebKit.so.4
#3  0x00000030ff607d14 in start_thread (arg=0x7f47ee3e7700) at pthread_create.c:309
#4  0x00000030feaf199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f47eebe8700 (LWP 15275)):
#0  0x00000030feae8eef in __GI___poll (fds=&lt;optimized out&gt;, nfds=&lt;optimized out&gt;, timeout=&lt;optimized out&gt;) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003bfc8479b4 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003bfc847ad4 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000038989a4506 in QEventDispatcherGlib::processEvents (this=0x7f47d8454320, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x000000389897513f in QEventLoop::processEvents (this=this@entry=0x7f47eebe7d20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000038989753c8 in QEventLoop::exec (this=0x7f47eebe7d20, flags=...) at kernel/qeventloop.cpp:204
#6  0x0000003898878650 in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:501
#7  0x000000389887b5eb in QThreadPrivate::start (arg=0x6ae89f0) at thread/qthread_unix.cpp:307
#8  0x00000030ff607d14 in start_thread (arg=0x7f47eebe8700) at pthread_create.c:309
#9  0x00000030feaf199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f4829a8e880 (LWP 15064)):
[KCrash Handler]
#6  0x00007f481c4ac8eb in Kate::TextBuffer::rangesForLine (this=&lt;optimized out&gt;, line=61, view=0x669f900, rangesWithAttributeOnly=true) at /usr/src/debug/kate-4.8.3/part/buffer/katetextbuffer.cpp:820
#7  0x00007f481c53c061 in KateRenderer::decorationsForLine (this=this@entry=0x669fe00, textLine=..., line=61, selectionsOnly=selectionsOnly@entry=false, completionHighlight=completionHighlight@entry=0x0, completionSelected=completionSelected@entry=false) at /usr/src/debug/kate-4.8.3/part/render/katerenderer.cpp:330
#8  0x00007f481c53d3f9 in KateRenderer::layoutLine (this=0x669fe00, lineLayout=..., maxwidth=1346, cacheLayout=&lt;optimized out&gt;) at /usr/src/debug/kate-4.8.3/part/render/katerenderer.cpp:883
#9  0x00007f481c541990 in KateLayoutCache::line (this=this@entry=0x66a0410, realLine=realLine@entry=61, virtualLine=virtualLine@entry=61) at /usr/src/debug/kate-4.8.3/part/render/katelayoutcache.cpp:299
#10 0x00007f481c54298c in KateLayoutCache::updateViewCache (this=0x66a0410, startPos=..., newViewLineCount=&lt;optimized out&gt;, viewLinesScrolled=&lt;optimized out&gt;) at /usr/src/debug/kate-4.8.3/part/render/katelayoutcache.cpp:270
#11 0x00007f481c58b929 in KateViewInternal::tagLines (this=this@entry=0x669ff80, start=..., end=..., realCursors=realCursors@entry=true) at /usr/src/debug/kate-4.8.3/part/view/kateviewinternal.cpp:1978
#12 0x00007f481c58bd8d in KateViewInternal::tagLines (this=0x669ff80, start=56, end=&lt;optimized out&gt;, realLines=true) at /usr/src/debug/kate-4.8.3/part/view/kateviewinternal.cpp:1948
#13 0x00007f481c4ffaa2 in KateDocument::tagLines (this=&lt;optimized out&gt;, start=56, end=125) at /usr/src/debug/kate-4.8.3/part/document/katedocument.cpp:3615
#14 0x00007f481c50c156 in qt_static_metacall (_a=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _o=&lt;optimized out&gt;, _c=&lt;optimized out&gt;) at /usr/src/debug/kate-4.8.3/x86_64-redhat-linux-gnu/part/katedocument.moc:280
#15 KateDocument::qt_static_metacall (_o=0x6ec7860, _c=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _a=0x7fff9842afa0) at /usr/src/debug/kate-4.8.3/x86_64-redhat-linux-gnu/part/katedocument.moc:204
#16 0x000000389898cb9f in QMetaObject::activate (sender=0x6edb160, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fff9842afa0) at kernel/qobject.cpp:3547
#17 0x00007f481c5169af in KateBuffer::tagLines (this=this@entry=0x6edb160, _t1=_t1@entry=56, _t2=_t2@entry=125) at /usr/src/debug/kate-4.8.3/x86_64-redhat-linux-gnu/part/katebuffer.moc:111
#18 0x00007f481c517da7 in KateBuffer::doHighlight (this=&lt;optimized out&gt;, startLine=56, endLine=61, invalidate=true) at /usr/src/debug/kate-4.8.3/part/document/katebuffer.cpp:736
#19 0x00007f481c500d1c in editEnd (this=0x6ec7860) at /usr/src/debug/kate-4.8.3/part/document/katedocument.cpp:854
#20 KateDocument::editEnd (this=0x6ec7860) at /usr/src/debug/kate-4.8.3/part/document/katedocument.cpp:835
#21 0x00007f481c620f54 in Kate::SwapFile::recover (this=this@entry=0x75ccf70, stream=...) at /usr/src/debug/kate-4.8.3/part/swapfile/kateswapfile.cpp:212
#22 0x00007f481c6213c5 in Kate::SwapFile::recover (this=0x75ccf70) at /usr/src/debug/kate-4.8.3/part/swapfile/kateswapfile.cpp:170
#23 0x0000003ba4aab48f in KDevelop::SessionControllerPrivate::performRecovery (this=this@entry=0x8c6f30) at /usr/src/debug/kdevplatform-1.3.1/shell/sessioncontroller.cpp:422
#24 0x0000003ba4aa9335 in lateInitialization (this=0x8c6f30) at /usr/src/debug/kdevplatform-1.3.1/shell/sessioncontroller.cpp:325
#25 KDevelop::SessionControllerPrivate::qt_static_metacall (_o=0x8c6f30, _c=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _a=&lt;optimized out&gt;) at /usr/src/debug/kdevplatform-1.3.1/x86_64-redhat-linux-gnu/shell/sessioncontroller.moc:55
#26 0x000000389898acee in QObject::event (this=0x8c6f30, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1195
#27 0x000000389a1ca37c in QApplicationPrivate::notify_helper (this=this@entry=0x707e70, receiver=receiver@entry=0x8c6f30, e=e@entry=0x6ac61e0) at kernel/qapplication.cpp:4551
#28 0x000000389a1ce7fa in QApplication::notify (this=0x7fff9842d320, receiver=0x8c6f30, e=0x6ac61e0) at kernel/qapplication.cpp:4412
#29 0x0000003b9d845a56 in KApplication::notify (this=0x7fff9842d320, receiver=0x8c6f30, event=0x6ac61e0) at /usr/src/debug/kdelibs-4.8.3/kdeui/kernel/kapplication.cpp:311
#30 0x00000038989763ee in QCoreApplication::notifyInternal (this=0x7fff9842d320, receiver=receiver@entry=0x8c6f30, event=event@entry=0x6ac61e0) at kernel/qcoreapplication.cpp:915
#31 0x0000003898979ea1 in sendEvent (event=0x6ac61e0, receiver=0x8c6f30) at kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6cd5a0) at kernel/qcoreapplication.cpp:1539
#33 0x00000038989a4353 in sendPostedEvents () at kernel/qcoreapplication.h:236
#34 postEventSourceDispatch (s=0x6fc0d0) at kernel/qeventdispatcher_glib.cpp:279
#35 0x0000003bfc8476e5 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#36 0x0000003bfc847a18 in ?? () from /lib64/libglib-2.0.so.0
#37 0x0000003bfc847ad4 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#38 0x00000038989a44e6 in QEventDispatcherGlib::processEvents (this=0x6ff7a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#39 0x000000389a26a2ee in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#40 0x000000389897513f in QEventLoop::processEvents (this=this@entry=0x7fff9842be40, flags=...) at kernel/qeventloop.cpp:149
#41 0x00000038989753c8 in QEventLoop::exec (this=0x7fff9842be40, flags=...) at kernel/qeventloop.cpp:204
#42 0x0000003b9cd33463 in KJob::exec (this=0x6b0f740) at /usr/src/debug/kdelibs-4.8.3/kdecore/jobs/kjob.cpp:210
#43 0x0000003ba4a83795 in KDevelop::ProjectPrivate::initProjectFiles (this=0x6b7d590) at /usr/src/debug/kdevplatform-1.3.1/shell/project.cpp:272
#44 0x0000003ba4a8217c in KDevelop::Project::open (this=0x6b33850, projectFileUrl_=...) at /usr/src/debug/kdevplatform-1.3.1/shell/project.cpp:510
#45 0x0000003ba4a7e0dd in KDevelop::ProjectControllerPrivate::importProject (this=0xd4de20, url_=...) at /usr/src/debug/kdevplatform-1.3.1/shell/projectcontroller.cpp:270
#46 0x0000003ba4a7c161 in KDevelop::ProjectController::openProject (this=0xc627c0, projectFile=...) at /usr/src/debug/kdevplatform-1.3.1/shell/projectcontroller.cpp:683
#47 0x0000003ba4a7a336 in KDevelop::ProjectController::openProjects (this=0xc627c0, projects=...) at /usr/src/debug/kdevplatform-1.3.1/shell/projectcontroller.cpp:547
#48 0x0000003ba4a7bc19 in qt_static_metacall (_a=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _o=&lt;optimized out&gt;, _c=&lt;optimized out&gt;) at /usr/src/debug/kdevplatform-1.3.1/x86_64-redhat-linux-gnu/shell/projectcontroller.moc:173
#49 KDevelop::ProjectController::qt_static_metacall (_o=0xc627c0, _c=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _a=&lt;optimized out&gt;) at /usr/src/debug/kdevplatform-1.3.1/x86_64-redhat-linux-gnu/shell/projectcontroller.moc:157
#50 0x000000389898acee in QObject::event (this=0xc627c0, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1195
#51 0x000000389a1ca37c in QApplicationPrivate::notify_helper (this=this@entry=0x707e70, receiver=receiver@entry=0xc627c0, e=e@entry=0x1d07560) at kernel/qapplication.cpp:4551
#52 0x000000389a1ce7fa in QApplication::notify (this=0x7fff9842d320, receiver=0xc627c0, e=0x1d07560) at kernel/qapplication.cpp:4412
#53 0x0000003b9d845a56 in KApplication::notify (this=0x7fff9842d320, receiver=0xc627c0, event=0x1d07560) at /usr/src/debug/kdelibs-4.8.3/kdeui/kernel/kapplication.cpp:311
#54 0x00000038989763ee in QCoreApplication::notifyInternal (this=0x7fff9842d320, receiver=receiver@entry=0xc627c0, event=event@entry=0x1d07560) at kernel/qcoreapplication.cpp:915
#55 0x0000003898979ea1 in sendEvent (event=0x1d07560, receiver=0xc627c0) at kernel/qcoreapplication.h:231
#56 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6cd5a0) at kernel/qcoreapplication.cpp:1539
#57 0x00000038989a4353 in sendPostedEvents () at kernel/qcoreapplication.h:236
#58 postEventSourceDispatch (s=0x6fc0d0) at kernel/qeventdispatcher_glib.cpp:279
#59 0x0000003bfc8476e5 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#60 0x0000003bfc847a18 in ?? () from /lib64/libglib-2.0.so.0
#61 0x0000003bfc847ad4 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#62 0x00000038989a44e6 in QEventDispatcherGlib::processEvents (this=0x6ff7a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#63 0x000000389a26a2ee in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#64 0x000000389897513f in QEventLoop::processEvents (this=this@entry=0x7fff9842cdf0, flags=...) at kernel/qeventloop.cpp:149
#65 0x00000038989753c8 in QEventLoop::exec (this=0x7fff9842cdf0, flags=...) at kernel/qeventloop.cpp:204
#66 0x000000389897a1b8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#67 0x0000000000409798 in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/src/debug/kdevelop-4.3.1/app/main.cpp:479

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

Possible duplicates by query: bug 302540, bug 298967, bug 281714.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271050</commentid>
    <comment_count>1</comment_count>
    <who name="Matthew Woehlke">mwoehlke.floss</who>
    <bug_when>2012-06-29 18:24:13 +0000</bug_when>
    <thetext>valgrind output

==19229== Invalid read of size 8
==19229==    at 0x13D5F8D5: Kate::TextBuffer::rangesForLine(int, KTextEditor::View*, bool) const (katetextbuffer.cpp:808)
==19229==    by 0x13DEF060: KateRenderer::decorationsForLine(QSharedPointer&lt;Kate::TextLineData&gt; const&amp;, int, bool, KateRenderRange*, bool) const (katerenderer.cpp:330)
==19229==    by 0x13DF03F8: KateRenderer::layoutLine(KSharedPtr&lt;KateLineLayout&gt;, int, bool) const (katerenderer.cpp:883)
==19229==    by 0x13DF498F: KateLayoutCache::line(int, int) (katelayoutcache.cpp:299)
==19229==    by 0x13DF598B: KateLayoutCache::updateViewCache(KTextEditor::Cursor const&amp;, int, int) (katelayoutcache.cpp:270)
==19229==    by 0x13E3E928: KateViewInternal::tagLines(KTextEditor::Cursor, KTextEditor::Cursor, bool) (kateviewinternal.cpp:1978)
==19229==    by 0x13E3ED8C: KateViewInternal::tagLines(int, int, bool) (kateviewinternal.cpp:1948)
==19229==    by 0x13DB2AA1: KateDocument::tagLines(int, int) (katedocument.cpp:3615)
==19229==    by 0x13DBF155: KateDocument::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (katedocument.moc:280)
==19229==    by 0x389898CB9E: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3547)
==19229==    by 0x13DC99AE: KateBuffer::tagLines(int, int) (katebuffer.moc:111)
==19229==    by 0x13DCADA6: KateBuffer::doHighlight(int, int, bool) (katebuffer.cpp:736)
==19229==  Address 0x3b9fb738 is 120 bytes inside a block of size 152 free&apos;d
==19229==    at 0x4A0763C: operator delete(void*) (vg_replace_malloc.c:457)
==19229==    by 0x13E873ED: KateOnTheFlyChecker::deleteMovingRange(KTextEditor::MovingRange*) (ontheflycheck.cpp:538)
==19229==    by 0x13E876B4: KateOnTheFlyChecker::rangeEmpty(KTextEditor::MovingRange*) (ontheflycheck.cpp:492)
==19229==    by 0x13D672B8: Kate::TextRange::checkValidity(int, int, bool) (katetextrange.cpp:196)
==19229==    by 0x13D636A4: Kate::TextBlock::wrapLine(KTextEditor::Cursor const&amp;) (katetextblock.cpp:168)
==19229==    by 0x13D5F5F7: Kate::TextBuffer::wrapLine(KTextEditor::Cursor const&amp;) (katetextbuffer.cpp:220)
==19229==    by 0x13DC978D: KateBuffer::wrapLine(KTextEditor::Cursor const&amp;) (katebuffer.cpp:256)
==19229==    by 0x13DB6416: KateDocument::editWrapLine(int, int, bool, bool*) (katedocument.cpp:1143)
==19229==    by 0x13ED417A: Kate::SwapFile::recover(QDataStream&amp;) (kateswapfile.cpp:226)
==19229==    by 0x13ED43C4: Kate::SwapFile::recover() (kateswapfile.cpp:170)
==19229==    by 0x3BA4AAB48E: KDevelop::SessionControllerPrivate::performRecovery() (sessioncontroller.cpp:422)
==19229==    by 0x3BA4AA9334: KDevelop::SessionControllerPrivate::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (sessioncontroller.cpp:325)
==19229==</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1273520</commentid>
    <comment_count>2</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2012-07-06 15:41:31 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 265426 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>