Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Click 'Help->Help Contents', Eclipse is crashed in Linux
Click 'Help->Help Contents', Eclipse is crashed in Linux [message #1765321] Thu, 08 June 2017 12:26 Go to next message
Nicholas Kong is currently offline Nicholas KongFriend
Messages: 59
Registered: July 2016
Location: China
Member
To whom it may concern,

When I click 'Help->Help Contents' menu on Linux (Neon 4.6.3). The Eclipse platform always no responding and Crash.

So does there have any one know is it a bug or how to fix it?

Thank you.

Eclipse Version
Eclipse Modeling Tools
Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500

Linux Version
Linux version 2.6.32-431.el6.x86_64 (mockbuild@x86-023.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Sun Nov 10 22:19:54 EST 2013

Java Version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)


==================================Info================================
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fdcc80bb030, pid=5134, tid=0x00007fddde5be700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C 0x00007fdcc80bb030
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

[Updated on: Wed, 21 June 2017 01:34]

Report message to a moderator

Re: Click 'Help->Help Contents', Eclipse is crashed in Linux [message #1766003 is a reply to message #1765321] Wed, 14 June 2017 18:04 Go to previous messageGo to next message
Eclipse UserFriend
Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again


Could you try getting a code dump.

My guess is that you're encountering issues loading the embedded web browser. Can you try opening the internal web browser (Quick Access > "Web Browser" and select the "Internal Web Browser")? If that crashes too, there are some details in the SWT FAQ on diagnosing and solving the issues.

That said, Help > Help Contents for me actually opens a web browser.

Brian.
Re: Click 'Help->Help Contents', Eclipse is crashed in Linux [message #1766395 is a reply to message #1766003] Wed, 21 June 2017 02:53 Go to previous messageGo to next message
Nicholas Kong is currently offline Nicholas KongFriend
Messages: 59
Registered: July 2016
Location: China
Member
Hi Brian,

I have attached the dump file on this comment.

And I follow your step: (Quick Access > "Web Browser" and select the "Internal Web Browser")

If I do not set the web location (defaule:empty page), the browser works will.

If I point the location to the Help Content Part. such as: http://127.0.0.1:39373/help/nav/15,
the Platform also crash.

If I set the 'org.eclipse.swt.browser.DefaultType=mozilla' property in config.ini, Eclipse Platfrom will open the outside browser, and then the planform also works well.
Re: Click 'Help->Help Contents', Eclipse is crashed in Linux [message #1766837 is a reply to message #1766003] Wed, 28 June 2017 03:24 Go to previous messageGo to next message
Nicholas Kong is currently offline Nicholas KongFriend
Messages: 59
Registered: July 2016
Location: China
Member
Hi Brian,

Do you have any progress about this problem?
Re: Click 'Help->Help Contents', Eclipse is crashed in Linux [message #1766879 is a reply to message #1766837] Wed, 28 June 2017 13:29 Go to previous message
Eclipse UserFriend
Quote:

And I follow your step: (Quick Access > "Web Browser" and select the "Internal Web Browser")

If I do not set the web location (defaule:empty page), the browser works will.

If I point the location to the Help Content Part. such as: http://127.0.0.1:39373/help/nav/15,
the Platform also crash.


Can you try using a different URL instead of your local help on localhost, like www.eclipse.org? Does that crash? That will help isolate whether it's the SWT Browser crashing (my suspicion) or the Help system crashing (seems very unlikely to crash the JVM).

From the .logs it looks like SWT Browser crashing:
Stack: [0x00007f5d7cd6a000,0x00007f5d7ce6b000],  sp=0x00007f5d7ce677b0,  free space=1013k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  0x00007f5c7c928000
C  [libwebkit-1.0.so.2+0xa8a2c0]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 5706  org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(JZ)Z (0 bytes) @ 0x00007f5d691007c4 [0x00007f5d69100780+0x44]
J 10068 C2 org.eclipse.swt.widgets.Display.readAndDispatch()Z (71 bytes) @ 0x00007f5d6a97c154 [0x00007f5d6a97bea0+0x2b4]
j  org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run()V+530
j  org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12


I'm not sure what version of version of RHEL you're using. You may well have buggy versions of GTK3 libraries. Perhaps you could try running with SWT_GTK3=0 in your environment (or launch Eclipse with "--launcher.GTK_version 2") and see if that helps.

Brian.
Previous Topic:The selection did not contain anything that can be run on a server
Next Topic:How to pinpoint slow install/startup times?
Goto Forum:
  


Current Time: Sat Dec 14 05:27:23 GMT 2024

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

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

Back to the top