Bug 560815 - Clicking on "Scope:" link in help window crashes JRE/Eclipse
Summary: Clicking on "Scope:" link in help window crashes JRE/Eclipse
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.14   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-05 08:26 EST by Thomas Gatterweh CLA
Modified: 2022-09-21 13:59 EDT (History)
5 users (show)

See Also:


Attachments
error report file (194.51 KB, text/plain)
2020-03-05 08:26 EST, Thomas Gatterweh CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Gatterweh CLA 2020-03-05 08:26:47 EST
Created attachment 282016 [details]
error report file

On Ubuntu 18.04.3 or .4 LTS versions, when you open "Help"->"Help Contents" and click on the "Scope:" link in the search area on top of the page, jre and Eclipse crashes. It does not happen with Ubuntu 18.04, just with the latest updates, e.g., 18.04.4.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f594a22fddf, pid=16869, tid=0x00007f59fc55f700
#
# JRE version: OpenJDK Runtime Environment (8.0_242-b08) (build 1.8.0_242-8u242-b08-0ubuntu3~18.04-b08)
# Java VM: OpenJDK 64-Bit Server VM (25.242-b08 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libwebkit2gtk-4.0.so.37+0x87bddf]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/tgatterw/hs_err_pid16869.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

.log file is attached.

Obviously the crash happens in libwebkit2gtk, however, the user sees a crash of Eclipse when doing an action in Eclipse, so hopefully the problem can be addressed from Eclipse side.
Comment 1 Andrey Loskutov CLA 2020-03-05 15:49:42 EST
Can you please provide your gtk3 version, even better all swt* values from About Configuration details dialog?
Comment 2 Thomas Gatterweh CLA 2020-03-06 05:46:43 EST
The version of libgtk-3-0 is 3.22.30-1ubuntu4

The version of libwebkit2gtk-4.0-37 is 2.26.4-0ubuntu0.18.04.1

The values from About Configuration:
org.eclipse.swt.internal.deviceZoom=100
org.eclipse.swt.internal.gdk.backend=x11
org.eclipse.swt.internal.gtk.theme=Ambiance
org.eclipse.swt.internal.gtk.version=3.22.30
org.eclipse.swt.internal.webkitgtk.version=2.26.4

I hope that helps.
Comment 3 Taimoor Mirza CLA 2020-05-08 05:10:08 EDT
While working on another issue, I noticed similar crash. I updated my libwebkit2gtk version from 2.26 to 2.28 and it no longer crashes. It still does not perform required functionality but libwebkit2gtk does not crash
Comment 4 Stephen Ranger CLA 2022-09-21 13:59:51 EDT
This is an issue for me on Ubuntu 22.04 with libwebkit2gtk-4.0-37 on version 2.36.7-0ubuntu0.22.04.1.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f52b893b336, pid=131640, tid=131641
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.1+12 (17.0.1+12) (build 17.0.1+12)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (17.0.1+12, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libwebkit2gtk-4.0.so.37+0xbc8336]
#