eclipse 2024-03 crashes with SIGSEV

Bug #2066370 reported by Flack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-21 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I updated to Kubuntu 24.04 today and my Eclipse (downloaded manually, not installed via apt) is now constantly crashing within a couple of minutes of launch. Here's example output when starting eclipse from the shell:

eclipse -clean
WARNING: Using incubator modules: jdk.incubator.vector
Mai 22, 2024 2:45:34 PM org.apache.aries.spifly.BaseActivator log
INFORMATION: Registered provider org.slf4j.simple.SimpleServiceProvider of service org.slf4j.spi.SLF4JServiceProvider in bundle slf4j.simple
TODO: Add langauge dependent code here...
TODO: Add help support here...
TODO: Add help support here...
TODO: Add helkp support here...
TODO: Add help supprot here...
TODO: Add jelp support here...
TODO: Add help support here...
TODO: Add help support here...
TODO: Add help support here..
Add reset ZIP Type cache...
notify type hierarchies
Mai 22, 2024 2:45:43 PM org.apache.lucene.store.MemorySegmentIndexInputProvider <init>
INFORMATION: Using MemorySegmentIndexInput with Java 21 or later; to disable start with -Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false
Bu possible. type should be unresolved...
TODO: Require to check for ExternalProjectFragment compatibility.
TODO: Require to check for ExternalProjectFragment compatibility.
Bu possible. type should be unresolved...
Bu possible. type should be unresolved...
Bu possible. type should be unresolved...
Bu possible. type should be unresolved...
Bu possible. type should be unresolved...
Bu possible. type should be unresolved...
Bu possible. type should be unresolved...
Bu possible. type should be unresolved...
Bu possible. type should be unresolved...
notify type hierarchies
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007080b9f5aef5, pid=36021, tid=36022
#
# JRE version: OpenJDK Runtime Environment (21.0.3+9) (build 21.0.3+9-Ubuntu-1ubuntu1)
# Java VM: OpenJDK 64-Bit Server VM (21.0.3+9-Ubuntu-1ubuntu1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [libgtk-3.so.0+0x35aef5] gtk_widget_is_sensitive+0x25
#
# 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/flack/git/insm/core.36021)
#
# An error report file with more information is saved as:
# hs_err_pid36021.log
[19,730s][warning][os] Loading hsdis library failed
[thread 36104 also had an error]
#
# If you would like to submit a bug report, please visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-21
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Revision history for this message
Flack (ccbflack) wrote :
Revision history for this message
Vladimir Petko (vpa1977) wrote :

Hi,

It seems that accessibility might be at fault. Would it be possible to try the following workaround.

Add

export NO_AT_BRIDGE=1

globally (/etc/profile.d) and relogin?

Best Regards,
 Vladimir.

Revision history for this message
Flack (ccbflack) wrote :

Hi,

I've made this change now and had Eclipse open for a couple of hours, so far it is stable, so it looks like this indeed fixes it.

Thanks for the quick reply!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.