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

Linux: Classic VM crashes with segmentation violation error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      linux-beta
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Description



      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

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

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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: