← Back to team overview

openjdk team mailing list archive

[Bug 1714698] Re: java crashed with SIGABRT during "mvn package"

 

The issue persists with OpenJDK 8 version 8u151:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f2aa37f484e, pid=22217, tid=0x00007f2aa3f33700
#
# JRE version: OpenJDK Runtime Environment (8.0_151-b12) (build 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12)
# Java VM: OpenJDK 64-Bit Server VM (25.151-b12 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libc.so.6+0x9f84e]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/stefan/RISE-V2G/hs_err_pid22217.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Did you checkout the specific git hash as described above (the current master contains a workaround for this issue)?
Did you use Maven 3.3.9?
Did you tried to build the packages multiple times?

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1714698

Title:
  java crashed with SIGABRT during "mvn package"

Status in openjdk-8 package in Ubuntu:
  Incomplete

Bug description:
  I experience random crashes of java if i try to build packages with
  Apache Maven. It's possible there is an issue with this specific
  pom.xml, but at least it shouldn't crash.

  Expected behavior:
  mvn should generate a zip archive from the project.

  Steps to reproduce (takes at least 5 tries):

  1. run "git clone https://github.com/V2GClarity/RISE-V2G.git";
  2. change to RISE-V2G directory
  3. checkout commit 084320d6d6261dffd0074569b0b42d1911f3b1f9
  4. apply the following patch: https://gist.github.com/lategoodbye/6feaa21dc5e992b26af2d0243994cef2
  5. run "mvn package"

  Java-Version: openjdk version "1.8.0_131"
  OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)
  OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
  Maven-Version: 3.3.9

  ProblemType: Crash
  DistroRelease: Ubuntu 16.04
  Package: openjdk-8-jre-headless 8u131-b11-2ubuntu1.16.04.3
  Uname: Linux 4.10.9-041009-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  CrashCounter: 1
  CurrentDesktop: Unity
  Date: Sat Sep  2 17:08:01 2017
  ExecutablePath: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
  InstallationDate: Installed on 2017-03-08 (177 days ago)
  InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
  ProcCmdline: /usr/lib/jvm/java-8-openjdk-amd64/bin/java -classpath /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dclassworlds.conf=/usr/share/maven/bin/m2.conf -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/home/username/RISE-V2G org.codehaus.plexus.classworlds.launcher.Launcher package -X
  Signal: 6
  SourcePackage: openjdk-8
  StacktraceTop:
   ?? () from /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libzip.so
   ?? () from /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libzip.so
   Java_java_util_zip_ZipFile_getEntry () from /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libzip.so
   ?? ()
   ?? ()
  Title: java crashed with SIGABRT in Java_java_util_zip_ZipFile_getEntry()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1714698/+subscriptions