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

VM crashes on shutdown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.1
    • 1.4.1
    • hotspot
    • None
    • hopper
    • generic
    • linux

      The following program crashes during VM shutdown in about 5/1000 runs
      with current main/baseline (03/21/02) on Linux:

      -------------------------------------------------------
      import java.io.*;

      public class ShutdownTest extends Thread {
         public void run() {
           while (true) {
             ShutdownTest st = new ShutdownTest();
             if (st == null) {
               System.out.println("st == null");
             }
           }
         }

         public static void main(String args[]) {
           System.out.println("- ShutdownTest -");

           for(int i = 0; i < 4; i++) {
             ShutdownTest st = new ShutdownTest();
             st.setDaemon(true);
             st.start();
           }
         }
      }
      ------------------------------------------------------

      Error message:

      Unexpected Signal : 11 occurred at PC=0x402A945D during VM shutdown
      Function=type__C4Item+0x9
      Library=/home/huanghui/jdk1.4.1/jre/lib/i386/client/libjvm.so

            hhuangsunw Hui Huang (Inactive)
            hhuangsunw Hui Huang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: