[Bug 2188] New: segfault while running "make check-jdk" after compiling with GCJ 4.8.4

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Thu Jan 22 11:27:28 UTC 2015


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2188

            Bug ID: 2188
           Summary: segfault while running "make check-jdk" after
                    compiling with GCJ 4.8.4
           Product: IcedTea
           Version: 6-1.13.5
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Bootstrapping
          Assignee: gnu.andrew at redhat.com
          Reporter: bugs at elephly.net
                CC: unassigned at icedtea.classpath.org

Created attachment 1246
  --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1246&action=edit
config.log for icedtea6

I'm attempting to package IcedTea6 for the GNU Guix package manager.  I use GCJ
as the JDK.

GCJ was configured to include most JDK symlinks:

  --enable-java-home --enable-gjdoc --with-ecj-jar=/path/to/ecj.jar

Since there is no javac wrapper included with GCJ, I took the Gentoo wrapper
template (see here:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-java/gcj-jdk/files/javac.in).

While running the test suite a considerable number of tests fail (which is
worrying but probably should be subject of another bug report); one test in
"make check-jdk", however, results in a segfault.

Here's the output leading up to the segfault:

~~~~~~~
...
Passed: javax/crypto/spec/DESKeySpec/CheckParity.java
Passed: javax/crypto/spec/DESKeySpec/CheckWeakKeys.java
Passed: javax/crypto/spec/DESKeySpec/NullKey.java
Passed: javax/crypto/spec/IvParameterSpec/InvalidArgs.java
Passed: javax/crypto/spec/IvParameterSpec/NullIV.java
Passed: javax/crypto/spec/RC2ParameterSpec/RC2AlgorithmParameters.java
Passed: javax/crypto/spec/RC2ParameterSpec/RC2ParameterSpecEquals.java
Passed: javax/crypto/spec/RC5ParameterSpec/InvalidIV.java
Passed: javax/crypto/spec/RC5ParameterSpec/RC5ParameterSpecEquals.java
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fe0733a61a1, pid=17032, tid=140600864315136
#
# JRE version: 6.0_33-b33
# Java VM: OpenJDK 64-Bit Server VM (23.25-b01 mixed mode linux-amd64
compressed oops)
# Derivative: IcedTea6 1.13.5
# Distribution: guix
# Problematic frame:
# C  [ld-linux-x86-64.so.2+0x141a1]  _dl_close+0x1
#
# 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:
#
/buildtmp/nix-build-icedtea6-1.13.5.drv-1/icedtea6-1.13.5/test/jdk/JTwork/scratch/hs_err_pid17032.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
test -z `grep \"^Error:\|^FAILED:\" test/check-jdk.log`
[me at host:/buildtmp/nix-build-icedtea6-1.13.5.drv-1/icedtea6-1.13.5] (526) $
~~~~~~~

I'm building IcedTea version 1.13.5, downloaded from
http://icedtea.wildebeest.org/download/source/icedtea6-1.13.5.tar.xz .

Attached is the config.log for IcedTea6 as well as the error report file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20150122/3817b650/attachment.html>


More information about the distro-pkg-dev mailing list