Bug 1406913

Summary: [abrt] java-1.8.0-openjdk-headless: os::abort(bool)(): java killed by SIGABRT
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: java-1.8.0-openjdkAssignee: Deepak Bhole <dbhole>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 25CC: ahughes, akurtako, andjrobins, dbhole, extras-qa, fedora, jberan, jerboaa, jpopelka, jvanek, krzysztof.daniel, msrb, neugens, niki.guldbrand, omajid, rgrunber, szymon.janc
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/3d937cdfee660728998ab61ad5eca1244fe3d430
Whiteboard: abrt_hash:8c0fd9622f2e27ed6671377666ecb0f2ae44b89c;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1264512 Environment:
Last Closed: 2016-12-21 20:24:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Stadelmann 2016-12-21 20:12:35 UTC
+++ This bug was initially created as a clone of Bug #1264512 +++

Description of problem:
was running eclipse

Version-Release number of selected component:
java-1.8.0-openjdk-headless-1.8.0.60-14.b27.fc23

Additional info:
reporter:       libreport-2.6.2
backtrace_rating: 4
cmdline:        /usr/bin/java -Xms128m -Xmx1024m -Dorg.eclipse.swt.browser.UseWebKitGTK=true -Dhelp.lucene.tokenizer=standard -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init> -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding -XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins -Declipse.p2.skipMovedInstallDetection=true -jar /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.100.v20150826-1000.jar -os linux -ws gtk -arch x86_64 -showsplash /usr/lib64/eclipse//plugins/org.eclipse.platform_4.5.0.v20150826-1000/splash.bmp -launcher /usr/lib64/eclipse/eclipse -name Eclipse --launcher.library /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150826-1000/eclipse_1613.so -startup /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.100.v20150826-1000.jar -protect master --launcher.appendVmargs -exitdata 16e40006 -vm /usr/bin/java -vmargs -Xms128m -Xmx1024m -Dorg.eclipse.swt.browser.UseWebKitGTK=true -Dhelp.lucene.tokenizer=standard -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init> -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding -XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins -Declipse.p2.skipMovedInstallDetection=true -jar /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.100.v20150826-1000.jar
crash_function: os::abort(bool)
executable:     /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.60-14.b27.fc23.x86_64/jre/bin/java
global_pid:     23156
kernel:         4.1.3-200.fc22.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (4 frames)
 #2 os::abort(bool) at /usr/src/debug/java-1.8.0-openjdk-1.8.0.60-14.b27.fc23.x86_64/openjdk/hotspot/src/os/linux/vm/os_linux.cpp:1496
 #3 VMError::report_and_die() at /usr/src/debug/java-1.8.0-openjdk-1.8.0.60-14.b27.fc23.x86_64/openjdk/hotspot/src/share/vm/utilities/vmError.cpp:1060
 #4 JVM_handle_linux_signal(int, siginfo_t*, void*, int) at /usr/src/debug/java-1.8.0-openjdk-1.8.0.60-14.b27.fc23.x86_64/openjdk/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp:541
 #5 signalHandler(int, siginfo_t*, void*) at /usr/src/debug/java-1.8.0-openjdk-1.8.0.60-14.b27.fc23.x86_64/openjdk/hotspot/src/os/linux/vm/os_linux.cpp:4222

Potential duplicate: bug 1207242

--- Additional comment from Jiri Popelka on 2015-09-18 12:06:12 EDT ---



--- Additional comment from Jiri Popelka on 2015-09-18 12:06:13 EDT ---



--- Additional comment from Jiri Popelka on 2015-09-18 12:06:15 EDT ---



--- Additional comment from Jiri Popelka on 2015-09-18 12:06:17 EDT ---



--- Additional comment from Jiri Popelka on 2015-09-18 12:06:18 EDT ---



--- Additional comment from Jiri Popelka on 2015-09-18 12:06:19 EDT ---



--- Additional comment from Jiri Popelka on 2015-09-18 12:06:21 EDT ---



--- Additional comment from Jiri Popelka on 2015-09-18 12:06:22 EDT ---



--- Additional comment from Jiri Popelka on 2015-09-18 12:06:23 EDT ---



--- Additional comment from Jiri Popelka on 2015-09-18 12:06:25 EDT ---



--- Additional comment from Jiri Popelka on 2015-09-18 12:06:26 EDT ---



--- Additional comment from Jiri Popelka on 2015-09-18 12:06:27 EDT ---



--- Additional comment from Deepak Bhole on 2015-09-18 12:42:47 EDT ---

Issue originated in SWT code. Re-assigning.

--- Additional comment from Deepak Bhole on 2015-09-22 11:07:01 EDT ---



--- Additional comment from Jakub Filak on 2015-11-04 05:15:56 EST ---

Turning comment #15 Private because libreport failed to do so. See bug #1277872 for more details.

--- Additional comment from Christian Stadelmann on 2015-11-04 05:20:04 EST ---

