IBM Support

IV21124: APPLICATION CRASHES WHILE INVOKING MULTICASTSOCKET.SETNETWORKINT ERFACE() CALL IN A MULTI-THREADED ENVIRONMENT

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: JVM crashes with a SIGSEGV in libj9prt23.so.
    .
    Stack Trace: at
    java/net/PlainDatagramSocketImpl.socketSetOption(Native Method)
     at
    java/net/PlainDatagramSocketImpl.setOption(PlainDatagramSocketIm
    pl.java)
     at
    java/net/MulticastSocket.setNetworkInterface(MulticastSocket.jav
    a)
    or
    at java/net/PlainDatagramSocketImpl.socketSetOption(Native
    Method)
    at
    java/net/PlainDatagramSocketImpl.setOption(PlainDatagramSocketIm
    pl.java:419)
    
    at
    java/net/MulticastSocket.setInterface(MulticastSocket.java:435)
    .
    

Local fix

Problem summary

  • The issue was caused due to a thread race condition while
    accessing a variable before it is getting initialized.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR11
    6.0.1 SR3
    .
    JVM is updated to ensure that variable is initialized before it
    is accessed by other threads
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV21124

  • 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-05-14

  • Closed date

    2012-05-27

  • Last modified date

    2012-05-27

  • 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



Document information

More support for: Runtimes for Java Technology
Java Class Libraries

Software version: 6.0

Reference #: IV21124

Modified date: 27 May 2012