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

HelloWorld throws Segmentation Fault on solx86 with -Xss64k

XMLWordPrintable

    • b49
    • x86
    • solaris_8
    • Verified



      Name: vpR10197 Date: 04/12/2004


      --------------------------------------
      VM : ServerVM
      Mode : -Xcomp
      Platform : x86
      OS : solaris
      JDK : since tiger-b40
      ----------------------------------------

      The latest tiger builds cannot run the simpliest HelloWorld test with -Xss64k
      option. It throws 'Segmentation Fault'. This error was observed with
      -server -Xcomp options on solx86 platform for java VM, (but it properly works
      for java_g VM):

      % cat -n HelloWorld.java
           1 public class HelloWorld {
           2
           3 public static void main(String argv[]) {
           4 System.out.println("Hello World");
           5 }
           6
           7 }

      % ../jdk1.5.0-b46/solaris-i586/bin/java -server -Xcomp -Xss64k -cp . HelloWorld
      Segmentation Fault

      % ../jdk1.5.0-b40/solaris-i586/bin/java -server -Xcomp -Xss64k -cp . HelloWorld
      Segmentation Fault

      % ../jdk1.5.0-b39/solaris-i586/bin/java -server -Xcomp -Xss64k -cp . HelloWorld
      Hello World

      The test passes on all other platforms and modes.

      Due to this bug, nsk test
          nsk/regression/b4287029
      produces core-file that can be considered as a failure

      ======================================================================

            kvn Vladimir Kozlov
            vitpsunw Vitp Vitp (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: