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

Bug 353740

Summary: Indexing help crashes Eclipse on Java 7
Product: [Eclipse Project] Platform Reporter: Andrey <razumovsky.andrey>
Component: User AssistanceAssignee: platform-ua-inbox <platform-ua-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: major    
Priority: P3 CC: avik.hazra, benrebadow, dalleyg, daniel_megert, etricky, Hemant.Singh, john.arthorne, laurens.nospam, M_S_Glaser, pinchweb, radu_m_toader, remy.suen, sneglia, splamspam, thealy, topno.nischal, yosiyaffe
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
error log none

Description Andrey CLA 2011-08-03 07:46:02 EDT
Build Identifier: 20110615-0604

Indexing help crashes Eclipse on Java 7. It happens both on Win7 64bit & linux. 

Reproducible: Always

Steps to Reproduce:
1.Run Eclipse with JDK7
2.Press F1 anywhere
3.Crash
Comment 1 Andrey CLA 2011-08-03 07:46:39 EDT
Created attachment 200802 [details]
error log
Comment 2 Andrey CLA 2011-08-03 07:49:48 EDT
I've just realized that "-XX:-UseLoopPredicate" JVM argument helps. So this must be same unfamous issue Lucene guys ran into:
http://adtmag.com/articles/2011/08/01/java-7-crashing.aspx
Comment 3 Dani Megert CLA 2011-08-09 03:43:22 EDT
This is a bug in Oracle's JRE. The only thing we could do is add a download warning and a readme entry.

John, let's discuss this at the PMC meeting.
Comment 4 Dani Megert CLA 2011-08-11 09:34:40 EDT
We've announced this on the cross-project- and eclipse-dev lists.
Comment 5 Remy Suen CLA 2011-09-10 21:59:49 EDT
*** Bug 357319 has been marked as a duplicate of this bug. ***
Comment 6 John Arthorne CLA 2011-10-03 10:15:13 EDT
*** Bug 359660 has been marked as a duplicate of this bug. ***
Comment 7 Remy Suen CLA 2011-10-19 11:42:10 EDT
*** Bug 361419 has been marked as a duplicate of this bug. ***
Comment 8 Remy Suen CLA 2011-10-24 13:36:53 EDT
*** Bug 361837 has been marked as a duplicate of this bug. ***
Comment 9 Dani Megert CLA 2011-10-26 11:33:14 EDT
*** Bug 362091 has been marked as a duplicate of this bug. ***
Comment 10 Laurens Holst CLA 2011-12-13 16:47:42 EST
Looks like it was fixed in the JDK 7u2 release, I no longer have the issue.

java.runtime.version=1.7.0_02-b13
java.version=1.7.0_02
java.vm.version=22.0-b10

According to their change log, it looks like it was already fixed in the 7u1 release: http://www.oracle.com/technetwork/java/javase/7u1-relnotes-507962.html (But I must’ve missed it, or they decided to skip a public release.)
Comment 11 Dani Megert CLA 2011-12-21 02:56:54 EST
*** Bug 367263 has been marked as a duplicate of this bug. ***
Comment 12 Hemant Singh CLA 2012-03-30 22:59:28 EDT
+1
I can reproduce in the following environment
Eclipse Version: 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q
Build id: M20120208-0800
Java: 1.7.0-b147
OS: Windows 7 64 bit.
Comment 13 Paul Webster CLA 2012-05-25 10:52:01 EDT
*** Bug 380681 has been marked as a duplicate of this bug. ***
Comment 14 Radu Toader CLA 2012-05-25 15:51:20 EDT
it reproduces in jdk 1.7u4
Comment 15 Dani Megert CLA 2012-05-29 05:35:09 EDT
(In reply to comment #14)
> it reproduces in jdk 1.7u4

Works fine for me using:

java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b22)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)

If you still see the crash, I suggest you file a new bug with all the details. Before that, make sure that Eclipse is indeed using that VM.
Comment 16 Dani Megert CLA 2013-02-19 03:37:01 EST
*** Bug 401122 has been marked as a duplicate of this bug. ***
Comment 17 Dani Megert CLA 2013-04-16 04:58:31 EDT
*** Bug 405707 has been marked as a duplicate of this bug. ***
Comment 18 Dani Megert CLA 2013-05-06 10:49:08 EDT
I was able to reproduce a crash using IE 9 and different JREs. See bug 407304  for details.
Comment 19 Dani Megert CLA 2013-07-17 03:05:50 EDT
*** Bug 413011 has been marked as a duplicate of this bug. ***
Comment 20 Dani Megert CLA 2013-07-24 05:26:26 EDT
*** Bug 413602 has been marked as a duplicate of this bug. ***
Comment 21 Paul Webster CLA 2014-07-17 10:13:10 EDT
*** Bug 379608 has been marked as a duplicate of this bug. ***