Summary: | Crash when undoing (KateLineLayout::viewLineCount (this=0x0)) | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | João Eiras <joao.eiras> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | adrian.lungu89, andreas_nordal_4, christoph, joao.eiras, kde |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
João Eiras
2011-03-23 12:58:30 UTC
Created attachment 59097 [details]
New crash information added by DrKonqi
kate (3.6.2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.0
- What I was doing when the application crashed:
Had xml file with changes. Was undoing changes and it crashed
-- Backtrace (Reduced):
#7 KateLineLayout::viewLineCount (this=0x0) at ../../kate/render/katelinelayout.cpp:173
#8 0xb25186c1 in KateTextLayout::isValid (this=0xac623a8) at ../../kate/render/katetextlayout.cpp:90
#9 0xb2518b12 in KateTextLayout::line (this=0xac623a8) at ../../kate/render/katetextlayout.cpp:95
#10 0xb2577c61 in KateViewInternal::endPos (this=0xdcdbea0) at ../../kate/view/kateviewinternal.cpp:287
#11 0xb257d095 in KateViewInternal::makeVisible (this=0xdcdbea0, c=..., endCol=12, force=false, center=true, calledExternally=true) at ../../kate/view/kateviewinternal.cpp:608
Created attachment 61874 [details]
New crash information added by DrKonqi
kwrite (4.6.00 (4.6.0) "release 6") on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1
- What I was doing when the application crashed:
I was editing a shellscript in KWrite. As I was holding down Ctrl-Z, in order to undo several of the last edits, KWrite disappeared after a few deciseconds (with keyboard repetition rate 45Hz, delay 160ms).
-- Backtrace (Reduced):
#6 0x00007f23a976b215 in viewLineCount (this=0xad3430) at /usr/src/debug/kdelibs-4.6.0/kate/render/katelinelayout.cpp:173
#7 KateTextLayout::isValid (this=0xad3430) at /usr/src/debug/kdelibs-4.6.0/kate/render/katetextlayout.cpp:90
#8 0x00007f23a976b639 in KateTextLayout::line (this=0xad3430) at /usr/src/debug/kdelibs-4.6.0/kate/render/katetextlayout.cpp:95
#9 0x00007f23a976ccf1 in KateViewInternal::endPos (this=0x87ff00) at /usr/src/debug/kdelibs-4.6.0/kate/view/kateviewinternal.cpp:287
#10 0x00007f23a977b134 in KateViewInternal::makeVisible (this=0x87ff00, c=..., endCol=22, force=false, center=<value optimized out>, calledExternally=true) at /usr/src/debug/kdelibs-4.6.0/kate/view/kateviewinternal.cpp:608
*** Bug 278269 has been marked as a duplicate of this bug. *** To all of thyou who experienced this crash: Did you use code folding? Maybe duplicate of bug #247081. (In reply to comment #5) > Maybe duplicate of bug #247081. Yes. I think it is related or duplicate of bug 247081. I didn't close the bug because I couldn't reproduce it (with the new or the old code folding). Also, there is a difference between them: although, this (KateLineLayout::viewLineCount (this=0x0)) is common, the callers are different : KateLayoutCache::lastViewLine and KateTextLayout::isValid But I still think that they are related. Adrian We need way to reproduce, else we can't fix it :( > Did you use code folding? You mean "Dynamic Word Wrap", as when pressing F10? Quite possibly. Considering that I spent some time editing, I estimate a 70% probability that I at some point cared to press my usual F9, F10, F11 sequence. So in that case, I would have enabled line numbering (F11). > We need a way to reproduce To me, this looks like a sporadic & rare bug. How about code inspection? Please retest with current version of Kate, by builing it from sources according to http://www.kate-editor.org/get-it/, or wait for KDE 4.8... It is probably fixed. *** This bug has been marked as a duplicate of bug 247081 *** |