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

Exceptions thrown in C++ JNI code cause JVM to Abort and Core

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description



      Name: nt126004 Date: 06/27/2002


      FULL PRODUCT VERSION :
      Java(TM) Runtime Environment, Standard Edition (build 1.4.1-beta-b14)
      Java HotSpot(TM) Client VM (build 1.4.1-beta-b14, mixed mode)

      FULL OPERATING SYSTEM VERSION :
      Linux 2.4.9-12smp
      glibc-2.2.4-19.3
      Red Hat Linux release 7.1 (Seawolf)

      A DESCRIPTION OF THE PROBLEM :
      When C++ JNI code throws exceptions, the JVM cores without
      allowing the code to catch the exception. This was
      documented int BUG 4389172. The fix for this was to change
      all references in libjvm.so from libstdc++-lib6.1-1.so.2 to
      libstdc++-libc6.2-2.so.3. In the 1.4.1-beta release, it
      looks like this library is no longer linked in, but compiled
      in. This prevents users from making the fix.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      See bug 4389172

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      See bug 4389172
      ---------- END SOURCE ----------

      CUSTOMER WORKAROUND :
      No longer any work around.
      (Review ID: 158585)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hhuangsunw Hui Huang (Inactive)
                Reporter:
                nthompsosunw Nathanael Thompson (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: