Summary: | Kate crashes while undo/redo of .patch files | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | David Smith <sidicas> |
Component: | folding | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | aleksey14, jrgpublic, maarten, thiago.bauermann |
Priority: | VHI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | New crash information added by DrKonqi |
Description
David Smith
2012-11-10 09:30:03 UTC
Created attachment 75497 [details]
New crash information added by DrKonqi
kate (3.9.3) on KDE Platform 4.9.3 using Qt 4.8.2
- What I was doing when the application crashed:
I was reindenting code in a python source code file when the crash ocurred.
The top 6 or 7 frames of my crash dump are exactly the same as the one from the original bug reporter.
This is the second time in the day that Kate crashed. Since I'm not sure what I was doing the first time and I didn't have debug info to file a report, I can't be sure of it but I think the first crash was for the same reason. Therefore, this bug happens frequently.
I don't know yet if I can reproduce the problem. I'll try and update this report.
This is on KDE 4.9.3, installed on Kubuntu 12.04 LTS.
- Custom settings of the application:
The file I was editing is in a remote computer and Kate opened it using the sftp protocol. I don't know if that is relevant or not, but is probably a bit unusual.
-- Backtrace (Reduced):
#7 hasMatch (this=0x94fe680) at ../../part/syntax/katecodefolding.h:228
#8 matchingNode (this=0x94fe680) at ../../part/syntax/katecodefolding.h:231
#9 getStartMatching (endNode=0x94d2bb0, this=0x94fe680) at ../../part/syntax/katecodefolding.cpp:155
#10 KateCodeFoldingTree::getLineInfo (this=0x8d70980, info=0xbf8f9810, line=18) at ../../part/syntax/katecodefolding.cpp:995
#11 0xb44232f6 in lineInfo (line=18, info=0xbf8f9810, this=<optimized out>) at ../../part/document/katebuffer.h:187
I was able to reproduce the bug by editing patch files too, but it took a while for Kate to crash, and I saved the file every now and then too. I tried reproducing a second time now but I've done lots of editing, undoing, redoing and saving, but can't get Kate to crash again. So there probably a specific kind of edit that triggers the bug. *** Bug 311180 has been marked as a duplicate of this bug. *** Thiago, can you please test again with KDE 4.10? Further, can you attach a test case with a step-by-step instruction? *** Bug 311790 has been marked as a duplicate of this bug. *** *** Bug 315373 has been marked as a duplicate of this bug. *** Ok, I will test it as soon as I get the chance. I'm using KDevelop instead of kate for my current programming project, does it matter whether I test on Kate or KDevelop? If it does, I'll try a bit on that one later. I haven't been doing much python programming lately so I can't be certain that this bug was fixed. However, I did some python programming on KDevelop a few days ago, with code folding enabled and it didn't crash. I also played around a little bit trying to trigger the crash but I couldn't. Since I had Kate crash on me two times in a day when I reported the bug, I think this is fixed now. I'm assuming that KDevelop would be equally affected by this bug. I haven't been using Kate for programming... IMHO this bug can be closed. If it turns out that the crashes still happen, it can be reopened. Seems to work now, so close as discussed for now. *** This bug has been marked as a duplicate of bug 294241 *** |