Community
Participate
Working Groups
Created attachment 195133 [details] Crash log. Steps to reproduce on a newly installed Windows 7 machine (no MSVC): 1. Download and install the Microsoft SDK 7.1 with .NET Framework 4 (e.g., from https://www.microsoft.com/downloads/en/details.aspx?FamilyID=6B6C21D2-2006-4AFA-9702-529FA782D63B&pf=true) 2. Download and unzip CDT-M7 build for Windows 64-bit (http://www.eclipse.org/downloads/packages/node/527). 3. From a command prompt, run the equivalent of "c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\setenv.cmd". On a new 64-bit Windows 7 machine, this will by default target Windows 7 x64 debug. 3. From the same command prompt, change directories to your unzipped Eclipse and run eclipse.exe. Create a new workspace. Close the Welcome tab. Create a new C++ project, selecting Executable Empty Project, Microsoft Visual C++ from the wizard. 4. Create a directory called src/ and inside of that a new file called main.cpp. Place in that file the following content, then save: #include <iostream> using namespace std; int main () { cout << "Hello World!"; return 0; } You should now see 3 errors: an unresolved inclusion for #include <iostream>, and errors on the std and cout references. 5. Edit the new project's properties. Under C/C++ General > Paths and Symbols, on the Includes tab, press Add... and enter where the SDK expanded the include hierarchy., by default: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE 6. Press Apply, then Yes, OK. Eclipse crashes. On eclipse.exe restart, the editor crashes within a few seconds, whenever the indexer kicks off again. Have I set something up incorrectly?
Please see workaround in bug 333227. *** This bug has been marked as a duplicate of bug 333227 ***
Thank you, I can confirm that the fix in the linked bug resolves the problem. (Actually, upgrading to Oracle Java 6u25 is confirmed to fix it as well, without following advice to add -XX:-UseCompressedOops, switching to 32-bit or disabling the JIT compiler.)