IBM Support

IV96905: SIGSEGV IN _MUTEX_LOCK WHILE DOING BLOCKING SOCKET OPERATION

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: A SIGSEGV is received when user attempts blocking
    socket operations like read, connect, accept ...
    .
    Stack Trace: _mutex_lock(??, ??, ??) at 0x9000000008da714
    
    endOp(fd = 570, self = 0x000000012057eb38), line 274 in
    "linux_close.c"
    NET_Read(s = 570, buf = 0x000000012057ebf0, len = 32767), line
    407 in "linux_close.c"
    Java_java_net_SocketInputStream_socketRead0(env =
    0x0000000031ea9000, this = 0x000000011e4de500, fdObj =
    0x000000011e4de4c0, data = 0x000000011e4de4f8, off = 0, len =
    32767, timeout = 0), line 113 in "SocketInputStream.c"
    .
    .
    .
    .
    Problem occurs very intermittently.
    

Local fix

Problem summary

  • The crash occurred due to a narrow timing window between two
    threads when the fd table is expanded dynamically.
    

Problem conclusion

  • The JDK has been updated to allocate the maximum fd table during
     initialization and thereby avoiding the need to expand the
    fdtable dynamically.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV96905

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-06-05

  • Closed date

    2017-10-01

  • Last modified date

    2017-10-01

  • 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

  • R800 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:
01 October 2017