Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse C++ crash
Eclipse C++ crash [message #649058] Mon, 17 January 2011 08:13 Go to next message
Eclipse UserFriend
I am at my wit's end with this. I am using Eclipse for Java and C++ development, and have separate installations for the two. There are no problems with the Java installation, but the C++ one crashed frequently. It loads normally, but after a couple of minutes, Eclipse closes, and I get the following message:


---------------------------
Eclipse
---------------------------
Java was started but returned exit code=1
C:\Windows\system32\javaw.exe
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar C:\Program Files\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20 100507.jar
-os win32
-ws win32
-arch x86_64
-showsplash
-launcher C:\Program Files\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\Program Files\eclipse\plugins/org.eclipse.equinox.launcher.win32.win 32.x86_64_1.1.0.v20100503\eclipse_1307.dll
-startup C:\Program Files\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20 100507.jar
-exitdata 990_58
-product org.eclipse.epp.package.java.product
-vm C:\Windows\system32\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar C:\Program Files\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20 100507.jar
---------------------------
OK
---------------------------

I have tried searching for this, but have had no luck. I have added the -XX:MaxPermSIze=256m to Eclipse.ini, but that hasn't helped. Using 512m doesn't either.

This problem only started occurring after I installed the latest JDK, and uninstalling that doesn't help either.

Does anyone have any thoughts?

Thanks.

(It's not obvious how to attach a file, so here is my eclipse.ini file. Sorry this makes the post so long.


-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1. 0.v20100503
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-XX:MaxPermSize=256m
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
Re: Eclipse C++ crash [message #649086 is a reply to message #649058] Mon, 17 January 2011 09:34 Go to previous messageGo to next message
Eclipse UserFriend
This is most probably a JVM bug.
See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=333227
Re: Eclipse C++ crash [message #649104 is a reply to message #649086] Mon, 17 January 2011 12:10 Go to previous messageGo to next message
Eclipse UserFriend
Brilliant, it looks like the -Xint option in vmargs in eclipse.ini has solved it.

No crashes for a bit, and fingers crossed.

Thanks.
Re: Eclipse C++ crash [message #649804 is a reply to message #649058] Thu, 20 January 2011 10:11 Go to previous message
Eclipse UserFriend
On 1/17/11 8:13 AM, de919191@yahoo.com wrote:
> I am at my wit's end with this. I am using Eclipse for Java and C++
> development, and have separate installations for the two. There are no
> problems with the Java installation, but the C++ one crashed frequently.
> It loads normally, but after a couple of minutes, Eclipse closes, and I
> get the following message:

> (It's not obvious how to attach a file, so here is my eclipse.ini file.
> Sorry this makes the post so long.
>
>
> -startup
> plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1. 0.v20100503
> -product
> org.eclipse.epp.package.java.product
> --launcher.defaultAction
> openFile
> --launcher.XXMaxPermSize
> 256M
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256m
> --launcher.defaultAction
> openFile
> -vmargs
> -XX:MaxPermSize=256m
> -Dosgi.requiredJavaVersion=1.5
> -Xms40m
> -Xmx384m
>

I notice that you're pointing Eclipse to use the Java VM under
Windows/system32 - that's usually not the right one. Are you sure that
is the latest JVM that you've installed? I thought on windows it usually
went somewhere under Program Files...

Eric
Previous Topic:Hiding open files of non-active projects
Next Topic:Disappearing plugins
Goto Forum:
  


Current Time: Thu Nov 06 20:18:39 EST 2025

Powered by FUDForum. Page generated in 0.08831 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top