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

JVM_handle_solaris_signal should not deinstall signal handler

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 2.0
    • hotspot
    • sparc
    • solaris_7



      Name: cl74495 Date: 10/06/2000


      If JVM_handle_solaris_signal decides that a signal
      is unexpected, then it deinstalls the handler before
      calling handle_unexpected_exception

      If several threads hit the same signal-causing failure at the
      nearby in time, then the second thread to execute JVM_handle_solaris_signal
      will cause an immediate coredump since the handler has been
      deinstalled. So the ShowMessageBoxOnError logic won't work, etc.

      In our builds we have disabled this code in
      JVM_handle_solaris_signal :

        // Remove this handler now. It is of no more use.
        os::Solaris::set_signal_handler(sig, false);

      This code only applies to a debug build.
      (Review ID: 110474)
      ======================================================================


      Closing as a duplicate of signal chaining bug. 4363638


      gary.collins@East 2001-03-29

            collins Gary Collins (Inactive)
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: