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

Bug 347400

Summary: Eclipse C++ exits suddenly with only dialog message about launch options
Product: [Tools] CDT Reporter: Oyvind Harboe <oyvind.harboe>
Component: cdt-editorAssignee: Project Inbox <cdt-editor-inbox>
Status: CLOSED DUPLICATE QA Contact: Anton Leherbauer <aleherb+eclipse>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Shows error message
none
Log from crash none

Description Oyvind Harboe CLA 2011-05-27 03:04:25 EDT
Build Identifier:  20110218-0911

This now happens every time I open the workspace, so the workspace has been poisoned somehow. I'll leave this workspace around in case I can do some more testing.

I'm editing a C++ project, no build or indexing and I'm having a problem that Eclipse just exist with a dialog box with the Java launch options. I've got 2048mByte of Java heap. The project is ca. 27000 files.

It happens relatively quickly(every 10 minutes or so when I work), bit of a trainwrecker for using Eclipse. Hopefully I can switch from Windows 7 64 bit to Linux, perhaps it works there.

Reproducible: Always
Comment 1 Oyvind Harboe CLA 2011-05-27 03:05:03 EDT
Created attachment 196726 [details]
Shows error message

No other error message.
Comment 2 Anton Leherbauer CLA 2011-05-27 03:11:04 EDT
Which JVM are you using?  Is there maybe a file "hs_err_pid<pid>.log" in the eclipse installation?
Comment 3 Oyvind Harboe CLA 2011-05-27 03:17:24 EDT
(In reply to comment #2)
> Which JVM are you using?  Is there maybe a file "hs_err_pid<pid>.log" in the
> eclipse installation?

C:\Users\oharboe>java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
Comment 4 Oyvind Harboe CLA 2011-05-27 03:19:35 EDT
Created attachment 196727 [details]
Log from crash

Shows information about the crash. Hopefully it will yield some clues.
Comment 5 Anton Leherbauer CLA 2011-05-27 03:29:55 EDT
The crash log looks a little strange, but I think this is the same hot spot bug as reported in bug 333227.
Could you try the workaround mentioned in bug 333227 comment 7:
Add -XX:-UseCompressedOops to eclipse.ini
Comment 6 Oyvind Harboe CLA 2011-05-27 03:44:12 EDT
(In reply to comment #5)
> The crash log looks a little strange, but I think this is the same hot spot bug
> as reported in bug 333227.
> Could you try the workaround mentioned in bug 333227 comment 7:
> Add -XX:-UseCompressedOops to eclipse.ini

I've added an extra line to eclipse.ini:

-XX:-UseCompressedOops

and Eclipse now starts and the seems to work.

I'm excited! Perhaps I can navigate this code in a sane fashion afterall!
Comment 7 Anton Leherbauer CLA 2011-05-27 03:51:48 EDT

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