IBM Support

IT07987: THE SERVER MAY CRASH WHEN ATTEMPTING TO ACQUIRE THE SAME MUTEX TWICE WHEN A PROCESS IS ENDING

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

  • It is possible for the server to crash when attempting to
    acquire the same mutex twice.  This can occur during any process
     when the process is ending and the server encounters any
    problem where it needs to issue a diagnostic message.
    
    Tivoli Storage Manager Versions Affected: 7.1.0.000 and later on
    all supported platforms
    Customer/L2 Diagnostics The following may be reported.
    
    ANR7837S Internal error Mutex is held by current thread was
    detected.
    
    Also the call stack is as follows:
    
    ntdll!NtWaitForSingleObject+0xa
    KERNELBASE!WaitForSingleObjectEx+0x9c
    dsmsvc!rptGenerateDump(struct _EXCEPTION_POINTERS *
    pExceptionInfo = 0xffffffff`ffffffff)+0xfd
    [e:\build\7.1.1.100\srv\nt\stacktrc.c @ 614]
    dsmsvc!rptUnhandledExceptionFilter(struct _EXCEPTION_POINTERS *
    pExceptionInfo = 0x00000000`00000000)+0xac
    [e:\build\7.1.1.100\srv\nt\stacktrc.c @ 338]
    kernel32!UnhandledExceptionFilter+0x160
    ntdll!MD5Final+0x1de8
    ntdll!_C_specific_handler+0x9c
    ntdll!RtlDecodePointer+0xad
    ntdll!RtlUnwindEx+0xbbf
    ntdll!KiUserExceptionDispatcher+0x2e (TrapFrame @
    00000000`5625cc68)
    adsmdll!pkTrapSyncError(unsigned char * szFunction =
    0x00000000`00000000 "", int nObject = 0, int * nRC =
    0x00000000`00000000)+0x88
    [e:\build\efix\7.1.1.106\srv\nt\pkmonnt.c @ 2782]
    adsmdll!pkAcquireMutex(struct _pkmutex_exported ** mutexP =
    0x00000000`00000002)+0x9c
    [e:\build\efix\7.1.1.106\srv\nt\pkmonnt.c @ 1047]
    adsmdll!procReportContext(struct tsmContext * contextP =
    0x00000000`c4d0c321, struct _outStream_exported * stream =
    0x00000000`00000002, Boolean quiet = 1445321344 (No matching
    enumerant))+0x51 [e:\build\efix\7.1.1.106\srv\util\process.c @
    1495]
    adsmdll!OutDiagToCons(unsigned long crc = 0, unsigned char *
    func = 0x00000000`0041e088 "???", unsigned char * srcFile =
    0x00000000`00000000 "", int srcLine = 0, unsigned char *
    diagMsgP = 0x00000000`c4d0c321 "Failure participating on
    transaction.~")+0x3ef [e:\build\efix\7.1.1.106\srv\util\output.c
    @ 1444]
    adsmdll!outDiagfExt(unsigned char * func = 0x000007fe`e44a8ba0
    "Activity.Summary", unsigned char * srcFile =
    0x00000000`00000000 "", int srcLine = -464876640, unsigned char
    * fmtStr = 0x000007fe`e45ef150 "Failure participating on
    transaction.~")+0x10c
    [e:\build\efix\7.1.1.106\srv\util\outvarg.c @ 228]
    adsmdll!tbOpenX(struct _fakeTmTransId * txnId =
    0x000007fe`e4517fc8, unsigned char * tblName =
    0x000007fe`e44a8ba0 "Activity.Summary", unsigned char * tempName
    = 0x000007fe`e56edc58 "PROCESS_END", Boolean isTempReopen =
    False (0), struct _tbHandle_exported ** handle =
    0x00000000`00000000)+0x12f
    [e:\build\efix\7.1.1.106\srv\rdb\tbtbl.c @ 5184]
    adsmdll!admLogSummary(struct admLogSummaryInfo * info =
    0x00000000`00000000)+0x252
    [e:\build\efix\7.1.1.106\srv\adm\admactlg.c @ 673]
    adsmdll!procEndProcessEx(long procNum = 0,
    processCompletionStatus status = -994100520 (No matching
    enumerant))+0x53c [e:\build\efix\7.1.1.106\srv\util\process.c @
    758]
    adsmdll!NrTargetMonProcess(void * argP =
    0x00000000`5625f870)+0x28f
    [e:\build\efix\7.1.1.106\srv\im\nrmain.c @ 8241]
    adsmdll!startThread(void * parm = 0x00000000`00000000)+0x13c
    [e:\build\efix\7.1.1.106\srv\nt\pkthread.c @ 3361]
    
    Initial Impact: High
    
    Additional Keywords: crash abend
    

Local fix

  • This is not likely to occur frequently, however, the following
    can be added to the server options file to prevent this.
    
    CONTEXTMESSAGING OFF
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Tivoli Storage Manager server users.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See ERROR DESCRIPTION.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply fixing level when available.                           *
    * This problem is currently projected to be fixed in level     *
    * 7.1.3.                                                       *
    * Note that this is subject to change at the discretion of     *
    * IBM.                                                         *
    ****************************************************************
    

Problem conclusion

  • This problem was fixed.
    Affected platforms:  AIX, HP-UX, Solaris, Linux, and Windows.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT07987

  • Reported component name

    TSM SERVER

  • Reported component ID

    5698ISMSV

  • Reported release

    71W

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-31

  • Closed date

    2015-04-08

  • Last modified date

    2015-04-08

  • 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

    TSM SERVER

  • Fixed component ID

    5698ISMSV

Applicable component levels

  • R71A PSY

       UP

  • R71H PSY

       UP

  • R71L PSY

       UP

  • R71S PSY

       UP

  • R71W PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"71W","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
08 April 2015