Summary: | File corruption when editing URXVT sources files (.C) | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Emmanuel Lepage Vallée <emmanuel.lepage> |
Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | grave | CC: | michal.humpula |
Priority: | NOR | ||
Version: | Git | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Emmanuel Lepage Vallée
2013-05-11 18:08:08 UTC
For me, the file is loaded with codec "ISO-8859-15" without encoding errors (see console output). Editing and saving the file works. Reloading the file shows the correct contents. So I cannot reproduce. Please attach the file you are encountering problems with. Please also specify the enconding the file is loaded with. This still happen with many files. It eventually add some garbage, usually part of the last few lines. I have to remove them in vi then reload kate. It works for 5 minute then it happen again. Is there a way to valgrind kate? It SEGFAULT when I try. Given the randomness, it may by a stack corruption or something. HI Emmanuel, valgrind casues segfault, because (most likely) of the bug in JS library the Qt4 is using. So to make kate run under valgrind you have to edit a source a little bit. Commenting out the KateScriptActionMenu::repopulate does the trick for me. Just a wild hunch... do you have static word wrap turned on? Look like the same bug *** This bug has been marked as a duplicate of bug 323693 *** Hi Emmanuel, did you tried the current version (which has the patch)? Is the problem gone? I did. As for the bug, time will tell, so far so good! Thanks |