Summary: | Kdevelop/kate crash on editing docstring | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Tomasz Narloch <tomas.h> |
Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | skomarov87 |
Priority: | VHI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.8.2 | |
Sentry Crash Report: |
Description
Tomasz Narloch
2011-09-01 19:16:32 UTC
kate bug - should also happen inside Kate/Kwrite. Can you reproduce this? If so, please run the app through valgrind and show us the log it produces: valgrind --track-origins=yes --num-callers=25 ... bye Tomasz, can you please reproduce the crash when running Kate in valgrind? Looking at the backtrace: #16 - #24 and #35-40 are very similar. Looks almost like a recursive call: #16 KateBuffer::doHighlight (startLine=279, endLine=343, invalidate=true) at katebuffer.cpp:503 #17 KateBuffer::ensureHighlighted (line=279) at katebuffer.cpp:252 #18 KateDocument::kateTextLine (i=279) at katedocument.cpp:4775 ... #35 KateBuffer::doHighlight (startLine=279, endLine=343, invalidate=true) at katebuffer.cpp:715 #36 KateBuffer::ensureHighlighted (line=279) at katebuffer.cpp:252 #37 KateDocument::kateTextLine (i=279) at katedocument.cpp:4775 line=279, startLine=279, endLine=343 are the same. Maybe this is helpful? Complete bt: #13 0x00007fd7488d49a5 in QVector<int>::resize (this=0x5920378, asize=12) at /usr/include/qt4/QtCore/qvector.h:331 #14 0x00007fd7488d45b3 in Kate::TextLineData::addAttribute (this=0x5920370, start=57, length=1, attribute=19) at /part/buffer/katetextline.cpp:196 #15 0x00007fd7489aa4ee in KateHighlighting::doHighlight (this=0x29e9d00, prevLine=0x59206f0, textLine=0x5920370, foldingList=..., ctxChanged=@0x7fff73c170c5) at /part/syntax/katehighlight.cpp:453 #16 0x00007fd7489584bc in KateBuffer::doHighlight (this=0x525ea60, startLine=279, endLine=343, invalidate=true) at /part/document/katebuffer.cpp:503 #17 0x00007fd748957b6d in KateBuffer::ensureHighlighted (this=0x525ea60, line=279) at /part/document/katebuffer.cpp:252 #18 0x00007fd748947ddb in KateDocument::kateTextLine (this=0x525a8f0, i=279) at /part/document/katedocument.cpp:4775 #19 0x00007fd74898f7cb in KateLineLayout::textLine (this=0x64d8e50, reloadForce=false) at /part/render/katelinelayout.cpp:67 #20 0x00007fd748985cd6 in KateRenderer::layoutLine (this=0x52684f0, lineLayout=..., maxwidth=-1, cacheLayout=true) at /part/render/katerenderer.cpp:849 #21 0x00007fd74898b4c9 in KateLayoutCache::line (this=0x5257810, realLine=279, virtualLine=126) at /part/render/katelayoutcache.cpp:318 #22 0x00007fd74898b07f in KateLayoutCache::updateViewCache (this=0x5257810, startPos=..., newViewLineCount=41, viewLinesScrolled=0) at /part/render/katelayoutcache.cpp:270 #23 0x00007fd7489e6178 in KateViewInternal::doUpdateView (this=0x5257d20, changed=false, viewLinesScrolled=0) at /part/view/kateviewinternal.cpp:550 #24 0x00007fd7489e5fe9 in KateViewInternal::updateView (this=0x5257d20, changed=false, viewLinesScrolled=0) at /part/view/kateviewinternal.cpp:524 #25 0x00007fd7489e6dd6 in KateViewInternal::slotRegionVisibilityChanged (this=0x5257d20) at /part/view/kateviewinternal.cpp:676 ... #28 0x00007fd7488c3f47 in KateCodeFoldingTree::regionVisibilityChanged (this=0x525eb30) at /home/tomek2/kde/build/part/moc_katecodefolding.cpp:121 ... #34 0x00007fd7489c9812 in KateCodeFoldingTree::updateLine (this=0x525eb30, line=298, regionChanges=0x7fff73c17b70, updated=0x7fff73c17bd4, changed=true, colsChanged=false) at /part/syntax/katecodefolding.cpp:1478 #35 0x00007fd748958d50 in KateBuffer::doHighlight (this=0x525ea60, startLine=279, endLine=343, invalidate=true) at /part/document/katebuffer.cpp:715 #36 0x00007fd748957b6d in KateBuffer::ensureHighlighted (this=0x525ea60, line=279) at /part/document/katebuffer.cpp:252 #37 0x00007fd748947ddb in KateDocument::kateTextLine (this=0x525a8f0, i=279) at /part/document/katedocument.cpp:4775 #38 0x00007fd74898f7cb in KateLineLayout::textLine (this=0x53e6030, reloadForce=true) at /part/render/katelinelayout.cpp:67 #39 0x00007fd74898b2b3 in KateLayoutCache::line (this=0x5257810, realLine=279, virtualLine=126) at /part/render/katelayoutcache.cpp:298 #40 0x00007fd74898b07f in KateLayoutCache::updateViewCache (this=0x5257810, startPos=..., newViewLineCount=41, viewLinesScrolled=0) at /part/render/katelayoutcache.cpp:270 #41 0x00007fd7489ed79a in KateViewInternal::tagLines (this=0x5257d20, start=..., end=..., realCursors=true) at /part/view/kateviewinternal.cpp:1975 ... #46 0x00007fd7489dd670 in KateView::removeSelectedText (this=0x525bd70) at /part/view/kateview.cpp:1852 #47 0x00007fd74893c031 in KateDocument::backspace (this=0x525a8f0, view=0x525bd70, c=...) at /part/document/katedocument.cpp:2763 #48 0x00007fd7489e7aa3 in KateViewInternal::doBackspace (this=0x5257d20) at /part/view/kateviewinternal.cpp:799 #49 0x00007fd7489dfc57 in KateView::backspace (this=0x525bd70) at /part/view/kateview.cpp:2294 *** Bug 284179 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 294750 *** |