Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eclipse editing fails #1105

Closed
1 task
dmotoole opened this issue Jun 2, 2024 · 2 comments
Closed
1 task

Eclipse editing fails #1105

dmotoole opened this issue Jun 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@dmotoole
Copy link

dmotoole commented Jun 2, 2024

Please provide a brief summary of the bug

A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x000070e4571ba8b8, pid=29646, tid=29647
I get this error within about 1 minute is editing any java module.
This is using Ubuntu 22.04 LTS and the latest OpenJDK and Eclipse.

Did you test with the latest update version?

  • Yes

Please provide steps to reproduce where possible

This is not a runtime error, so no code is needed. This failure occurs after:

  1. Startup Eclipse
  2. Locate a source module in Package Exporer
  3. Edit the package: add, change or delete some line or lines
    Fatal error occurs within 1 minute of editing. No particular editing is needed.

Expected Results

Expected results are simply to maintain editing functionality and not fatal error.

Actual Results

Actual results are a fatal error -- the app simply disappears with a crash dump produced. Error is SIGSEGV.

What Java Version are you using?

openjdk 21.0.2 2024-01-16 OpenJDK Runtime Environment (build 21.0.2+13-Ubuntu-122.04.1) OpenJDK 64-Bit Server VM (build 21.0.2+13-Ubuntu-122.04.1, mixed mode, sharing)

What is your operating system and platform?

Ubuntu 22.04.4 on x64 architecture (Intel i5-14600K) with 32GB DDR5 RAM.

How did you install Java?

sudo apt install OpenJDK
Also used: sudo snap install eclipse --classic

Did it work before?

This is a new workstation, new hardware, fresh install of OS, Eclipse and java.  I initially tried sudo apt install default-jdk and this got the same error.  I didn't save version information, just moved to OpenJDK and the problem continues.

I use Ubuntu 22.04 on a HP laptop with the same Eclipse and with  and it works without incident. Installed with default-jdk.

Did you test with other Java versions?

As notes, the problem started with default-jdk and then continues with OpenJDK.

Relevant log output

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000070e4571ba8b8, pid=29646, tid=29647
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.10+7 (17.0.10+7) (build 17.0.10+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (17.0.10+7, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libwebkit2gtk-4.0.so.37+0xdba8b8]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/dennis/core.29646)
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  S U M M A R Y ------------

Command Line: -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclientjava -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Declipse.e4.inject.javax.warning=false -Xms256m -Xmx2048m -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Djava.security.manager=allow /snap/eclipse/87//plugins/org.eclipse.equinox.launcher_1.6.700.v20240213-1244.jar -os linux -ws gtk -arch x86_64 -showsplash /snap/eclipse/87//plugins/org.eclipse.epp.package.common_4.31.0.20240307-1200/splash.bmp -launcher /snap/eclipse/87/eclipse -name Eclipse --launcher.library /snap/eclipse/87//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.900.v20240129-1338/eclipse_11900.so -startup /snap/eclipse/87//plugins/org.eclipse.equinox.launcher_1.6.700.v20240213-1244.jar --launcher.appendVmargs -exitdata c -product org.eclipse.epp.package.java.product -configuration /home/dennis/snap/eclipse/87/amd64/configuration -vm /snap/eclipse/87//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_17.0.10.v20240120-1143/jre/bin/java -vmargs -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclientjava -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Declipse.e4.inject.javax.warning=false -Dsun.java.command=Eclipse -Xms256m -Xmx2048m -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Djava.security.manager=allow -jar /snap/eclipse/87//plugins/org.eclipse.equinox.launcher_1.6.700.v20240213-1244.jar

Host: Intel(R) Core(TM) i5-14600K, 20 cores, 31G, Ubuntu 22.04.4 LTS
Time: Sat Jun  1 16:07:56 2024 EDT elapsed time: 945.174090 seconds (0d 0h 15m 45s)

---------------  T H R E A D  ---------------

Current thread (0x000070e6080273c0):  JavaThread "main" [_thread_in_native, id=29647, stack(0x000070e60c2d2000,0x000070e60c3d2000)]

