openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #12719
[Bug 1714698] java crashed with SIGABRT during "mvn package"
StacktraceTop:
memcpy (__len=31539, __src=0x7fbdb2bc680d, __dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:53
newEntry (zip=zip@entry=0x7fbdc8d70050, accessHint=accessHint@entry=ACCESS_RANDOM, zc=0x7fbdc8ef43b0) at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/jdk/src/share/native/java/util/zip/zip_util.c:1022
ZIP_GetEntry2 (zip=zip@entry=0x7fbdc8d70050, name=name@entry=0x7fbdd1720c80 "log4j2.xml", ulen=ulen@entry=10, addSlash=addSlash@entry=1 '\001') at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/jdk/src/share/native/java/util/zip/zip_util.c:1195
Java_java_util_zip_ZipFile_getEntry (env=0x7fbdc800a1e0, cls=<optimized out>, zfile=140453095080016, name=0x7fbdd17210d8, addSlash=<optimized out>) at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/jdk/src/share/native/java/util/zip/ZipFile.c:177
?? ()
--
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:
New
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. apply the following patch: https://gist.github.com/lategoodbye/6feaa21dc5e992b26af2d0243994cef2
4. 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