Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1523114 - eclipse: Segfault in libjavascriptcoregtk-4.0.so.18
Summary: eclipse: Segfault in libjavascriptcoregtk-4.0.so.18
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lev Ufimtsev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-07 09:28 UTC by Mikolaj Izdebski
Modified: 2017-12-12 11:16 UTC (History)
11 users (show)

Fixed In Version: eclipse-4.7.2-0.2.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 11:16:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
crash log (137.19 KB, text/plain)
2017-12-07 09:29 UTC, Mikolaj Izdebski
no flags Details

Description Mikolaj Izdebski 2017-12-07 09:28:31 UTC
Description of problem:
Eclipse segfaults during shutdown.

Version-Release number of selected component (if applicable):
eclipse-swt-4.7.1-6.fc27.x86_64
webkitgtk4-2.18.3-1.fc27.x86_64

Steps to Reproduce:
1. rm -rf ~/.eclipse /tmp/ws
2. eclipse -debug -data /tmp/ws/
3. Once main shell shows up, close it and confirm exit.

Actual results:
Error sending IPC message: Broken pipe
Error sending IPC message: Broken pipe
1   0x7fc3959f7297 /lib64/libjavascriptcoregtk-4.0.so.18(WTFCrash+0x17) [0x7fc3959f7297]
2   0x7fc389c905b1 /lib64/libwebkit2gtk-4.0.so.37(+0x6165b1) [0x7fc389c905b1]
3   0x7fc389cd5aba /lib64/libwebkit2gtk-4.0.so.37(+0x65baba) [0x7fc389cd5aba]
4   0x7fc389cd5f79 /lib64/libwebkit2gtk-4.0.so.37(+0x65bf79) [0x7fc389cd5f79]
5   0x7fc389e8e620 /lib64/libwebkit2gtk-4.0.so.37(+0x814620) [0x7fc389e8e620]
6   0x7fc43d757689 /lib64/libgobject-2.0.so.0(g_object_unref+0x1b9) [0x7fc43d757689]
7   0x7fc47672fb88 /lib64/libc.so.6(+0x3bb88) [0x7fc47672fb88]
8   0x7fc47672fbda /lib64/libc.so.6(+0x3bbda) [0x7fc47672fbda]
9   0x7fc475d4754c /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.fc27.x86_64/jre/lib/amd64/server/libjvm.so(+0x6a754c) [0x7fc475d4754c]
10  0x7fc47620ce46 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.fc27.x86_64/jre/lib/amd64/server/libjvm.so(+0xb6ce46) [0x7fc47620ce46]
11  0x7fc47620b1c5 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.fc27.x86_64/jre/lib/amd64/server/libjvm.so(+0xb6b1c5) [0x7fc47620b1c5]
12  0x7fc47620bb3d /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.fc27.x86_64/jre/lib/amd64/server/libjvm.so(+0xb6bb3d) [0x7fc47620bb3d]
13  0x7fc47620bf17 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.fc27.x86_64/jre/lib/amd64/server/libjvm.so(+0xb6bf17) [0x7fc47620bf17]
14  0x7fc475fb9982 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.fc27.x86_64/jre/lib/amd64/server/libjvm.so(+0x919982) [0x7fc475fb9982]
15  0x7fc47710a609 /lib64/libpthread.so.0(+0x7609) [0x7fc47710a609]
16  0x7fc47680de6f /lib64/libc.so.6(clone+0x3f) [0x7fc47680de6f]
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fc3959f729c, pid=26795, tid=0x00007fc43f4f4700
#
# JRE version: OpenJDK Runtime Environment (8.0_151-b12) (build 1.8.0_151-b12)
# Java VM: OpenJDK 64-Bit Server VM (25.151-b12 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libjavascriptcoregtk-4.0.so.18+0xd7729c]  WTFCrash+0x1c
#
# Core dump written. Default location: /home/kojan/core or core.26795
#
# An error report file with more information is saved as:
# /home/kojan/hs_err_pid26795.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

Comment 1 Mikolaj Izdebski 2017-12-07 09:29:46 UTC
Created attachment 1364121 [details]
crash log

Comment 2 Alexander Kurtakov 2017-12-07 09:40:22 UTC
Leo, what is going on here? Is this yet another instance of the not backported patch?

Comment 3 Lev Ufimtsev 2017-12-07 14:25:37 UTC
There isn't enough to say what's going on. Kinda looks like stuff I've fixed already, but can't say conclusively. 

