Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360377

Summary: c parser crashes eclipse platform when indexing (possibly) malformed code
Product: [Tools] CDT Reporter: craigoliveira
Component: cdt-parserAssignee: Project Inbox <cdt-parser-inbox>
Status: CLOSED DUPLICATE QA Contact: Markus Schorn <mschorn.eclipse>
Severity: critical    
Priority: P3 CC: cdtdoug, craigoliveira, malaperle
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
crash logs for c parser bug 360377 none

Description craigoliveira CLA 2011-10-09 23:44:11 EDT
Build Identifier: 20110218-0911

I was importing the code for ffmpeg into eclipse, and the indexer seems to crash whenever it is importing, and whenever the eclipse platform with CDT enabled afterwards is loaded up.

I've captured a few error reports and will attach them to the bug once filed.

Reproducible: Always

Steps to Reproduce:
1. Create a new project named ffmpeg
2. Import sources for ffmpeg 
3. Eclipse crashes in CDT c parser (I am assuming in the indexer, since it happens no matter how I try to import it)
Comment 1 craigoliveira CLA 2011-10-09 23:47:21 EDT
Created attachment 204850 [details]
crash logs for c parser bug 360377
Comment 2 craigoliveira CLA 2011-10-09 23:53:01 EDT
just an FYI this isn't really critical for me personally, just opened it as such since it was a hard crash
Comment 3 Marc-André Laperle CLA 2011-10-11 18:13:25 EDT
Looks like bug 333227. Can you try updating your JRE or the work around mentioned in bug 333227?
Comment 4 craigoliveira CLA 2011-10-11 19:59:06 EDT
Ah ha! thanks for the workaround!

Saved again by a magic ini flag...

*** This bug has been marked as a duplicate of bug 333227 ***