[Bug 1233] New: java.net.Inet4AddressImpl.getLocalHostName() causes SIGBUS error

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Mon Nov 26 16:46:45 PST 2012


          Priority: P3
            Bug ID: 1233
                CC: unassigned at icedtea.classpath.org
          Assignee: gnu.andrew at redhat.com
           Summary: java.net.Inet4AddressImpl.getLocalHostName() causes
                    SIGBUS error
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: yoshiki at sendme.email.ne.jp
          Hardware: sparc64
            Status: NEW
           Version: 6-1.11.5
         Component: IcedTea
           Product: IcedTea

Created attachment 804
  --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=804&action=edit
server build hs_err

I have built both zero and C2 JIT configurations of OpenJDK 6.0_24-b24 for
Linux/SPARC.  Some test programs including SPEC benchmarks are working properly
without any errors.  However, both of JVM causes an SIGBUS error in case of

public class Test {
  public static void main(String[] args) throws Exception {
    InetAddress localaddr = InetAddress.getLocalHost();
    String hostName = localaddr.getHostName();

The following is a piece of log.  I put the option -verbose:jni for the command
line arguments.
Does anybody address how to work around this issue?  

[Dynamic-linking native method java.net.InetAddress.init ... JNI]
[Dynamic-linking native method java.net.InetAddressImplFactory.isIPv6Supported
... JNI]
[Dynamic-linking native method java.net.Inet4AddressImpl.getLocalHostName ...
# A fatal error has been detected by the Java Runtime Environment:
#  SIGBUS (0xa) at pc=0xffffffff01bf47f8, pid=14067, tid=18446735281912944976
# JRE version: 6.0_24-b24
# Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode linux-sparc compressed
# Derivative: IcedTea6 1.11.5
# Distribution: Custom build (Sat Nov 24 22:26:19 JST 2012)
# Problematic frame:
[error occurred during error reporting (printing problematic frame), id

# An error report file with more information is saved as:
# /group1/gc83/share/.local/mpj-v0_38/tmp/hs_err_pid14067.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.

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/20121127/2adefaf9/attachment.html 

More information about the distro-pkg-dev mailing list