@Mikolaj, please kindly test with latest nightly. If issue still occurs please post steps to reproduce:
http://download.eclipse.org/eclipse/downloads/

Comment 4 Mikolaj Izdebski 2017-12-07 14:33:02 UTC
Not reproducible with eclipse-SDK-I20171206-2000-linux-gtk-x86_64

Comment 6 Alexander Kurtakov 2017-12-07 14:44:17 UTC
(In reply to Lev Ufimtsev from comment #5)
> (In reply to Mikolaj Izdebski from comment #4)
> > Not reproducible with eclipse-SDK-I20171206-2000-linux-gtk-x86_64
> 
> Thanks. I've backported things to 4.7.2, so should not occur in next release.

You should verify that the latest build in Fedora has the patches in question. Reopening so you do that, coordinate with Mat. Please do not close bug until this happens.

> 
> Thanks again for bug report.
> 
> Feel free to file webkit related crashes upstream, I generally find them
> much faster than in the redhat bugzilla.

If the crash happens with our rpm but not with upstream this is the corect place to handle them.

> https://bugs.eclipse.org/bugs/enter_bug.cgi?alias=&assigned_to=platform-swt-
> inbox%40eclipse.
> org&attach_text=&blocked=&bug_file_loc=http%3A%2F%2F&bug_severity=normal&bug_
> status=NEW&comment=&component=SWT&contenttypeentry=&contenttypemethod=autodet
> ect&contenttypeselection=text%2Fplain&data=&deadline=&defined_groups=1&depend
> son=&description=&estimated_time=&flag_type-1=X&flag_type-11=X&flag_type-
> 12=X&flag_type-13=X&flag_type-14=X&flag_type-15=X&flag_type-16=X&flag_type-
> 17=X&flag_type-2=X&flag_type-4=X&flag_type-6=X&flag_type-7=X&flag_type-
> 8=X&form_name=enter_bug&keywords=&maketemplate=Remember%20values%20as%20bookm
> arkable%20template&op_sys=Linux&product=Platform&qa_contact=&rep_platform=PC&
> requestee_type-1=&requestee_type-2=&short_desc=&version=4.8

Comment 7 Mikolaj Izdebski 2017-12-07 15:11:43 UTC
Looks like these patches were applied in rawhide, as it's not reproducible with:
eclipse-swt-4.7.2-0.2.fc28.x86_64
webkitgtk4-2.19.2-3.fc28.x86_64

Comment 8 Mat Booth 2017-12-07 16:09:11 UTC
(In reply to Mikolaj Izdebski from comment #7)
> Looks like these patches were applied in rawhide, as it's not reproducible
> with:
> eclipse-swt-4.7.2-0.2.fc28.x86_64
> webkitgtk4-2.19.2-3.fc28.x86_64

I like it when things are already fixed :-)

Comment 9 Alexander Kurtakov 2017-12-07 16:13:00 UTC
So should it be closed? If yes please do.

Comment 10 Mat Booth 2017-12-07 16:14:49 UTC
I added this bug to the update currently in updates-testing:

https://bodhi.fedoraproject.org/updates/FEDORA-2017-b10415f6b6

Bodhi should close the bug automatically when it gets to stable.

Comment 11 Mikolaj Izdebski 2017-12-07 16:19:36 UTC
Ah sorry, I should've tried with updates-testing. I confirm that latest update fixes the crash.

Comment 12 Lev Ufimtsev 2017-12-07 18:24:11 UTC
(In reply to Mikolaj Izdebski from comment #11)
> Ah sorry, I should've tried with updates-testing. I confirm that latest
> update fixes the crash.

Thanks!

Comment 13 Fedora Update System 2017-12-12 11:16:40 UTC
apiguardian-1.0.0-1.fc27, eclipse-4.7.2-0.2.fc27, eclipse-egit-4.9.0-1.fc27, eclipse-egit-github-4.9.0-1.fc27, eclipse-jgit-4.9.0-2.fc27, eclipse-m2e-core-1.8.2-2.fc27, eclipse-xsd-2.13.0-1.fc27, jmh-1.13-5.fc27, jopt-simple-5.0.4-1.fc27, junit5-5.0.0-1.fc27, opentest4j-1.0.0-1.fc27, univocity-parsers-2.5.5-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.