[Bug 68704] crash when using temporary preprocessor macros (possibly related to code completion)

Jens Dagerbo jens.dagerbo at swipnet.se
Fri Nov 21 06:23:11 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=68704     
jens.dagerbo at swipnet.se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roberto at kdevelop.org
             Status|UNCONFIRMED                 |NEW
          Component|general                     |cpp-parser
      everconfirmed|0                           |1
            Version|unspecified                 |3.0.0b1



------- Additional Comments From jens.dagerbo at swipnet.se  2003-11-21 06:22 -------
Confirmed.

Somewhere in the middle of Lexer::nextToken(), the referenced mapentry seems to get invalidated. This simplistic patch avoids crashing on my system, but as I have no idea about the code, I can't be sure the fix is correct. Please test.

Roberto? :)

(Patch attached above. I'm sure I'll learn this system one day... )




More information about the KDevelop-devel mailing list