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

JVM crashes after ^C when .jar file updated while application is running

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 6u10
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0_10"
      Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
      Java HotSpot(TM) 64-Bit Server VM (build 11.0-b15, mixed mode)

      FULL OS VERSION :
      Linux sessi 2.6.24-22-server #1 SMP Mon Nov 24 20:06:28 UTC 2008 x86_64 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      When we run our application using java -jar <application.jar> and then update the application.jar file, JVM crashes inside libzip.so after sending ^C to the application

      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Yes

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      java -jar application.jar
      update application.jar (for example ant jar)
      ^C in the console of the application.jar running
      application dumps core and produces the error log



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Application should stop cleanly.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Stack trace attached seperatly

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      the behavior is detected on one of our applications. it is hard to say which part of the source code causes the problem. I tried to reproduce it in a smaller application, but it did not occur so far. It actually seems it is caused by a shutdown hook of h2 Database (see the log)....


      ---------- END SOURCE ----------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sherman Xueming Shen
              Reporter:
              ndcosta Nelson Dcosta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Imported:
                Indexed: