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

VM crashes with libthread panic on Solaris 7

XMLWordPrintable

    • sparc
    • solaris_7

      Java VM crashes with a core dump when started by another JVM through exec call.
      The bug was reproduced on JDK 1.4.0-b92, 1.4.0_01-b03 on multiCPU Solaris 2.7
      systems. It is not reproducible on Solaris 2.8.
      JDK 1.4.1-beta-b13 seems to be more resistant to this bug - in dmake mode
      the test manages to pass 7000 cycles. However, 2 of 4 processes hung during
      the test.

      This bug is critical for JCK 1.4a development which is based on JDK 1.4.0 (JCK
      build and test runs fail). JCK team uses several multiCPU servers under Solaris
      2.7 and we would like to avoid upgrading them to 2.8 in short term.

      To reproduce the bug unzip the attachment in one directory and run run.sh
      script. It starts a java program that infinitely compiles a JCK test source in
      sameJVM and multiJVM modes by turns.
      You can run several such programs simultaneously using supplied makefile with
      dmake, for example:

       /java/devtools/sparc/SUNWspro/SC6.1/bin/dmake -m parallel -j 4 all

      When the error message appears on the screen see execution logs in work/*.log.
      With simultaneous execution this bug may be reproduced in 1-2 hours while run.sh
      script takes 6-8 hours to reproduce the problem.

      The error message looks like the following:
      ------------------------------------------------------------------------
      libthread panic: cannot create new lwp : dumping core (PID: 3858 LWP 2)
      stacktrace:
      ff3626d8
      0
      ------------------------------------------------------------------------

            minqi Yumin Qi
            passunw Pas Pas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: