From owner-freebsd-java@freebsd.org Tue Mar 5 06:48:08 2019 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99DCB151A339 for ; Tue, 5 Mar 2019 06:48:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2B6A883112 for ; Tue, 5 Mar 2019 06:48:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DF8C7151A337; Tue, 5 Mar 2019 06:48:07 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3647151A336 for ; Tue, 5 Mar 2019 06:48:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3CC618310F for ; Tue, 5 Mar 2019 06:48:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 830871694F for ; Tue, 5 Mar 2019 06:48:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x256m6gm062340 for ; Tue, 5 Mar 2019 06:48:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x256m6iB062339 for java@FreeBSD.org; Tue, 5 Mar 2019 06:48:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [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 Date: Tue, 05 Mar 2019 06:48:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tino.engel@mail.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2019 06:48:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236168 --- Comment #7 from Tino Engel --- Hey Palle, Thanks for guiding me. I tried to run the same process that fails from inside idea manually in a s= hell 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)? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D elgrande@aw:~/rapki % /usr/local/openjdk8/bin/java -server -Xms2048m -Xmx81= 92m -XX:ReservedCodeCacheSize=3D2048m -XX:-UseGCOverheadLimit -Xmx2048M -Didea.managed=3Dtrue -Dfile.encoding=3DUTF-8 -jar /usr/local/share/sbt/sbt-launch.jar --addPluginSbtFile=3D/tmp/idea13500.sbt idea-shell=20=20=20=20=20=20=20=20=20=20=20 [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=3D0x000000080179d647, pid=3D88635, tid=3D0x000000000= 001894b # # JRE version: OpenJDK Runtime Environment (8.0_202-b08) (build 1.8.0_202-b= 08) # Java VM: OpenJDK 64-Bit Server VM (25.202-b08 mixed mode bsd-amd64 compre= ssed 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=3D2048m -XX:-UseGCOverheadLimit -Xmx2048M -Didea.managed=3Dtrue -Dfile.encoding=3DU= TF-8 -jar /usr/local/share/sbt/sbt-launch.jar --addPluginSbtFile=3D/tmp/idea1350= 0.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 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: . Find the GDB manual and other documentation resources online at: . 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 -Xmx8= 192m -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) --=20 You are receiving this mail because: You are the assignee for the bug.=