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

Linux: Classic VM crashes with segmentation violation error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.3.0
    • 1.3.0
    • hotspot
    • linux-beta
    • x86
    • linux
    • Verified



      Name: egR10015 Date: 04/20/2000



      Linux Classic VM crashes during execution the following test. VM catches a signal
      SIGSEGV segmentation violation.
      ------------------------test.java-------------------------------------
      class hr extends Thread {
         public void run() {
            try {
               sleep(20);
            } catch (InterruptedException e) {}
         }
      }

      class tt extends Thread {
         private boolean doit() {
            new hr().start();
            return true;
         }
         
         public void run() {
            while (doit()) {}
         }
      }

      class test {
         public static void main(String args[]) {
            for(int i=0; i<5; i++) {
               new tt().start();
            }
         }
      }
      ------------------------ output --------------------------------------
      eug@linux-6N5 java -version
      java version "1.3.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta-b01)
      Classic VM (build 1.3.0beta-b01, green threads, nojit)
      eug@linux-6N6 java test
      SIGSEGV 11* segmentation violation

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

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

            caustinsunw Calvin Austin (Inactive)
            eugsunw Eug Eug (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: