Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse Mars - Windows 10 - Crashing
icon8.gif  Eclipse Mars - Windows 10 - Crashing [message #1720633] Wed, 20 January 2016 05:18 Go to next message
Jay Avondoglio is currently offline Jay AvondoglioFriend
Messages: 9
Registered: April 2012
Junior Member
Please someone help me I am going insane. My computer is Windows 10 64 bit. I have installed Eclipse Mars with the 64 bit installer. I am getting these generic crashes on from Windows:

index.php/fa/24705/0/

I deleted my workspace and started a brand new one. I deleted the .metadata folder. I uninstalled eclipse and reinstalled. I uninstalled the 1.8.0_71 64 bit JRE and pointed to an old JDK that works on another PC. I am grasping for straws.

I have tried to run as admin. I tried eclipse -clean. I even tried to run on the command line to find an error message with no luck. I modified the eclipse.ini file to increase -Xmx to 2048m. I also edited to set the -vm option to C:/Program Files/Java/jdk1.8.0_05/bin/javaw.exe. I have no idea what to do. Please help.
Re: Eclipse Mars - Windows 10 - Crashing [message #1720696 is a reply to message #1720633] Wed, 20 January 2016 10:34 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Jay,

That's a strange one I've not seem before. It's not the more typical
crash that results from using a bad version of Java, i.e., not a high
enough version or not the correct bitness... This looks more like it
starts to run, but then hangs/deadlocks. Did it ever run correctly even
just once? Does it get as far as prompting for a workspace and then
fails after you're specified one?

One thing you could try is the -consolelog command line option so that
logged information is also streamed to the console. Or look in the
<workspace>/.metadata/.log for clues (or in
<installation>/configuration/*.log).


On 20/01/2016 6:18 AM, Jay Avondoglio wrote:
> Please someone help me I am going insane. My computer is Windows 10 64 bit. I have installed Eclipse Mars with the 64 bit installer. I am getting these generic crashes on from Windows:
>
>
>
> I deleted my workspace and started a brand new one. I deleted the .metadata folder. I uninstalled eclipse and reinstalled. I uninstalled the 1.8.0_71 64 bit JRE and pointed to an old JDK that works on another PC. I am grasping for straws.
>
> I have tried to run as admin. I tried eclipse -clean. I even tried to run on the command line to find an error message with no luck. I modified the eclipse.ini file to increase -Xmx to 2048m. I also edited to set the -vm option to C:/Program Files/Java/jdk1.8.0_05/bin/javaw.exe. I have no idea what to do. Please help.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse Mars - Windows 10 - Crashing [message #1720785 is a reply to message #1720696] Thu, 21 January 2016 01:05 Go to previous messageGo to next message
Jay Avondoglio is currently offline Jay AvondoglioFriend
Messages: 9
Registered: April 2012
Junior Member
Iv'e used Eclipse for like 4 years on this computer (since day 1). I get past my workspace and then it would randomly crash. Now since uninstalling/reinstalling, it lasts a bit longer, but after coding some (it may crash). Then after running my server/client and stopping it may crash again. Its pretty random, but consistent in the fact that is is un-usable. I really don't want to reformat, but it looks like that is my only option at this point.

In the .log files all I saw is some crap about git warning (that I found instructions online to disable). Nothing helpful. Will try the consolelog command and then just wipe and waste 3 days resetting up windows. Thanks so much for the help. *fingers crossed* consolelog.
Re: Eclipse Mars - Windows 10 - Crashing [message #1720786 is a reply to message #1720785] Thu, 21 January 2016 01:33 Go to previous messageGo to next message
Jay Avondoglio is currently offline Jay AvondoglioFriend
Messages: 9
Registered: April 2012
Junior Member
So just crashed again with nothing in the consolelog. Bummer.

index.php/fa/24713/0/
  • Attachment: crash.png
    (Size: 43.48KB, Downloaded 4967 times)
Re: Eclipse Mars - Windows 10 - Crashing [message #1720789 is a reply to message #1720786] Thu, 21 January 2016 03:13 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
It looks like a JVM crash, not an Eclipse crash. Or maybe Windows is just losing its mind <shrug/>
Can you show your eclipse.ini file? I wonder if you're pointing to a valid JDK...
Re: Eclipse Mars - Windows 10 - Crashing [message #1720814 is a reply to message #1720786] Thu, 21 January 2016 09:01 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Jay,

You describe this as a crash, but in the case of a crash, the process
actually just dies immediately. It's unfortunately a common problem
that people can't even launch Eclipse at all, but reading your post
carefully, it seems you do get it to run, but at some later point it
time, it stops working. To this looks more like a deadlock:, the main
thread processing the GUI events stops responding because it's stuck
processing some earlier event and never finishes such that the next
event in the event queue never gets processed. Windows detects such an
unresponsive process and brings up the dialog you see.

The following wiki page has details about how you can determine what is
deadlocked:

https://wiki.eclipse.org/How_to_report_a_deadlock#Using_eclipse_-consolelog



On 21/01/2016 2:33 AM, Jay Avondoglio wrote:
> So just crashed again with nothing in the consolelog. Bummer.
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse Mars - Windows 10 - Crashing [message #1720941 is a reply to message #1720789] Fri, 22 January 2016 04:10 Go to previous messageGo to next message
Jay Avondoglio is currently offline Jay AvondoglioFriend
Messages: 9
Registered: April 2012
Junior Member
Eric Rizzo wrote on Wed, 20 January 2016 22:13
It looks like a JVM crash, not an Eclipse crash. Or maybe Windows is just losing its mind <shrug/>
Can you show your eclipse.ini file? I wonder if you're pointing to a valid JDK...


-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx2048m
Re: Eclipse Mars - Windows 10 - Crashing [message #1720942 is a reply to message #1720814] Fri, 22 January 2016 04:36 Go to previous messageGo to next message
Jay Avondoglio is currently offline Jay AvondoglioFriend
Messages: 9
Registered: April 2012
Junior Member
Ed Merks wrote on Thu, 21 January 2016 04:01
Jay,

You describe this as a crash, but in the case of a crash, the process
actually just dies immediately. It's unfortunately a common problem
that people can't even launch Eclipse at all, but reading your post
carefully, it seems you do get it to run, but at some later point it
time, it stops working. To this looks more like a deadlock:, the main
thread processing the GUI events stops responding because it's stuck
processing some earlier event and never finishes such that the next
event in the event queue never gets processed. Windows detects such an
unresponsive process and brings up the dialog you see.

The following wiki page has details about how you can determine what is
deadlocked:

https://wiki.eclipse.org/How_to_report_a_deadlock#Using_eclipse_-consolelog



On 21/01/2016 2:33 AM, Jay Avondoglio wrote:
> So just crashed again with nothing in the consolelog. Bummer.
>
>


Ed,

I was unable to get a stack trace because there is no break key on my laptop or the on screen keyboard that ships with windows 10. I tried ctrl + pause with no luck.

Eclipse(or whatever) just crashed again. When I was typing 'System.out.println' as you can see in the code completion screenshot.

index.php/fa/24720/0/
  • Attachment: error.png
    (Size: 115.86KB, Downloaded 4886 times)
Re: Eclipse Mars - Windows 10 - Crashing [message #1720945 is a reply to message #1720942] Fri, 22 January 2016 05:46 Go to previous messageGo to next message
Jay Avondoglio is currently offline Jay AvondoglioFriend
Messages: 9
Registered: April 2012
Junior Member
Sorry for the triple post, but I just figured out how to make it crash every time. When I hit enter to select a code complete it crashes. Any ideas?

Just found this (http://stackoverflow.com/questions/20733572/eclipse-adt-crash-when-autocomplete-popup) and it seems to have worked. Will see if it crashes anymore. Thanks for all of the help by the way.

[Updated on: Fri, 22 January 2016 05:50]

Report message to a moderator

Re: Eclipse Mars - Windows 10 - Crashing [message #1720950 is a reply to message #1720945] Fri, 22 January 2016 07:11 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Jay,

There are alternatives described in

https://wiki.eclipse.org/How_to_report_a_deadlock

E.g.,

https://wiki.eclipse.org/How_to_report_a_deadlock#Using_jvisualvm

And maybe you can try what's described here (or maybe Ctrl-C)

https://en.wikipedia.org/wiki/Break_key#Keyboards_without_Break_key

Or maybe Google for your hardware/keyboard's support for ctrl-break.

In the end, given we can't reproduce what you see, the information about
where it's deadlocked is needed.


On 22/01/2016 6:46 AM, Jay Avondoglio wrote:
> Sorry for the triple post, but I just figured out how to make it crash
> every time. When I hit enter to select an code complete it crashes.
> Any ideas?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse Mars - Windows 10 - Crashing [message #1721018 is a reply to message #1720941] Fri, 22 January 2016 15:32 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
You're not pointing Eclipse to run in a specific VM, but you should do so. See https://wiki.eclipse.org/Eclipse.ini

Make sure to point it to the latest JDK that you have installed.


Jay Avondoglio wrote on Fri, 22 January 2016 04:10
Eric Rizzo wrote on Wed, 20 January 2016 22:13
It looks like a JVM crash, not an Eclipse crash. Or maybe Windows is just losing its mind <shrug/>
Can you show your eclipse.ini file? I wonder if you're pointing to a valid JDK...


-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx2048m

Re: Eclipse Mars - Windows 10 - Crashing [message #1721047 is a reply to message #1721018] Sat, 23 January 2016 05:37 Go to previous message
Jay Avondoglio is currently offline Jay AvondoglioFriend
Messages: 9
Registered: April 2012
Junior Member
Took out the

-Dorg.eclipse.swt.browser.DefaultType=mozilla

and added in the

-vm
C:\Program Files\Java\jdk1.8.0_71\bin\javaw.exe

before the vmargs and it crashed on code completion. Whatever is wrong looks like (-Dorg.eclipse.swt.browser.DefaultType=mozilla) is required in my case. Adding back in the (-Dorg.eclipse.swt.browser.DefaultType=mozilla) with specifying the jdk path is working too. I will just reformat. Thanks for the help.
Previous Topic:Adding formatter to existing code editor
Next Topic:Got a question about Jar files
Goto Forum:
  


Current Time: Thu Apr 18 23:23:26 GMT 2024

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

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

Back to the top