Bug 71656 - [Parser] Infinite Loop on Out of Memory Exception
Summary: [Parser] Infinite Loop on Out of Memory Exception
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-parser (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: 2.0.1   Edit
Assignee: John Camelon CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-09 11:38 EDT by Doug Schaefer CLA
Modified: 2014-01-29 10:40 EST (History)
0 users

See Also:


Attachments
patch that sould fix the problem (797 bytes, patch)
2004-08-10 10:32 EDT, John Camelon CLA
cdtdoug: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Schaefer CLA 2004-08-09 11:38:32 EDT
It looks like the parser tries to do error recovery in this case and gets stuck.
Comment 1 John Camelon CLA 2004-08-09 20:55:54 EDT
With what case? 
Comment 2 Doug Schaefer CLA 2004-08-10 08:49:18 EDT
In the case where you run out of memory when you're in the middle of a parse. 
Comment 3 John Camelon CLA 2004-08-10 08:59:53 EDT
Send me an email describing the use-case as to why this is critical if you 
cannot fill me in thru bugzilla.
Comment 4 John Camelon CLA 2004-08-10 10:32:32 EDT
Created attachment 13846 [details]
patch that sould fix the problem

Doug, give this a try, let me know if it works for you.
Comment 5 John Camelon CLA 2004-08-10 13:49:26 EDT
I've applied this patch to HEAD & 2_0.
Please re-open this defect if you find that the problem is not fixed by this 
change.