Bug 1051987 - [abrt] java-1.7.0-openjdk-devel: crash_handler(): java killed by SIGABRT
Summary: [abrt] java-1.7.0-openjdk-devel: crash_handler(): java killed by SIGABRT
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: glib2
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:8cc04f00d5af07957748d5a58d0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-13 03:44 UTC by cnangel
Modified: 2015-06-30 00:50 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-30 00:50:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (208.97 KB, text/plain)
2014-01-13 03:44 UTC, cnangel
no flags Details
File: cgroup (172 bytes, text/plain)
2014-01-13 03:44 UTC, cnangel
no flags Details
File: core_backtrace (113.79 KB, text/plain)
2014-01-13 03:44 UTC, cnangel
no flags Details
File: dso_list (45.61 KB, text/plain)
2014-01-13 03:45 UTC, cnangel
no flags Details
File: environ (2.04 KB, text/plain)
2014-01-13 03:45 UTC, cnangel
no flags Details
File: hs_err.log (124.42 KB, text/plain)
2014-01-13 03:45 UTC, cnangel
no flags Details
File: limits (1.29 KB, text/plain)
2014-01-13 03:45 UTC, cnangel
no flags Details
File: maps (95.23 KB, text/plain)
2014-01-13 03:45 UTC, cnangel
no flags Details
File: open_fds (38.95 KB, text/plain)
2014-01-13 03:45 UTC, cnangel
no flags Details
File: proc_pid_status (927 bytes, text/plain)
2014-01-13 03:45 UTC, cnangel
no flags Details
File: var_log_messages (338 bytes, text/plain)
2014-01-13 03:45 UTC, cnangel
no flags Details
Backtrace of GLib call to pthread_key_create (3.16 KB, text/plain)
2014-01-31 23:40 UTC, Elliott Baron
no flags Details
Reproducer for GLib segfault (930 bytes, text/plain)
2014-01-31 23:41 UTC, Elliott Baron
no flags Details

Description cnangel 2014-01-13 03:44:47 UTC
Version-Release number of selected component:
java-1.7.0-openjdk-devel-1.7.0.60-2.4.3.0.fc20

Additional info:
reporter:       libreport-2.1.11
.gdb_history:   
backtrace_rating: 3
cmdline:        /usr/lib/jvm/java/bin/java -Xbootclasspath/a:/usr/lib/jvm/java/lib/tools.jar:/usr/lib/jvm/java/lib/dt.jar -Djdeveloper.system_http_proxy=DIRECT -Djdeveloper.system_http_non_proxy_hosts= -Dsun.java2d.noddraw=true -Dnetbeans.home=../../ide/bin/../../netbeans/platform/ -Dnetbeans.logger.console=true -Dexcluded.modules=org.eclipse.osgi -Dide.cluster.dirs=../../ide/bin/../../netbeans/fcpbridge/:../../ide/bin/../../netbeans/ide/:../../ide/bin/../../netbeans/../ -Xverify:none -Doracle.ide.extension.HooksProcessingMode=LAZY -Dorg.eclipse.equinox.simpleconfigurator.configUrl=file:bundles.info -Dosgi.bundles=file:../../ide/bin/../ide/lib/oracle.ide.osgi.jar@3:start -Dosgi.bundles.defaultStartLevel=1 -Dosgi.configuration.cascaded=false -Dosgi.noShutdown=true -Dorg.osgi.framework.bootdelegation=* -Dosgi.parentClassloader=app -Dosgi.locking=none -Xbootclasspath/p:../../ide/bin/../../rdbms/jlib/ojdi.jar -Dosgi.classloader.type=parallel -Dosgi.bundlefile.limit=500 -Dide.feedback-server=ide.us.oracle.com -Djavax.xml.transform.TransformerFactory=oracle.ide.xml.switchable.SwitchableTransformerFactory -Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory -Djavax.xml.stream.util.XMLEventAllocator=oracle.ideimpl.xml.stream.XMLEventAllocatorImpl -Doracle.ide.reportEDTViolations=bug -Doracle.ide.reportEDTViolations.exceptionsfile=../../ide/bin/../../ide/bin/swing-thread-violations.conf -Xms128M -Xmx800M -Dide.update.usage.servers=http://www.oracle.com/webfolder/technetwork/sqldeveloper/usage.xml -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true -Dsun.java2d.ddoffscreen=false -Dwindows.shell.font.languages= -XX:MaxPermSize=256M -Doracle.ide.startup.features=sqldeveloper -Doracle.ide.osgi.boot.api.OJStartupHook=oracle.dbtools.raptor.startup.HomeSupport -Doracle.jdbc.mapDateToTimestamp=false -Doracle.jdbc.autoCommitSpecCompliant=false -Doracle.jdbc.useFetchSizeWithLongColumn=true -Dide.AssertTracingDisabled=true -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true -Djava.util.logging.config.file=logging.conf -Dsqldev.debug=false '-Dide.conf=\"/opt/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf\"' '-Duser.conf=\"/home/cnangel/.sqldeveloper/4.0.0/product.conf\"' '-Dtool.user.conf=\"/home/cnangel/.sqldeveloper/4.0.0/sqldeveloper.conf\"' '-Dide.startingcwd=\"/opt/sqldeveloper/sqldeveloper/bin\"' -classpath ../../ide/bin/../../ide/lib/ide-boot.jar:../../ide/bin/../../netbeans/platform/lib/boot.jar:../../ide/bin/../../netbeans/platform/lib/org-openide-util.jar:../../ide/bin/../../netbeans/platform/lib/org-openide-util-lookup.jar:../../ide/bin/../../netbeans/platform/lib/org-openide-modules.jar:../../ide/bin/../../ide/lib/fcpboot.jar:../../ide/bin/../../ide/lib/xml-factory.jar:../../ide/bin/../../ide/lib/woodstox-core-asl-4.2.0.jar:../../ide/bin/../../ide/lib/stax2-api-3.1.1.jar:../lib/oracle.sqldeveloper.homesupport.jar oracle.ide.osgi.boot.OracleIdeLauncher
crash_function: crash_handler
executable:     /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/bin/java
kernel:         3.12.6-300.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (6 frames)
 #4 crash_handler at /usr/src/debug/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/openjdk/hotspot/src/os/linux/vm/vmError_linux.cpp:106
 #6 os::print_hex_dump at /usr/src/debug/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/openjdk/hotspot/src/share/vm/runtime/os.cpp:776
 #7 os::print_context at /usr/src/debug/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/openjdk/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp:813
 #8 VMError::report at /usr/src/debug/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/openjdk/hotspot/src/share/vm/utilities/vmError.cpp:536
 #12 ??
 #13 __nptl_deallocate_tsd at pthread_create.c:157

