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

Bug 339017

Summary: Eclipse CDT crashes every 3-15 mins
Product: [Tools] CDT Reporter: Jeff Clark <zerke2001>
Component: cdt-build-managedAssignee: Project Inbox <cdt-build-managed-inbox>
Status: RESOLVED DUPLICATE QA Contact: Chris Recoskie <recoskie>
Severity: critical    
Priority: P3 CC: cdtdoug, malaperle, zerke2001
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
This is the log file generated right after the crash none

Description Jeff Clark CLA 2011-03-05 15:17:18 EST
Build Identifier: 20110218-0911

Eclipse will crash guaranteed every 3-15 minutes when in a project with a few files open and there is some sort of user interaction with Eclipse, i.e. Typing in a file, compiling, switching between files using the tabs above.

At first I thought it might have been happening every time the auto save occurred, but when I changed that value to 999 minutes, it would still crash.

I am using the AVR Eclipse Plugin from http://avr-eclipse.sourceforge.net/updatesite/ Version 2.3.4.20100807PRD
and also the Eclipse IDE for C/C++ Developers Version 1.3.2.20110218-0812

Reproducible: Always

Steps to Reproduce:
1. Open Eclipse CDT and create a managed C project.
2. Create some code to compile.
3. Compile the code.
4. Repeat steps 2 & 3 and within 3-15 minutes Eclipse will crash.
Comment 1 Jeff Clark CLA 2011-03-05 15:19:22 EST
Created attachment 190476 [details]
This is the log file generated right after the crash
Comment 2 Jeff Clark CLA 2011-03-05 15:22:27 EST
I forgot to mention that I also can reproduce this error on a separate, but similar machine.
Comment 3 Marc-André Laperle CLA 2011-03-05 16:43:26 EST
Try adding
-XX:-UseCompressedOops
to eclipse.ini

See bug 333227.
Comment 4 Jeff Clark CLA 2011-03-05 18:10:46 EST
(In reply to comment #3)
> Try adding
> -XX:-UseCompressedOops
> to eclipse.ini
> 
> See bug 333227.

I have added this line.  It appears to be making a difference.  I did get another crash that was more like 20-25 minutes after the change.  I will continue with this and see if it keeps happening and update you with results.
Comment 5 Andrew Gvozdev CLA 2011-03-05 18:34:32 EST
closing as duplicate

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