Stack: [0x000070e60c2d2000,0x000070e60c3d2000],  sp=0x000070e60c3ceeb0,  free space=1011k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libwebkit2gtk-4.0.so.37+0xdba8b8]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 6865  org.eclipse.swt.internal.gtk3.GTK3.gtk_main_iteration_do(Z)Z (0 bytes) @ 0x000070e5fd99eb61 [0x000070e5fd99eb20+0x0000000000000041]
J 20909 c2 org.eclipse.swt.widgets.Display.readAndDispatch()Z (88 bytes) @ 0x000070e5fe3b9194 [0x000070e5fe3b90c0+0x00000000000000d4]
j  org.eclipse.jface.internal.text.html.BrowserInformationControl.setVisible(Z)V+58
j  org.eclipse.jface.text.AbstractInformationControlManager.showInformationControl(Lorg/eclipse/swt/graphics/Rectangle;)V+5
j  org.eclipse.jface.text.AbstractInformationControlManager.internalShowInformationControl(Lorg/eclipse/swt/graphics/Rectangle;Ljava/lang/Object;)V+344
j  org.eclipse.jface.text.AbstractInformationControlManager.presentInformation()V+70
j  org.eclipse.jface.text.AbstractInformationControlManager.setInformation(Ljava/lang/Object;Lorg/eclipse/swt/graphics/Rectangle;)V+11
j  org.eclipse.jface.text.contentassist.AdditionalInfoController.computeInformation()V+97
j  org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation()V+11
j  org.eclipse.jface.text.AbstractInformationControlManager.showInformation()V+8
j  org.eclipse.jface.text.contentassist.AdditionalInfoController.showInformation(Lorg/eclipse/jface/text/contentassist/ICompletionProposal;Ljava/lang/Object;)V+70
j  org.eclipse.jface.text.contentassist.AdditionalInfoController$1.showInformation(Lorg/eclipse/jface/text/contentassist/ICompletionProposal;Ljava/lang/Object;)V+25
j  org.eclipse.jface.text.contentassist.AdditionalInfoController$Timer.lambda$1(Ljava/lang/Object;)V+18
j  org.eclipse.jface.text.contentassist.AdditionalInfoController$Timer$$Lambda$1885+0x0000000101192a28.run()V+8
J 12723 c1 org.eclipse.swt.widgets.RunnableLock.run(Lorg/eclipse/swt/widgets/Display;)V (50 bytes) @ 0x000070e5f6faa324 [0x000070e5f6faa1e0+0x0000000000000144]
J 20909 c2 org.eclipse.swt.widgets.Display.readAndDispatch()Z (88 bytes) @ 0x000070e5fe3b9470 [0x000070e5fe3b90c0+0x00000000000003b0]
j  org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run()V+564
j  org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
j  org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(Lorg/eclipse/e4/ui/model/application/MApplicationElement;Lorg/eclipse/e4/core/contexts/IEclipseContext;)Ljava/lang/Object;+57
j  org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(Lorg/eclipse/e4/ui/model/application/MApplicationElement;)V+20
j  org.eclipse.ui.internal.Workbench.lambda$3(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;[I)V+392
j  org.eclipse.ui.internal.Workbench$$Lambda$331+0x00000001002bb458.run()V+12
j  org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
j  org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+16
j  org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j  org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+113
j  org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+138
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+85
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+79
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+99
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+132
v  ~StubRoutines::call_stub
j  jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 java.base@17.0.10
j  jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+133 java.base@17.0.10
j  jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 java.base@17.0.10
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59 java.base@17.0.10
j  org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+202
j  org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+159
j  org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
j  org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10
v  ~StubRoutines::call_stub

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000008

Registers:
RAX=0x0000000000000000, RBX=0x000070e44b008240, RCX=0x0000000000000003, RDX=0x000070e6f621d907
RSP=0x000070e60c3ceeb0, RBP=0x000070e60c3ceeb0, RSI=0x000070e6080008e0, RDI=0x0000000000000000
R8 =0x0000000000000000, R9 =0x000070e60c3cec60, R10=0x0000000000000000, R11=0x6695348496c65a53
R12=0x000070e44b000730, R13=0x000070e44b174580, R14=0x000070e60c3cef08, R15=0x000070e60c3cef10
RIP=0x000070e4571ba8b8, EFLAGS=0x0000000000010246, CSGSFS=0x002b000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e


Register to memory mapping:

RAX=0x0 is NULL
RBX=0x000070e44b008240 points into unknown readable memory: 0x000070e45acd35f8 | f8 35 cd 5a e4 70 00 00
RCX=0x0000000000000003 is an unknown value
RDX=0x000070e6f621d907 is an unknown value
RSP=0x000070e60c3ceeb0 is pointing into the stack for thread: 0x000070e6080273c0
RBP=0x000070e60c3ceeb0 is pointing into the stack for thread: 0x000070e6080273c0
RSI=0x000070e6080008e0 points into unknown readable memory: 0x0002000500060006 | 06 00 06 00 05 00 02 00
RDI=0x0 is NULL
R8 =0x0 is NULL
R9 =0x000070e60c3cec60 is pointing into the stack for thread: 0x000070e6080273c0
R10=0x0 is NULL
R11=0x6695348496c65a53 is an unknown value
R12=0x000070e44b000730 points into unknown readable memory: 0x000070e44b015e50 | 50 5e 01 4b e4 70 00 00
R13=0x000070e44b174580 points into unknown readable memory: 0x000070e44b0bc2a0 | a0 c2 0b 4b e4 70 00 00
R14=0x000070e60c3cef08 is pointing into the stack for thread: 0x000070e6080273c0
R15=0x000070e60c3cef10 is pointing into the stack for thread: 0x000070e6080273c0


Top of Stack: (sp=0x000070e60c3ceeb0)
0x000070e60c3ceeb0:   0000000000000000 0fa76449092da300
0x000070e60c3ceec0:   000070e45abce040 000070e44b03aed0
0x000070e60c3ceed0:   000070e44b008240 000070e4571baa00
0x000070e60c3ceee0:   000070e45abce040 000070e45abce040
0x000070e60c3ceef0:   000070e44b040340 000070e456f2b56b
0x000070e60c3cef00:   000070e60a17b9b0 000070e44b004a30
0x000070e60c3cef10:   0000000000000001 0000000000000001
0x000070e60c3cef20:   000070e44b01de20 0fa76449092da300
0x000070e60c3cef30:   0000000000000002 0000000000000000
0x000070e60c3cef40:   000070e44b000680 000070e44b174580
0x000070e60c3cef50:   000070e44b040340 0000000000000005
0x000070e60c3cef60:   0000000000000000 000070e456ff9e9c
0x000070e60c3cef70:   000070e44b040340 0fa76449092da300
0x000070e60c3cef80:   0000000000000000 0000000000000000
0x000070e60c3cef90:   000070e44b040340 000070e60c3ceff0
0x000070e60c3cefa0:   0000000000000000 000070e456f22635
0x000070e60c3cefb0:   000070e44b174540 000070e44b040340
0x000070e60c3cefc0:   000070e44b0403a5 000070e44b174580
0x000070e60c3cefd0:   0000000000000000 000070e456f2476a
0x000070e60c3cefe0:   000070e6085847a0 0000000000000007
0x000070e60c3ceff0:   000070e44b174580 0fa76449092da300
0x000070e60c3cf000:   0000000000000010 0000000000000000
0x000070e60c3cf010:   000070e44b0140e0 000070e44b004f10
0x000070e60c3cf020:   000070e44b0140e0 000070e60949e910
0x000070e60c3cf030:   000070e6084f29b0 000070e455d130ed
0x000070e60c3cf040:   0000000000000001 000070e609469360
0x000070e60c3cf050:   000070e609469360 000070e455d735d0
0x000070e60c3cf060:   0000000000000001 000070e455d735dd
0x000070e60c3cf070:   000070e609469360 000070e455d73f23
0x000070e60c3cf080:   000070e6084f2a70 000070e609469360
0x000070e60c3cf090:   0000000000000000 0000000000000000
0x000070e60c3cf0a0:   000070e455d73ed0 000070e5c2a3ac44 

Instructions: (pc=0x000070e4571ba8b8)
0x000070e4571ba7b8:   1f 84 00 00 00 00 00 90 f3 0f 1e fa 55 53 48 83
0x000070e4571ba7c8:   ec 18 64 48 8b 04 25 28 00 00 00 48 89 44 24 08
0x000070e4571ba7d8:   31 c0 48 83 7f 20 00 74 1f 48 8b 44 24 08 64 48
0x000070e4571ba7e8:   2b 04 25 28 00 00 00 0f 85 dc 00 00 00 48 83 c4
0x000070e4571ba7f8:   18 5b 5d c3 0f 1f 40 00 48 89 fb 48 8b 7f 08 48
0x000070e4571ba808:   c7 04 24 00 00 00 00 48 89 e5 e8 29 fb 00 00 48
0x000070e4571ba818:   89 c7 e8 61 1a 93 ff 48 89 ee 48 89 c7 e8 86 5d
0x000070e4571ba828:   93 ff 4c 8b 43 20 48 89 c7 48 89 43 20 4d 85 c0
0x000070e4571ba838:   74 0c 4c 89 c7 e8 ce 6c 92 ff 48 8b 7b 20 4c 8b
0x000070e4571ba848:   04 24 48 85 ff 74 69 4d 85 c0 74 14 4c 89 c7 48
0x000070e4571ba858:   c7 04 24 00 00 00 00 e8 5c 7f 92 ff 48 8b 7b 20
0x000070e4571ba868:   48 89 ee e8 80 82 92 ff 85 c0 74 1f 48 8b 3c 24
0x000070e4571ba878:   48 85 ff 0f 84 60 ff ff ff 48 c7 04 24 00 00 00
0x000070e4571ba888:   00 e8 32 7f 92 ff e9 4e ff ff ff 48 8b 04 24 48
0x000070e4571ba898:   8d 15 5a 8e a3 02 be 04 00 00 00 31 ff 48 8b 48
0x000070e4571ba8a8:   08 31 c0 e8 20 8e 92 ff eb fe 66 0f 1f 44 00 00
0x000070e4571ba8b8:   49 8b 48 08 48 8d 15 05 8e a3 02 be 04 00 00 00
0x000070e4571ba8c8:   31 c0 e8 01 8e 92 ff eb fe e8 5a 78 92 ff 66 2e
0x000070e4571ba8d8:   0f 1f 84 00 00 00 00 00 f3 0f 1e fa 55 48 89 f1
0x000070e4571ba8e8:   48 89 fd 53 48 83 ec 08 48 8b 77 50 48 85 f6 0f
0x000070e4571ba8f8:   84 92 00 00 00 48 89 ca 48 8d 41 ff 8b 7e f8 48
0x000070e4571ba908:   c1 e2 20 48 29 d0 48 89 c2 48 c1 ea 16 48 31 d0
0x000070e4571ba918:   48 89 c2 48 83 e8 01 48 c1 e2 0d 48 29 d0 48 89
0x000070e4571ba928:   c2 48 c1 ea 08 48 31 d0 48 8d 04 c0 48 89 c2 48
0x000070e4571ba938:   c1 ea 0f 48 31 c2 48 89 d0 48 83 ea 01 48 c1 e0
0x000070e4571ba948:   1b 48 29 c2 48 89 d0 48 c1 e8 1f 48 31 c2 21 fa
0x000070e4571ba958:   89 d0 48 c1 e0 04 48 01 f0 4c 8b 00 49 39 c8 74
0x000070e4571ba968:   37 45 31 c9 eb 1c 66 90 41 83 c1 01 44 01 ca 21
0x000070e4571ba978:   fa 89 d0 48 c1 e0 04 48 01 f0 4c 8b 00 49 39 c8
0x000070e4571ba988:   74 16 4d 85 c0 75 e1 48 83 c4 08 48 89 ef 5b 5d
0x000070e4571ba998:   e9 53 fd ff ff 0f 1f 00 48 8b 58 08 48 85 db 74
0x000070e4571ba9a8:   e6 48 8b 03 48 89 df ff 50 10 85 c0 74 42 48 8b 



Online cpus: 0-19
Offline cpus: 
BIOS frequency limitation: <Not Available>
Frequency switch latency (ns): 0
Available cpu frequencies: <Not Available>
Current governor: powersave
Core performance/turbo boost: <Not Available>

Memory: 4k page, physical 32590172k(13476356k free), swap 82029560k(82029560k free)
Page Sizes: 4k

vm_info: OpenJDK 64-Bit Server VM (17.0.10+7) for linux-amd64 JRE (17.0.10+7), built on Jan 16 2024 00:00:00 by "admin" with gcc 10.3.0
@dmotoole dmotoole added the bug Something isn't working label Jun 2, 2024
@dmotoole
Copy link
Author

dmotoole commented Jun 2, 2024

Steps to reproduce should say edit the module, not the package.
Platform details include integrated graphics, no graphics card.

@karianna
Copy link
Contributor

karianna commented Jun 3, 2024

See #1060

@karianna karianna closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants