IBM Support

IC79428: DB2 CRASH WHEN CALLING OS PLUG-IN GETGRENT / GETGRENT_R TO GET GROUP NAMES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • db2 crash when calling OS plug-in getgrent / getgrent_r to get
    group names
    
    under unusual circumstances, the getgrent/getgrent_r function
    could return a NULL pointer for the group name which will cause
    DB2 to crash.
    
    From trap file:
    
    timestamp: 2011-10-07-17.55.06.122329
    
    Signal #11 (SIGSEGV): si_addr is 0x0000000000000000, si_code is
    
    0x00000001 (SEGV_MAPERR:Address not mapped to object.)
    
    
    
    <StackTrace>
    
    -----FUNC-ADDR---- ------FUNCTION OFFSET------
    
    ossDumpStackTraceEx
    _ZN11OSSTrapFile6dumpExEmiP7siginfoPvm
    sqlo_trce 0x03fb
    sqloEDUCodeTrapHandler
    sqloacs2 0x0005
    _Z12secGetGroupsPcPvPKciPS_PiS2_ii
    _Z19osplugin_get_groupsPcPvPKciPS_PiS2_ii
    _Z19get_groups_externalPKciS0_iS0_iiS0_iPviiS0_iPS1_PiPPcS3_
    _Z16getgroupsforuserPciS_iS_iiS_iPviiS_iP14sqlo_mem_descrP17grou
    p_functi
    _Z21sqlexGetGroupsForUserPciS_iS_iiS_iPviiS_iP14sqlo_mem_descrP9
    sqlf_kcf
    _Z20sqlexSlsSystemAccrdbP14db2UCinterface
    _Z20sqlexEngAuthenticateP14db2UCinterface
    _ZN14sqeApplication13AppLocalStartEP14db2UCinterface
    _Z11sqlelostWrpP14db2UCinterface
    _Z14sqleUCengnInitP14db2UCinterfacet
    _Z18sqljsConnectAttachP13sqljsDrdaAsCbP14db2UCinterface
    _Z16sqljs_ddm_accsecP14db2UCinterfaceP13sqljDDMObject
    _Z17sqljsParseConnectP13sqljsDrdaAsCbP13sqljDDMObjectP14db2UCint
    erface +
    _Z10sqljsParseP13sqljsDrdaAsCbP14db2UCinterfaceP8sqeAgentb
    _Z17sqljsDrdaAsDriverP18SQLCC_INITSTRUCT_T
    ......
    
    
    It failed in sqloacs2 checking for group names from OS plug-in
    getgrent / getgrent_r.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 9.7fp6                                *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 Version 9.7fp6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC79428

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-10-24

  • Closed date

    2012-06-18

  • Last modified date

    2012-06-18

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

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

    IC84283

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

  • R970 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
18 June 2012