IC88941: POSSIBLE CRASH (ABORT/SEGV) WHEN RUNNING OUT OF MEMORY BECAUSE OF RECURSION CONSUMING UP THE STACK

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The signature here will be that we will end up with segv when
    trying to allocate a new frame in the stack and the frame
    address will fall in the range of the guard page. Also, most of
    the stack will be filled up with functions from oss layer for
    analysing out of memory error.
    
    From the stack example below what should be common is the
    recursion seen in the last top frames:
    
    Frame for _ossMemAlloc()
    Frame for ossGetPhysSwapInfo()
    Frame for ossErrorGetMemoryStatistics()
    Frame for ossErrorAnalysis() returned on call to
    ossErrorMemoryAnalysis()
    Frame for ossSystemErrorHandler()
    Frame for _ossMemAlloc()
    Frame for ossGetPhysSwapInfo()
    Frame for ossErrorGetMemoryStatistics()
    Frame for ossErrorAnalysis() returned on call to
    ossErrorMemoryAnalysis()
    Frame for ossSystemErrorHandler()
    Frame for _ossMemAlloc()
    Frame for ossGetPhysSwapInfo()
    Frame for ossErrorGetMemoryStatistics()
    Frame for ossErrorAnalysis() returned on call to
    ossErrorMemoryAnalysis()
    Frame for ossSystemErrorHandler()
    Frame for _ossMemAlloc()
    Frame for ossGetPhysSwapInfo()
    Frame for ossErrorGetMemoryStatistics()
    Frame for ossErrorAnalysis() returned on call to
    ossErrorMemoryAnalysis()
    Frame for ossSystemErrorHandler()
    Frame for _ossMemAlloc()
    Frame for sqlnlsMessage()
    Frame for sqlnlsgmsg()
    Frame for sqlogmsg_noconv()
    Frame for pdGetMessage() returned on call to pdLoadMessage()
    Frame for pdLogInternal()
    Frame for pdLog()
    Frame for sqlt_logadmin()
    Frame for sqlexGetGroupsForUser()
    Frame for sqlexSlsSystemAccrdb()
    Frame for sqlexEngAuthenticate()
    Frame for sqleExecuteSecurityCheck()
    Frame for sqeApplication::AppLocalStart()
    Frame for sqlelostWrp()
    Frame for sqleUCengnInit()
    Frame for sqleUCagentConnect()
    Frame for sqljsConnectAttach()
    Frame for sqljs_ddm_accsec()
    Frame for sqljsParseConnect()
    Frame for sqljsParse()
    Frame for sqljsSqlam()
    Frame for sqljsDriveRequests()
    Frame for sqljsDrdaAsInnerDriver()
    Frame for sqljsDrdaAsDriver()
    Frame for sqeAgentGRunEDU()
    Frame for sqlzRunEDU()
    Frame for sqloEDUEntry()
    
    This issue can occur on Solaris due to the fact that function
    'ossGetPhysSwapInfo()' on Solaris attempts to allocate memory.
    And this probably may also happen in other platforms with other
    situations as in funtion 'ossSystemErrorHandler()' we do not
    detect that we are entering again for the same reason.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Systems running with DB2 v97fp7 or below.                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrading to DB2 version v97fp8 resolves this issue.         *
    ****************************************************************
    

Problem conclusion

  • This issue is first fixed in DB2 v97fp8.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC88941

  • 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

    2012-12-07

  • Closed date

    2013-10-18

  • Last modified date

    2013-10-18

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

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

    IC92031

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

9.7

Reference #:

IC88941

Modified date:

2013-10-18

Translate my page

Machine Translation

Content navigation