Pasting in editor crashes Eclipse IDE (Spring Tool Suite 3)

Bug #2016290 reported by AJINKYA CHAVAN
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Eclipse
Fix Released
Unknown
openjdk-lts (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fa143c7b3c4, pid=487571, tid=487572
#
# JRE version: OpenJDK Runtime Environment (11.0.18+10) (build 11.0.18+10-post-Ubuntu-0ubuntu122.04)
# Java VM: OpenJDK 64-Bit Server VM (11.0.18+10-post-Ubuntu-0ubuntu122.04, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)

# Problematic frame:
# C [libcairo.so.2+0x643c4] cairo_region_num_rectangles+0x4
#
#
# If you would like to submit a bug report, please visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
# 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: -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Xms256m -Xmx2048m --add-modules=ALL-SYSTEM -Dosgi.module.lock.timeout=10 /home/ajinkya/Documents/JAVA/spring-tool-suite-3.9.18.RELEASE-e4.21.0-linux-gtk-x86_64/sts-bundle/sts-3.9.18.RELEASE//plugins/org.eclipse.equinox.launcher_1.6.300.v20210813-1054.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher /home/ajinkya/Documents/JAVA/spring-tool-suite-3.9.18.RELEASE-e4.21.0-linux-gtk-x86_64/sts-bundle/sts-3.9.18.RELEASE/STS -name STS --launcher.library /home/ajinkya/Documents/JAVA/spring-tool-suite-3.9.18.RELEASE-e4.21.0-linux-gtk-x86_64/sts-bundle/sts-3.9.18.RELEASE//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.300.v20210828-0802/eclipse_11506.so -startup /home/ajinkya/Documents/JAVA/spring-tool-suite-3.9.18.RELEASE-e4.21.0-linux-gtk-x86_64/sts-bundle/sts-3.9.18.RELEASE//plugins/org.eclipse.equinox.launcher_1.6.300.v20210813-1054.jar --launcher.overrideVmargs -exitdata 2002d -product org.springsource.sts.ide -vm /usr/bin/java -vmargs -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Xms256m -Xmx2048m --add-modules=ALL-SYSTEM -Dosgi.module.lock.timeout=10 -jar /home/ajinkya/Documents/JAVA/spring-tool-suite-3.9.18.RELEASE-e4.21.0-linux-gtk-x86_64/sts-bundle/sts-3.9.18.RELEASE//plugins/org.eclipse.equinox.launcher_1.6.300.v20210813-1054.jar

Host: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz, 12 cores, 15G, Ubuntu 22.04.2 LTS
Time: Fri Apr 14 16:51:22 2023 IST elapsed time: 63.603977 seconds (0d 0h 1m 3s)

Revision history for this message
AJINKYA CHAVAN (ajinkya1999) wrote :
Vladimir Petko (vpa1977)
tags: added: fr-4145
Changed in eclipse:
status: Unknown → New
Revision history for this message
Vladimir Petko (vpa1977) wrote :

Note: same thing happens with temurin openjdk builds:
https://github.com/adoptium/adoptium-support/issues/730#issuecomment-1481558140

Could be gtk3 issue.

Vladimir Petko (vpa1977)
tags: added: reviewed
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-lts (Ubuntu):
status: New → Confirmed
Revision history for this message
Vladimir Petko (vpa1977) wrote :

I have tried to reproduce the issue but had no luck so far.

I wonder if it would be possible to provide a sample project and a list of plugins installed to reproduce the crash. Or produce a core dump by adding -XX:+CreateCoredumpOnCrash in eclipse.ini and enable core dumps in your system?

Changed in openjdk-lts (Ubuntu):
status: Confirmed → Incomplete
Changed in eclipse:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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