Comment 1 cnangel 2014-01-13 03:44:54 UTC
Created attachment 849119 [details]
File: backtrace

Comment 2 cnangel 2014-01-13 03:44:56 UTC
Created attachment 849120 [details]
File: cgroup

Comment 3 cnangel 2014-01-13 03:44:58 UTC
Created attachment 849121 [details]
File: core_backtrace

Comment 4 cnangel 2014-01-13 03:45:00 UTC
Created attachment 849122 [details]
File: dso_list

Comment 5 cnangel 2014-01-13 03:45:02 UTC
Created attachment 849123 [details]
File: environ

Comment 6 cnangel 2014-01-13 03:45:04 UTC
Created attachment 849124 [details]
File: hs_err.log

Comment 7 cnangel 2014-01-13 03:45:06 UTC
Created attachment 849125 [details]
File: limits

Comment 8 cnangel 2014-01-13 03:45:08 UTC
Created attachment 849126 [details]
File: maps

Comment 9 cnangel 2014-01-13 03:45:11 UTC
Created attachment 849127 [details]
File: open_fds

Comment 10 cnangel 2014-01-13 03:45:13 UTC
Created attachment 849128 [details]
File: proc_pid_status

Comment 11 cnangel 2014-01-13 03:45:15 UTC
Created attachment 849129 [details]
File: var_log_messages

Comment 12 Deepak Bhole 2014-01-13 15:24:24 UTC
Is this reproducible?

Comment 13 cnangel 2014-01-13 17:46:32 UTC
yes,  it crash when sqldeveloper starting

(In reply to Deepak Bhole from comment #12)
> Is this reproducible?

Comment 14 Deepak Bhole 2014-01-14 21:28:52 UTC
How do I reproduce it locally (i.e. where do I download sqldeveloper, any switches to start with, etc.)?

Comment 15 cnangel 2014-01-16 09:48:10 UTC
I download  from http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html?ssSourceSiteId=ocomen
the version of sqldeveloper is 4.0.0.13.80
after crashed, I try set JAVA_HOME and download new jdk from oracle replace openjdk, but still crash.
but i download old version of sqldeveloper(3.2.20.09.87), now it' working fine.

Comment 16 Elliott Baron 2014-01-31 23:40:42 UTC
Created attachment 858005 [details]
Backtrace of GLib call to pthread_key_create

Comment 17 Elliott Baron 2014-01-31 23:41:46 UTC
Created attachment 858006 [details]
Reproducer for GLib segfault

Comment 18 Elliott Baron 2014-01-31 23:44:20 UTC
I believe this is actually a bug in GLib. When we create a thread that calls dlopen and dlclose on libgobject, a segfault occurs when deallocating that thread in  __nptl_deallocate_tsd. A phtread_key_t is created in the backtrace attached in pthread_key_create.txt, which specifies private_thread_memory_cleanup as its destructor. After dlclose is called, this key still remains. When __nptl_deallocate_tsd is called from our thread, it attempts to invoke the destructor of this leftover key. Since libgobject has been unloaded, the destructor is no longer in memory and we get a segfault.

I have included a simple reproducer as glibbug.c.

Comment 19 jiri vanek 2015-02-09 12:51:40 UTC
This seems to be fixed in f21 (at least this reproducer returns 0 - on f20 keep segfaulting) (f21 glibc 2.20, f20 glibc 2.18)

Comment 20 Fedora End Of Life 2015-05-29 10:28:08 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. 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 '20'.

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 20 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.

Comment 21 Fedora End Of Life 2015-06-30 00:50:50 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 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.


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