@Deepak Bhole: This is no issue in eclipse, I am running into it too, see comment #15

--- Additional comment from Alexander Kurtakov on 2016-01-27 03:02:37 EST ---

Sending back to OpenJDK as per comment #17.

--- Additional comment from Deepak Bhole on 2016-01-27 09:40:12 EST ---

Thanks Christian, Alex. Mario, can you please take a look when you're back from FOSDEM?

--- Additional comment from Mario Torre on 2016-02-23 08:16:11 EST ---

Do you have the accessibility bridge installed?
Does JDownloader use the gtk look and feel? In that case, can you try to set a different one?

--- Additional comment from Christian Stadelmann on 2016-02-23 09:49:18 EST ---

I have neither java-1.8.0-openjdk-accessibility nor java-atk-wrapper installed.

JDownloader uses a custom look and feel based on Synthetica (http://www.jyloo.com/synthetica/). I cannot force it to use something else. I can just change the theme on this LaF, but I doubt that will fix the issue since I already tested 2 themes (Standard and Default).

Can I force java to not use gtk2? Fedora's LibreOffice package recently did that [1] [2], but I don't think I can recompile openjdk. This is due to Gtk+ 2 and 3 code in one process will crash.

Maybe that's the info you were looking for:
JDownloader doesn't have any library matching "glib" or "gtk" in /proc/[pid]/maps and /proc/[pid]/fd/.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1285356
[2] https://pkgs.fedoraproject.org/cgit/rpms/libreoffice.git/commit/?h=f23&id=671fecf0cf9f5b5f00d05b39943a423da4ed5451

I'd be helping with more data if you can tell me how to get it. I tried valgrind but I'm getting more than thousand "Invalid write of size 4" errors before JDownloader even shows a GUI. This happens even with Java option -Djava.compiler=NONE and --smc-check=all valgrind option. For Firefox/Thunderbird there is this useful guideline [3] for debugging. Do you have something alike for Java? There might be some info in [4], but I am locked out.

I'm also not sure this issue and some of the valgrind warnings aren't caused by JDownloader's native libraries (it has quite a lot of those). But this "Invalid write of size 4" also happens when just running 
$ valgrind --smc-check=all java -version
or
$ valgrind java -version

[3] https://fedoraproject.org/wiki/Debugging_guidelines_for_Mozilla_products
[4] https://access.redhat.com/articles/1277173

--- Additional comment from Niki Guldbrand on 2016-05-07 22:42:32 EDT ---

Similar problem has been detected:

Just installed a plugin from the Eclipse market place, and restarted Eclipse when it asked me to, by pressing the 'Yes' button.

reporter:       libreport-2.6.4
backtrace_rating: 4
cmdline:        /usr/bin/java -Xms128m -Xmx1024m -Dorg.eclipse.swt.browser.UseWebKitGTK=true -Dhelp.lucene.tokenizer=standard -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init> -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding -XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins -Dp2.fragments=/usr/share/eclipse/droplets,/usr/lib64/eclipse/droplets -Declipse.p2.skipMovedInstallDetection=true -jar /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.100.v20160416-2200.jar -data file:/home/niki/workspace/ -os linux -ws gtk -arch x86_64 -showsplash /usr/lib64/eclipse//plugins/org.eclipse.platform_4.5.2.v20160416-2200/splash.bmp -launcher /usr/lib64/eclipse/eclipse -name Eclipse --launcher.library /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20160416-2200/eclipse_1613.so -startup /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.100.v20160416-2200.jar -protect master --launcher.appendVmargs -exitdata 1a00018 -vm /usr/bin/java -vmargs -Xms128m -Xmx1024m -Dorg.eclipse.swt.browser.UseWebKitGTK=true -Dhelp.lucene.tokenizer=standard -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init> -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding -XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins -Dp2.fragments=/usr/share/eclipse/droplets,/usr/lib64/eclipse/droplets -Declipse.p2.skipMovedInstallDetection=true -jar /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.100.v20160416-2200.jar
crash_function: os::abort(bool)
executable:     /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.91-2.b14.fc23.x86_64/jre/bin/java
global_pid:     17436
kernel:         4.4.8-300.fc23.x86_64
package:        java-1.8.0-openjdk-headless-1.8.0.91-2.b14.fc23
reason:         java killed by SIGABRT
runlevel:       N 5
type:           CCpp
uid:            1000

--- Additional comment from Christian Stadelmann on 2016-09-28 16:25:07 EDT ---

This issue is still present on Fedora 25, same C backtrace applies. Can you please change the version info?

--- Additional comment from Fedora End Of Life on 2016-11-24 07:32:21 EST ---

This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

--- Additional comment from Fedora End Of Life on 2016-12-20 09:40:14 EST ---

Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 1 Deepak Bhole 2016-12-21 20:24:52 UTC
Re-opening the original. Marking this one dupe.

*** This bug has been marked as a duplicate of bug 1264512 ***