Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4903127

rmic -iiop crashes VM on redhat 9

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      *******************************************************************************

      ###@###.### 2003-08-07

      rmic -iiop on a remote implemention is crashing the VM on redhat linux 9.

      bash-2.05b$
      bash-2.05b$ cat RemoteTest.java
      import java.util.*;
      import java.rmi.*;
      import javax.rmi.*;
                                                                                     
      public interface RemoteTest extends Remote {
             Map getMap() throws RemoteException;
      }
                                                                                     
      class RemoteTestImpl extends PortableRemoteObject implements RemoteTest {
                                                                                     
             public RemoteTestImpl() throws RemoteException { }
                                                                                     
             public Map getMap() { return null; }
      }

      bash-2.05b$
      bash-2.05b$ /java/re/jdk/1.5/promoted/latest/binaries/linux-i586/bin/java -version
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b14)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b14, mixed mode)
      bash-2.05b$ /java/re/jdk/1.5/promoted/latest/binaries/linux-i586/bin/javac RemoteTest.java
      bash-2.05b$
      bash-2.05b$ /java/re/jdk/1.5/promoted/latest/binaries/linux-i586/bin/rmic -iiop
      RemoteTestImpl
      error: The method java.util.Iterator iterator() declared in interface java.util.Collection cannot override the method of the same signature declared in interface java.lang.Iterable. They must have the same return type.
      error: Class RemoteTest contains an invalid return type.
      2 errors
                                                                                      
      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0x420734C0 during VM shutdown
      Function=__libc_free+0x70
      Library=/lib/tls/libc.so.6
       
       
      Dynamic libraries:
      08048000-0804e000 r-xp 00000000 00:47 130392 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/bin/rmic
      0804e000-0804f000 rw-p 00005000 00:47 130392 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/bin/rmic
      40000000-40015000 r-xp 00000000 03:07 456077 /lib/ld-2.3.2.so
      40015000-40016000 rw-p 00014000 03:07 456077 /lib/ld-2.3.2.so
      40017000-4001e000 r-xp 00000000 00:47 129307 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/i386/native_threads/libhpi.so4001e000-4001f000 rw-p 00006000 00:47 129307 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/i386/native_threads/libhpi.so4001f000-40023000 rw-s 00000000 03:07 701925 /tmp/hsperfdata_sm122304/28073
      (deleted)
      40023000-40026000 r--s 00000000 00:47 129387 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/ext/dnsns.jar
      40026000-40030000 r-xp 00000000 03:07 97744 /lib/tls/libpthread-0.29.so
      40030000-40031000 rw-p 0000a000 03:07 97744 /lib/tls/libpthread-0.29.so
      40033000-40035000 r-xp 00000000 03:07 456097 /lib/libdl-2.3.2.so
      40035000-40036000 rw-p 00002000 03:07 456097 /lib/libdl-2.3.2.so
      40037000-40361000 r-xp 00000000 00:47 129316 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/i386/client/libjvm.so
      40361000-4037c000 rw-p 0032a000 00:47 129316 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/i386/client/libjvm.so
      40391000-403b2000 r-xp 00000000 03:07 97742 /lib/tls/libm-2.3.2.so
      403b2000-403b3000 rw-p 00020000 03:07 97742 /lib/tls/libm-2.3.2.so
      403b3000-403c1000 r-xp 00000000 00:47 129323 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/i386/libverify.so
      403c1000-403c2000 rw-p 0000e000 00:47 129323 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/i386/libverify.so
      403c2000-403d4000 r-xp 00000000 03:07 456101 /lib/libnsl-2.3.2.so
      403d4000-403d5000 rw-p 00011000 03:07 456101 /lib/libnsl-2.3.2.so
      403d7000-403e2000 r-xp 00000000 03:07 456117 /lib/libnss_files-2.3.2.so
      403e2000-403e3000 rw-p 0000a000 03:07 456117 /lib/libnss_files-2.3.2.so
      403e3000-403ee000 r-xp 00000000 03:07 456125 /lib/libnss_nisplus-2.3.2.so
      403ee000-403ef000 rw-p 0000a000 03:07 456125 /lib/libnss_nisplus-2.3.2.so
      403ef000-403f7000 r-xp 00000000 03:07 456122 /lib/libnss_nis-2.3.2.so
      403f7000-403f8000 rw-p 00008000 03:07 456122 /lib/libnss_nis-2.3.2.so
      403f8000-40416000 r-xp 00000000 00:47 129324 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/i386/libjava.so
      40416000-40418000 rw-p 0001d000 00:47 129324 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/i386/libjava.so
      40418000-4042a000 r-xp 00000000 00:47 129326 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/i386/libzip.so
      4042a000-4042c000 rw-p 00012000 00:47 129326 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/i386/libzip.so
      40483000-404f5000 r--s 00000000 00:47 129397 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/jsse.jar
      404f5000-40507000 r--s 00000000 00:47 129389 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/jce.jar
      40507000-407da000 r--s 00000000 00:47 130256 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/charsets.jar
      40a5a000-40c5a000 r--p 00000000 03:07 474096 /usr/lib/locale/locale-archive
      40e5a000-40e7b000 r--s 00000000 00:47 129386 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/ext/sunjce_provider.jar
      40e7b000-40ee3000 r--s 00000000 00:47 129388 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/ext/localedata.jar
      40ee3000-413fd000 r--s 00000000 00:47 130371 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/lib/tools.jar
      413fd000-41401000 r-xp 00000000 00:47 129349 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/i386/libioser12.so
      41401000-41402000 rw-p 00003000 00:47 129349 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/i386/libioser12.so
      42000000-4212e000 r-xp 00000000 03:07 97740 /lib/tls/libc-2.3.2.so
      4212e000-42131000 rw-p 0012e000 03:07 97740 /lib/tls/libc-2.3.2.so
      42133000-440ea000 r--s 00000000 00:47 130260 /.automount/koori.sfbay/root/p/v04/jdk/1.5.0/beta/b14/binaries/linux-i586/jre/lib/rt.jar
       
      Heap at VM Abort:
      Heap
       def new generation total 576K, used 316K [0x460f0000, 0x46190000, 0x465d0000) eden space 512K, 49% used [0x460f0000, 0x4612f290, 0x46170000)
        from space 64K, 99% used [0x46170000, 0x4617fff8, 0x46180000)
        to space 64K, 0% used [0x46180000, 0x46180000, 0x46190000)
       tenured generation total 7552K, used 294K [0x465d0000, 0x46d30000, 0x4a0f0000)
         the space 7552K, 3% used [0x465d0000, 0x46619850, 0x46619a00, 0x46d30000)
       compacting perm gen total 4096K, used 2208K [0x4a0f0000, 0x4a4f0000, 0x4e0f0000)
         the space 4096K, 53% used [0x4a0f0000, 0x4a318090, 0x4a318200, 0x4a4f0000)
       
      Local Time = Thu Aug 7 17:04:31 2003
      Elapsed Time = 0
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b14 mixed mode)
      #
      # An error report file has been saved as hs_err_pid28073.log.
      # Please refer to the file for further information.
      #
      Aborted (core dumped)
      bash-2.05b$


      ******************************************************************************

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              smanuel Sony Manuel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: