Skip to main content

IV21131: SYSTEM CRASH DUE TO FREED SOCKET WHEN SOCKETPAIR() CALL USED APPLIES TO AIX 7100-00


A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When socketpair calls are used on the system we could see
    a crash in socket code path (close, send, etc.) due to
    one
    of the sockets in the freelist.
    Stack could be something like,
    
    [00009514].simple_lock+000014 ()
    [0049EB08]unp_disconnect@AF32_12+000228 (??, ??, ??, ??,
     ??)
    [0049C574]uipc_usrreq+0005D4 (??, ??, ??, ??, ??)
    [004C75A8]sodisconn+0001A8 (??)
    [004C6DE4]soclose2+000BE4 (??, ??)
    [004C8070]soclose+000010 (??)
    [004D2734]soo_close+000294 (??)
    [00630F7C]closef+00005C (??)
    [00547890]closefd+000150 (??, ??)
    [00547C44]closex+000304 (??, ??)
    [00547EBC]close+00011C (??)
    [00003850]ovlya_addr_sc_flih_main+000130 ()
    [kdb_get_virtual_memory] no real storage @ 111694A50
    [900000000B192F4]0900000000B192F4 ()
    [kdb_read_mem] no real storage @ FFFFFFFFFFF6380
    
    This is because the socket in unp_conn is already freed.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:
    * Systems running the AIX 7100-00 Technology Level.
    *
    * Customers running Oracle RAC 11.2.0.3 or newer, with
    * Oracle Cluster Health Monitor (CHM), are likely to see
    * this problem.
    *
    ****************************************************************
    * PROBLEM DESCRIPTION:
    * System crash using socketpair() with a stack similar to:
    *
    *  00009514 .simple_lock+000014 ()
    *  0049EB08 unp_disconnect@AF32_12+000228 (??, ??, ??, ??, ??)
    *  0049C574 uipc_usrreq+0005D4 (??, ??, ??, ??, ??)
    *  004C75A8 sodisconn+0001A8 (??)
    *  004C6DE4 soclose2+000BE4 (??, ??)
    *  004C8070 soclose+000010 (??)
    *  004D2734 soo_close+000294 (??)
    *  00630F7C closef+00005C (??)
    *  00547890 closefd+000150 (??, ??)
    *  00547C44 closex+000304 (??, ??)
    *  00547EBC close+00011C (??)
    *  00003850 ovlya_addr_sc_flih_main+000130 ()
    *  kdb_get_virtual_memory  no real storage @ 111694A50
    *  900000000B192F4 0900000000B192F4 ()
    *  kdb_read_mem  no real storage @ FFFFFFFFFFF6380
    *
    * The application involved is likely to be multithreaded.
    ****************************************************************
    * RECOMMENDATION:
    * Install APAR IV21131.
    *
    * Prior to APAR availability, an interim fix is available from:
    * ftp://public.dhe.ibm.com:/aix/ifixes/iv21131/
    ****************************************************************
    

Problem conclusion

  • The code in socketpair() system call modifid so that in
    multithreaded environment, another thread is not able to close
    one of the sockets during critical pairing phase.
    

Temporary fix

  • *********
    * HIPER *
    *********
    

Comments

  • 5300-12 - use AIX APAR IV19178
    6100-06 - use AIX APAR IV16603
    7100-00 - use AIX APAR IV21131
    

APAR Information

  • APAR number

    IV21131

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Submitted date

    2012-05-14

  • Closed date

    2012-05-14

  • Last modified date

    2013-03-26

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

    IV19357

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

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U851685

       UP12/08/09 I 1000

PTF to Fileset Mapping

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

AIX family


Software version:
710


Operating system(s):
AIX


Reference #:
IV21131


Modified date:
2013-03-26

Translate my page

Content navigation