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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.1
    • hotspot
    • x86
    • linux



      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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: