Bug 339017 - Eclipse CDT crashes every 3-15 mins
Summary: Eclipse CDT crashes every 3-15 mins
Status: RESOLVED DUPLICATE of bug 333227
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Recoskie CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-05 15:17 EST by Jeff Clark CLA
Modified: 2011-03-05 18:34 EST (History)
3 users (show)

See Also:


Attachments
This is the log file generated right after the crash (16.23 KB, application/octet-stream)
2011-03-05 15:19 EST, Jeff Clark CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***