Summary: | KatePart crashes when loading a syntax highlighting XML fails | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Kevin Kofler <kevin.kofler> |
Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | composer, joseph.kennedy8015, michal.humpula, orjol, rdieter |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=323278 | ||
Latest Commit: | http://commits.kde.org/kate/a94599efed72cc2bedd8fe7f2b281a669a12ed4b | Version Fixed In: | 4.13 |
Sentry Crash Report: |
Description
Kevin Kofler
2013-12-08 02:24:24 UTC
Hi Kevin, you might try to recompile with this patch https://git.reviewboard.kde.org/r/114374/. Git commit 44beb7d342309f524e91ab18c9827e83225e36de by Michal Humpula. Committed on 09/12/2013 at 22:50. Pushed by michalhumpula into branch 'master'. bugfix: when fail to load highlight don't crash REVIEW: 114374 M +14 -6 part/syntax/katehighlight.cpp M +2 -0 part/syntax/katehighlight.h http://commits.kde.org/kate/44beb7d342309f524e91ab18c9827e83225e36de *** Bug 329030 has been marked as a duplicate of this bug. *** I get this every time I select Tools > Highlighting > Errors! > ...lilypond.xml. Problem is I have no idea how to recompile and/or patch anything (at least not yet. Still have loads to learn), so, yeah... is there a simple way to apply Michal's solution? Try to get your distro to apply this Qt patch: http://pkgs.fedoraproject.org/cgit/qt.git/tree/qt-everywhere-opensource-src-4.8.5-QTBUG-35459.patch (or if they think 65536 is too large a limit, then they should set it to 3000 or something, but 1024 is not enough). If they don't want to do that, get them to at least apply the Kate patch so that Kate won't crash (but it will still not be able to load the Lilypond syntax definition without the Qt patch). Hi Jaehoo, you can find modified lylipond.xml file here: http://quickgit.kde.org/?p=kate.git&a=blob&h=b1794502d1a1b862a42efb03f0114296a47f36c6&f=part/syntax/data/lilypond.xml&o=plain Just download it and move it to the location of syntax files. In regular install that should be the /usr/share/kde4/apps/katepart/syntax/ directory. *** Bug 335611 has been marked as a duplicate of this bug. *** Git commit a94599efed72cc2bedd8fe7f2b281a669a12ed4b by Dominik Haumann, on behalf of Michal Humpula. Committed on 09/12/2013 at 22:50. Pushed by dhaumann into branch 'KDE/4.12'. bugfix: when fail to load highlight don't crash REVIEW: 114374 M +14 -6 part/syntax/katehighlight.cpp M +2 -0 part/syntax/katehighlight.h http://commits.kde.org/kate/a94599efed72cc2bedd8fe7f2b281a669a12ed4b |