[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kate] [Bug 338066] New: stack overflow in cmake HL
From:       Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date:       2014-08-06 4:34:42
Message-ID: bug-338066-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=338066

            Bug ID: 338066
           Summary: stack overflow in cmake HL
           Product: kate
           Version: 3.13.2
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: syntax
          Assignee: kwrite-bugs-null@kde.org
          Reporter: mw_triad@users.sourceforge.net

Created attachment 88134
  --> https://bugs.kde.org/attachment.cgi?id=88134&action=edit
"custom" cpp.xml

The CMake HL causes katepart (first noticed in kdevelop, reproducible in
kwrite) to SEGV due to an infinite recursion in the HL engine. Reproducible
every time, apparently when loading the CMake HL (tested with 'kwrite
foo.cmake' where foo.cmake is an empty file).

#0  0x00007fffeb678c49 in
KateHighlighting::handleKateHlIncludeRulesRecursive(int,
QList<KateHlIncludeRule*>*) ()
   from /lib64/libkatepartinterfaces.so.4
...
#43651 0x00007fffeb678f79 in
KateHighlighting::handleKateHlIncludeRulesRecursive(int,
QList<KateHlIncludeRule*>*) ()
   from /lib64/libkatepartinterfaces.so.4
#43652 0x00007fffeb67936d in KateHighlighting::handleKateHlIncludeRules() ()
from /lib64/libkatepartinterfaces.so.4
#43653 0x00007fffeb679e71 in KateHighlighting::makeContextList() [clone
.part.94] ()
   from /lib64/libkatepartinterfaces.so.4
#43654 0x00007fffeb67a280 in KateHighlighting::init() () from
/lib64/libkatepartinterfaces.so.4


I say this is a "custom" cpp.xml, but it's just qt4.xml renamed and with
priority=0. Thinking it's worth reporting a) as I'm suspicious if this (stock)
HL has an issue, and b) because of course katepart still shouldn't crash :-).

(If it's been fixed since, please let me know and I'll re-file as a Fedora bug
to update the RPM.)

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic