IBM Support

IV97016: GETADDRINFO CAN COREDUMP WITH SEGV WHEN USING MALLOC POOL APPLIES TO AIX 7100-04

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • when using MALLOCOPTIONS=pool and /etc/netsvc.conf
    doesn't
    specify an hosts preference, 64 bits applications might
    coredump in :
    calloc_pool@AF111_41(??, ??, ??, ??, ??) at
    0x90000000002e7c4
    calloc(??, ??) at 0x90000000002df08
    getaddrinfo(??, ??, ??, ??) at 0x900000000133ef4
    main(), line 13 in "test_getaddrinfo.c"
    
    This was mainly seen with DataFlowEngine process but can
    be seen with others.
    

Local fix

  • Specify hosts resolution order in /etc/netsvc.conf so
    that IPV4 resolve
    first I.E :
    hosts=local4,bind4
    

Problem summary

  • getaddrinfo subroutine may coredump with SEGV when using
    malloc pool option.
    

Problem conclusion

  • Code has been changed to correct the coredump scenario.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV97016

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-06-07

  • Closed date

    2017-06-07

  • Last modified date

    2017-10-05

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

    IV95824

  • 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 U878452

       UP17/10/05 I 1000

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11R"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
19 April 2022