Summary: | [testcase] KateSmartGroup handling broken [null, KateSmartManager::groupForLine, KateLineLayout::viewLineCount, KateLayoutCache::viewLine, KateLayoutCache::textLayout] | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Eike Hein <hein> |
Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | aaron, alpha_one_x86, andresbajotierra, anton, bucky, christoph, eduardosanchezmunoz, erm2587, fabianrost, fenixk19, fmp0d6sw, goodladybird, husdis, incompetent777, itissohardtothinkofagoodemail, kay.abendroth, kuba, lev.krainov, lizajane999, lothar, lyngeled, macbeth8, markus.hauser, michaelcochez, neroslavsky, pjcdawkins, savkiny, sbastig, selth.blackwings, wasserman.louis |
Priority: | VHI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.4.4 | |
Sentry Crash Report: | |||
Attachments: | File involved in crash |
Description
Eike Hein
2010-02-11 22:32:58 UTC
Created attachment 40698 [details]
File involved in crash
Select from the end upwards until the selection includes the "--- snip ---" line, then press Backspace -> kaboom.
What kind of mode (i.e. indentation / folding / syntax highlighting) did you assign to the file? I could not reproduce the crash, please be more specific. I did nothing manually, I just opened the file by double-clicking in Dolphin. Mode: Tools -> Mode says "Normal". Indentation: Tools -> Indentation says "None". Folding: Folding markersd are disabled in the GUI (and thus nothing is folded). Syntax highlighting: Tools -> Highlighting says "None". Encoding: Tools -> Encoding says Utf-8. Line endings: Tools -> End of Line says UNIX. How much of the file can you see when you open Kate? And you select just to the start of line 33 (i.e. just before the ---) or do you select the \n before (i.e. to the start of line 32? Do you delete with Backspace or with Delete? Do you select from start to end? From end to start? Sorry that I bug you with so many questions, but I just can't reproduce the crash (and boy, would I like to do so... a reproduced bug is nearly a fixed bug ;-)). It's ok, though I have answered some of these questions in my initial report already ;). I can see all rows, but not all columns (word wrapping is disabled, so some of the long ones extend beyond the confines of the viewport). I select from the end/bottom to the start/upwards. I select to the start of line 33. I delete with backspace. I still cannot reproduce, anyone else? Actually, it turns out that my bug report was incomplete, mea culpa. Kate does not crash after selecting from the end to the start of line 33 and pressing backspace - rather it crashes if I press backspace twice. I.e. select from the end to the start of line 33, press backspace, press backspace again. Thanks, this did the "trick", I reproduced it easily now. changing status *** Bug 223345 has been marked as a duplicate of this bug. *** SVN commit 1090734 by cullmann: BUG: 226409 try to remove segfault, now the smartrangegroups overlap in strange ways but otherwise just the wrong group got resized, its end didnt match reality and cursors belonged to groups with end lines < cursor line M +39 -3 katesmartmanager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1090734 *** Bug 226322 has been marked as a duplicate of this bug. *** *** Bug 192606 has been marked as a duplicate of this bug. *** *** Bug 228980 has been marked as a duplicate of this bug. *** *** Bug 230001 has been marked as a duplicate of this bug. *** It would be great to have that in 4.4.2 or 4.4.3, because of the crash it causes, which in daily work with Kate becomes very annoying. *** Bug 231425 has been marked as a duplicate of this bug. *** *** Bug 233081 has been marked as a duplicate of this bug. *** *** Bug 234335 has been marked as a duplicate of this bug. *** *** Bug 234364 has been marked as a duplicate of this bug. *** *** Bug 234382 has been marked as a duplicate of this bug. *** Christoph, given this crash seems to appear very often, maybe we should consider backporting this one-liner? It's not really safe, but still seems to work... *** Bug 235199 has been marked as a duplicate of this bug. *** *** Bug 236041 has been marked as a duplicate of this bug. *** *** Bug 237002 has been marked as a duplicate of this bug. *** Just backport then please, have no checkout here for branch stuff :/ I don't know why my change works btw. and let all praise that KDE 4.5 just doesn't use smart for any kate internal stuff ;) (uh oh, beside completion, this must still be fixed) *** Bug 237966 has been marked as a duplicate of this bug. *** *** Bug 238394 has been marked as a duplicate of this bug. *** *** Bug 238292 has been marked as a duplicate of this bug. *** Please backport this fix to 4.4.4 or 4.4.5 at least. Kate crashing in the middle of editing a file is horrible by itself. If several files are open which were not saved a while its even worse. I had two crashes during the last two days. SVN commit 1131228 by cullmann: backport fix for 226409 wrong stuff in smart leads to random segfault BUG: 226409 this is a stupid and ugly workaround M +3 -1 katesmartmanager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1131228 *** Bug 233224 has been marked as a duplicate of this bug. *** *** Bug 238887 has been marked as a duplicate of this bug. *** *** Bug 241213 has been marked as a duplicate of this bug. *** *** Bug 242205 has been marked as a duplicate of this bug. *** *** Bug 238704 has been marked as a duplicate of this bug. *** *** Bug 243604 has been marked as a duplicate of this bug. *** *** Bug 257510 has been marked as a duplicate of this bug. *** *** Bug 256452 has been marked as a duplicate of this bug. *** *** Bug 255585 has been marked as a duplicate of this bug. *** *** Bug 254587 has been marked as a duplicate of this bug. *** *** Bug 254525 has been marked as a duplicate of this bug. *** *** Bug 259857 has been marked as a duplicate of this bug. *** *** Bug 260996 has been marked as a duplicate of this bug. *** |