IBM Support

IV23033: CRASH DUE TO STACKOVERFLOW WHLE EXECUTING BASICSTROKE.CREATESTRO KEDSHAPE()

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: SIGSEGV is received.
    .
    Stack Trace: Java Stack as observe by the application logs:
     sun/dc/pr/PathDasher.appendCubic (FFFFFF)V
     java/awt/BasicStroke.feedConsumer
    (Lsun/dc/path/PathConsumer;Ljava/awt/geom/PathIterator;)V(361)
     java/awt/BasicStroke.createStrokedShape
    (Ljava/awt/Shape;)Ljava/awt/Shape;(317)
    Native Stack:
    ntdll!KiUserExceptionDispatcher+0x2e
    dcpr!arcsCubicDifsAndMods+0x94
    dcpr!processCubic+0x30
    dcpr!processCubic+0xd8
    dcpr!processCubic+0xd8
    dcpr!processCubic+0xee
    dcpr!processCubic+0xd8
    dcpr!processCubic+0xee
    dcpr!processCubic+0xd8
    .
    

Local fix

Problem summary

  • The application creates a general path which is defined to
    contain curves. When the curve is drawn with dash attributes
    using BasicStroke.createStrokedShape() , this stackoverflow
    error will happen.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR12
    6.0.1 SR4
    7.0.0 SR3
    .
    The construction of curves in JVM code involves recursive
    function calls. There can exist certain values which cause
    recursion to grow higher until the application hits
    StackOverFlow error. JVM code is fixed to limit the amount of
    recursion.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV23033

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-14

  • Closed date

    2012-08-16

  • Last modified date

    2012-08-16

  • 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

  • R600 PSY

       UP

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
16 August 2012