Synopsis - Issue Tracker

Bug103 Editing

Title C++ parser hangs on files that do not have newline character at the end.
Created on 2006-04-19.05:59:17 by pymehta, last changed 2006-12-21.06:09:46 by anonymous.
assigned to stefan priority normal
type crash severity normal
components C++ parser platform GNU/Linux
status open resolution
depends on superseded by
Add Comment:
File
CC List:? pymehta, stefan

Messages
Author: pymehta Date: 2006-04-19.05:59:16
The Cpp parser hangs on parsing a file which does not have a newline character at the end of the file.
That is, it keeps running and consumes 100% CPU. This happened when display-symbols utility was used on apache httpd.
Author: stefan Date: 2006-04-19.07:04:47
Confirmed.

The lexer gets into an endless loop when it doesn't
expect '\0' at the end of the file. Even though this
doesn't appear to show up on the devel branch, I
don't believe the problem is really fixed there.
Files
File nameUploaded
Track Issues.doc anonymous, 2006-12-21.06:09:45
testapp.c pymehta, 2006-04-19.05:59:16
History
Date User Action Args
2006-04-19 05:59:20pymehtacreate
2006-04-19 07:04:49stefansetstatus: new
assignedto: (no value)
messages: + msg548
components: + C++ parser, - Cpp parser
nosy: + stefan
2006-12-21 06:09:46anonymoussetfiles: + Track Issues.doc