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

VM Crash using 'Djava.security.manager' instead of 'Djava.security.SecurityManager'

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b47
    • CPU:
      generic, sparc
    • OS:
      generic, solaris_10
    • Verification:
      Verified

      Description

      I am experinecing a VM crash when I use 'Djava.security.manager' property instead of 'Djava.security.SecurityManager'. I pasted the command line along with the hs_err_pid file.

      The core dump can be found at /net/sqindia.india/export/disk14/rajendra/coredumps/pid_19327

      <command>
      bash-3.00$ which java
      /net/sqindia.india/export/disk09/jdk/1.6.0/latest/binaries/solsparc/bin/java
      bash-3.00$ java -version
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b41)
      Java HotSpot(TM) Server VM (build 1.6.0-ea-b41, mixed mode)

      bash-3.00$ java -Djava.security.manager=true -Djava.security.policy=policy.txt sun.applet.AppletViewer test.html
      Error occurred during initialization of VM
      java.lang.InternalError: Could not create SecurityManager: true
              at sun.misc.Launcher.<init>(Launcher.java:86)
              at sun.misc.Launcher.<clinit>(Launcher.java:39)
              at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1304)
              at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1286)
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error (455843455054494F4E530E4350500115 01), pid=19327, tid=1
      #
      # Java VM: Java HotSpot(TM) Server VM (1.6.0-ea-b41 mixed mode)
      # An error report file with more information is saved as hs_err_pid19327.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      Abort (core dumped)
      </command>

      <hs_err_pid>
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error (455843455054494F4E530E4350500115 01), pid=19327, tid=1
      #
      # Java VM: Java HotSpot(TM) Server VM (1.6.0-ea-b41 mixed mode)

      --------------- T H R E A D ---------------

      Current thread (0x00036c58): JavaThread "main" [_thread_in_vm, id=1]

      Stack: [0xffb80000,0xffc00000), sp=0xffbfdee0, free space=503k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x631d8c]
      V [libjvm.so+0x3ca47c]
      V [libjvm.so+0x11d260]
      V [libjvm.so+0x40fd40]
      V [libjvm.so+0x40c3a0]
      V [libjvm.so+0x32fdf4]
      V [libjvm.so+0x301ee8]
      C [java+0x1d2c] main+0x81c


      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
        0x00100808 JavaThread "Finalizer" daemon [_thread_blocked, id=6]
        0x000fe908 JavaThread "Reference Handler" daemon [_thread_blocked, id=5]
      =>0x00036c58 JavaThread "main" [_thread_in_vm, id=1]

      Other Threads:
        0x000fad70 VMThread [id=4]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       PSYoungGen total 10752K, used 184K [0xedc00000, 0xee800000, 0xf8800000)
        eden space 9216K, 2% used [0xedc00000,0xedc2e158,0xee500000)
        from space 1536K, 0% used [0xee680000,0xee680000,0xee800000)
        to space 1536K, 0% used [0xee500000,0xee500000,0xee680000)
       PSOldGen total 24576K, used 0K [0xd8400000, 0xd9c00000, 0xedc00000)
        object space 24576K, 0% used [0xd8400000,0xd8400000,0xd9c00000)
       PSPermGen total 16384K, used 1335K [0xd4400000, 0xd5400000, 0xd8400000)
        object space 16384K, 8% used [0xd4400000,0xd454df40,0xd5400000)

      Dynamic libraries:
      0x00010000 java
      0xff3f8000 /lib/libthread.so.1
      0xff3a0000 /lib/libdl.so.1
      0xff280000 /lib/libc.so.1
      0xff270000 /platform/SUNW,Sun-Blade-2500/lib/libc_psr.so.1
      0xfe800000 /net/sqindia.india/export/disk09/jdk/1.6.0/b41/binaries/solsparc/jre/lib/sparc/server/libjvm.so
      0xff230000 /lib/libsocket.so.1
      0xff260000 /usr/lib/libsched.so.1
      0xff1f0000 /usr/lib/libCrun.so.1
      0xff1d0000 /lib/libm.so.1
      0xff1b0000 /lib/libdoor.so.1
      0xff080000 /lib/libnsl.so.1
      0xfe700000 /lib/libm.so.2
      0xff170000 /lib/libscf.so.1
      0xff150000 /lib/libuutil.so.1
      0xff060000 /lib/libmd5.so.1
      0xff040000 /platform/SUNW,Sun-Blade-2500/lib/libmd5_psr.so.1
      0xff020000 /lib/libmp.so.2
      0xfefe0000 /net/sqindia.india/export/disk09/jdk/1.6.0/b41/binaries/solsparc/jre/lib/sparc/native_threads/libhpi.so
      0xfef80000 /net/sqindia.india/export/disk09/jdk/1.6.0/b41/binaries/solsparc/jre/lib/sparc/libverify.so
      0xfe6c0000 /net/sqindia.india/export/disk09/jdk/1.6.0/b41/binaries/solsparc/jre/lib/sparc/libjava.so
      0xfef60000 /net/sqindia.india/export/disk09/jdk/1.6.0/b41/binaries/solsparc/jre/lib/sparc/libzip.so
      0xfb7e0000 /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.3

      VM Arguments:
      jvm_args: -Djava.security.manager=true -Djava.security.policy=policy.txt
      java_command: sun.applet.AppletViewer test.html
      Launcher Type: generic

      Environment Variables:
      PATH=/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin:/usr/dist/share/forte_dev,v6.2/SUNWspro/bin:/net/sqindia.india/export/disk09/jdk/1.6.0/latest/binaries/solsparc/bin:/usr/dist/share/netscape,v7.0:/usr/dist/exe:/usr/bin:/usr/lib/lp/postscript:/usr/sbin:/sbin:/home/rg157576/SamplePrograms/src/reflection:/usr/ucb:/usr/dist/local/exe:/usr/sfw/bin:.
      LD_LIBRARY_PATH=/net/sqindia.india/export/disk09/jdk/1.6.0/b41/binaries/solsparc/jre/lib/sparc/server:/net/sqindia.india/export/disk09/jdk/1.6.0/b41/binaries/solsparc/jre/lib/sparc:/net/sqindia.india/export/disk09/jdk/1.6.0/b41/binaries/solsparc/jre/../lib/sparc
      SHELL=/bin/csh
      DISPLAY=sqa2:0.0

      Signal Handlers:
      SIGSEGV: [libjvm.so+0x632bcc], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
      SIGBUS: [libjvm.so+0x632bcc], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
      SIGFPE: [libjvm.so+0x21d808], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
      SIGPIPE: [libjvm.so+0x21d808], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
      SIGILL: [libjvm.so+0x21d808], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
      SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
      SIGUSR2: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
      SIGHUP: [libjvm.so+0x5afe08], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
      SIGINT: [libjvm.so+0x5afe08], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
      SIGQUIT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
      SIGTERM: [libjvm.so+0x5afe08], sa_mask[0]=0xffbffeff, sa_flags=0x00000004


      --------------- S Y S T E M ---------------

      OS: Solaris 10 3/05 s10_74L2a SPARC
                 Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
                              Use is subject to license terms.
                                  Assembled 22 January 2005

      uname:SunOS 5.10 Generic sun4u (T2 libthread)
      rlimit: STACK 8192k, CORE infinity, NOFILE 65536, AS infinity
      load average:0.00 0.00 0.00

      CPU:total 2 has_v8, has_v9, has_vis1, has_vis2, is_ultra3

      Memory: 8k page, physical 2097152k(1403848k free)

      vm_info: Java HotSpot(TM) Server VM (1.6.0-ea-b41) for solaris-sparc, built on Jun 16 2005 02:33:16 by with unknown Workshop:0x570

      </hs_err_pid>
      ###@###.### 2005-07-01 10:02:05 GMT

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ksrini Kumar Srinivasan
                Reporter:
                rgutupalsunw Rajendra Gutupalli (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: