Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Frequent random crashes
Frequent random crashes [message #1738804] Sun, 24 July 2016 23:05 Go to next message
Stefano Rocco is currently offline Stefano RoccoFriend
Messages: 2
Registered: July 2016
Junior Member
Hi all.

I've been experiencing a very frustrating issue with Eclipse Java Mars recently and, since I'm not a "real" programmer, in the sense that I don't have much experience in general, this led me to create an account on this forum.
To be honest, I'm a CS student and am working on an important assignment, so the project partially depends on the correct functioning of Eclipse, as I can't just move to another IDE or try figuring out the problem by myself without losing precious days, in my case. So, basically, I'm kindly asking for a quick help.

So, the title is self-explanatory: frequent, random crashes. Eclipse doesn't just freeze, it closes without any warning. I really don't know what causes this, but the behavioral pattern is pretty much the same every time. I write some code, do some changes, refactor a variable, and then it happens out of nowhere after 10-20 minutes or so. I should note, before closing, Eclipse creates two log files on my desktop (see attachments).

Some observations:
- Running code may not be a trigger;
- Saving may be a trigger;
- Sometimes Eclipse does exhibit a worrying sign, that is, I tipically copy a piece of code and it doesn't paste on the right location, but in a completely different one in the same file. The relation with the issue is completely euristic, but still worth noting;
- I'm running some memory intensive tests on a big data structure (created my myself). Same as above, it doesn't seem related (and surely wasn't the original cause);
- Sometimes completion hints take a long time to show up, and Eclipse itself noticeably slows down;
- I haven't implemented/ran any foreign code, but
- I recently downloaded and installed a Java update.


Specs:
Eclipse
Version: Mars Release (4.5.0)
Build id: 20150621-1200
Configured with MinGW.

System
HP G62-B13SL
Intel Core i3 350M
4GB RAM
Windows 7 64bit v.


Thank you for any help. Just tell me if you need more information.

P.s. I hope I've posted this in the right section. Please keep in mind English is not my main language.
Re: Frequent random crashes [message #1738875 is a reply to message #1738804] Mon, 25 July 2016 16:31 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
You seem to be affected by the following bug in the JVM (more specifically, the JIT): https://bugs.openjdk.java.net/browse/JDK-8154831

See our https://bugs.eclipse.org/bugs/show_bug.cgi?id=493669 for discussion of a workaround (see -XX:CompileCommand...)
Re: Frequent random crashes [message #1738904 is a reply to message #1738875] Mon, 25 July 2016 21:44 Go to previous message
Stefano Rocco is currently offline Stefano RoccoFriend
Messages: 2
Registered: July 2016
Junior Member
Many thanks for your reply. I wasn't convinced of it, since I couldn't reproduce the bug the way the OP of the report page did, and I was working with JDK v. 8u66 I think, which isn't marked as affected.

So I updated to the newest version of Java (.102) and it didn't work, then I did as suggested and I'm about an hour in without issues, for now. I'll report back if it happens again.


P.s. For anyone else who has the same problem, seems like you have to copy the command string at the bottom of the eclipse.ini file in your installation directory (correct me if I'm wrong). Thanks again.
Previous Topic:ECLIPSE NEON plugin directory mac
Next Topic:print1n Error
Goto Forum:
  


Current Time: Mon Oct 14 02:19:19 GMT 2024

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

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

Back to the top