[Bug 236168] java/openjdk8, java/linux-oracle-jdk9 and java/linux-oracle-jdk10: JVM_handle_bsd_signal segmentation fault in sbt shell within intellij idea

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 236168] java/openjdk8, java/linux-oracle-jdk9 and java/linux-oracle-jdk10: JVM_handle_bsd_signal segmentation fault in sbt shell within intellij idea

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236168

--- Comment #7 from Tino Engel <[hidden email]> ---
Hey Palle,

Thanks for guiding me.
I tried to run the same process that fails from inside idea manually in a shell
and to examine the core file with gdb.
Below I paste the shell content.
Does that help or does it need to be handled a different way (e.g. trying to
attach a java process to gdb to gdb prior to the dump)?

==========

elgrande@aw:~/rapki % /usr/local/openjdk8/bin/java -server -Xms2048m -Xmx8192m
-XX:ReservedCodeCacheSize=2048m -XX:-UseGCOverheadLimit -Xmx2048M
-Didea.managed=true -Dfile.encoding=UTF-8 -jar
/usr/local/share/sbt/sbt-launch.jar --addPluginSbtFile=/tmp/idea13500.sbt
idea-shell          
[info] Loading settings for project global-plugins from idea13500.sbt ...
[info] Loading global plugins from /usr/home/elgrande/.sbt/1.0/plugins
[info] Loading project definition from /usr/home/elgrande/rapki/project
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000080179d647, pid=88635, tid=0x000000000001894b
#
# JRE version: OpenJDK Runtime Environment (8.0_202-b08) (build 1.8.0_202-b08)
# Java VM: OpenJDK 64-Bit Server VM (25.202-b08 mixed mode bsd-amd64 compressed
oops)
# Problematic frame:
# V  [libjvm.so+0x99d647]  JVM_FindSignal+0x1851b7
#
# Core dump written. Default location: /usr/home/elgrande/rapki/java.core
#
# An error report file with more information is saved as:
# /usr/home/elgrande/rapki/hs_err_pid88635.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Abbruch(core dumped)
elgrande@aw:~/rapki % gdb -c java.core --args /usr/local/openjdk8/bin/java
-server -Xms2048m -Xmx8192m -XX:ReservedCodeCacheSize=2048m
-XX:-UseGCOverheadLimit -Xmx2048M -Didea.managed=true -Dfile.encoding=UTF-8
-jar /usr/local/share/sbt/sbt-launch.jar --addPluginSbtFile=/tmp/idea13500.sbt
idea-shell
GNU gdb (GDB) 8.2.1 [GDB v8.2.1 for FreeBSD]
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd13.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/openjdk8/bin/java...(no debugging symbols
found)...done.
[New LWP 100683]
[New LWP 101080]
[New LWP 101560]
[New LWP 101562]
[New LWP 101566]
[New LWP 101567]
[New LWP 101568]
[New LWP 101569]
[New LWP 101570]
[New LWP 101571]
[New LWP 101573]
[New LWP 101577]
[New LWP 101578]
[New LWP 101686]
[New LWP 101687]
[New LWP 101688]
[New LWP 101689]
[New LWP 101690]
[New LWP 101691]
[New LWP 101692]
[New LWP 101693]
[New LWP 100621]
[New LWP 100297]
[New LWP 101706]
[New LWP 101707]
[New LWP 101708]
[New LWP 101709]
[New LWP 101710]
[New LWP 101711]
[New LWP 101712]
[New LWP 101713]
[New LWP 100546]
[New LWP 100564]
[New LWP 100639]
[New LWP 100640]
[New LWP 100688]

warning: Could not load shared library symbols for
/tmp/jna-53417024/jna4737997957574885857.tmp.
Do you need "set solib-search-path" or "set sysroot"?
Core was generated by `/usr/local/openjdk8/bin/java -server -Xms2048m -Xmx8192m
-XX:ReservedCodeCacheSi'.
Program terminated with signal SIGABRT, Aborted.
#0  thr_kill () at thr_kill.S:3
3       RSYSCALL(thr_kill)
[Current thread is 1 (LWP 100683)]
(gdb)

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"