IBM Support

IJ09315: FLOATING POINT EXCEPTION FROM JAVA.TEXT.DECIMALFORMAT.FORMAT

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: Unhandled exception
    Type=Floating point error vmState=0x00000000
    J9Generic_Signal_Number=00040020 Signal_Number=00000008
    Error_Value=00000000 Signal_Code=00000003
    Handler1=00007F292C408470 Handler2=00007F292BD0DC40
    RDI=000000000230C7B0 RSI=000000000230C7A0 RAX=000000000230C7A0
    RBX=000000000230C7B0
    RCX=0000000000000000 RDX=000000000230C7B0 R8=0000000000000000
    R9=0000000002261FE8
    R10=0000000002262100 R11=0000000000000000 R12=0000000002261FE8
    R13=000000000230C7D0
    R14=000000000221EA00 R15=00000000023AAE58
    RIP=00007F292C446140 GS=0000 FS=0000 RSP=00007FFD6F5491F8
    EFlags=0000000000010202 CS=0033 RBP=00007F28FE232688
    ERR=0000000000000000
    TRAPNO=0000000000000013 OLDMASK=0000000000000000
    CR2=0000000000000000
    xmm0 3ff0000000000000 (f: 0.000000, d: 1.000000e+00)
    xmm1 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    xmm2 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    xmm3 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    xmm4 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    xmm5 402f2491c1246069 (f: 3240386560.000000, d: 1.557142e+01)
    xmm6 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    xmm7 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    xmm8 3bbcc86800000000 (f: 0.000000, d: 6.095003e-21)
    xmm9 3fd49ec4cd62d92f (f: 3445807360.000000, d: 3.221905e-01)
    xmm10 3d754b1c5ea09e82 (f: 1587584640.000000, d: 1.210390e-12)
    xmm11 402f2492450323c9 (f: 1157833728.000000, d: 1.557143e+01)
    xmm12 3cce000000000000 (f: 0.000000, d: 8.326673e-16)
    xmm13 bfd49ec4cd62d920 (f: 3445807360.000000, d: -3.221905e-01)
    xmm14 402e7f9c1e980d00 (f: 513281280.000000, d: 1.524924e+01)
    xmm15 bc69edf0f0de144d (f: 4041085952.000000, d: -1.124511e-17)
    Module=/home/enasser/openjdk/builds/j9/jdk-10.0.2+13//lib/compre
    ssedrefs/libj9vm29.so
    Module_base_address=00007F292C36F000
    Target=2_90_20180813_102 (Linux 4.15.0-33-generic)
    CPU=amd64 (8 logical CPUs) (0x3e5c88000 RAM)
    ----------- Stack Backtrace -----------
    (0x00007F292C446140 <OSB>libj9vm29.so+0xd7140<CSB>)
    (0x00007F292C446161 <OSB>libj9vm29.so+0xd7161<CSB>)
    (0x00007F292C3982C1 <OSB>libj9vm29.so+0x292c1<CSB>)
    (0x00007F292C387DCB <OSB>libj9vm29.so+0x18dcb<CSB>)
    (0x00007F292C4434C2 <OSB>libj9vm29.so+0xd44c2<CSB>)
    .
    

Local fix

  • Disable the SIGFPE trap in the system. The SIGFPE is disabled by
    default. The exception occurs only when the trap is enabled.
    

Problem summary

  • In order to identify whether a number is negative or positive,
    inverse of number is used when the number is 0.0 for positive or
    negative infinity as comparison of 0 with negative or postive 0
    is same. This works fine in the normal condition. However, it
    can result in the exception when SIGFPE trap is enabled in the
    system.
    

Problem conclusion

  • JDK has been updated to do the bitwise comparison of the number
    against  0x8000000000000000L instead of inverse the number and
    compare for positive or negative infinity.
    .
    This APAR will be fixed in the following Java Releases:
       7 R1 SR4 FP35  (7.1.4.35)
       8    SR5 FP25  (8.0.5.25)
       7    SR10 FP35 (7.0.10.35)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ09315

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-09-19

  • Closed date

    2018-11-02

  • Last modified date

    2018-11-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels



Document information

More support for: Runtimes for Java Technology
Java Class Libraries

Software version: 700

Reference #: IJ09315

Modified date: 02 November 2018