Bug 71656

Summary: [Parser] Infinite Loop on Out of Memory Exception
Product: [Tools] CDT Reporter: Doug Schaefer <cdtdoug>
Component: cdt-parserAssignee: John Camelon <john.camelon>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch that sould fix the problem cdtdoug: iplog-

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.