IBM Support

IC78835: TIVOLI STORAGE MANAGER SERVER CRASH MAY HAPPEN WHEN A SELECT COMMAND IS EXECUTED WITH THE -COMMA OPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A memory overlay may happen when issuing a select command  with
    the "-comma"  option. This overlay can lead to a Tivoli Storage
    Manager server crash.
    
    Customer/L2 diagnostics:
    
    1:ANR999D message in dsmserv.err , server console or
    actlog prior to the crash:
    
    
    ANR9999D pkmemory.c(845): Error 10 detected while freeing
    memory; free  was called from admsql.c(6105), memory was
    allocated from admsql.c(6089).
    
    
    2: query actlog shows the following select command prior to the
    server stop:
    ANR2017I Administrator ADMIN  issued command: select *    from
    backups -comma
    
    3: core stack:
    (gdb) where
    #0 0x00000032f3830265 in raise () from
    /space/kris/pmr/61949/lib64/libc.so.6
    #1 0x00000032f3831d10 in abort () from
    /space/kris/pmr/61949/lib64/libc.so.6
    #2 0x00000032f386a99b in __libc_message ()from
    /space/kris/pmr/61949/lib64/libc.so.6
    #3 0x00000032f38730fe in _int_malloc ()from
    /space/kris/pmr/61949/lib64/libc.so.6
    #4 0x00000032f3874e2e in malloc () from
    /space/kris/pmr/61949/lib64/libc.so.6
    #5 0x0000000000caacf8 in pkAllocTrackedUsingMode (file=0xd8d902
    "admsql.c", line=6089, func=0xd8de2b "DoOutputElement",
    amount=4096, mode=6)at pkmemory.c:449
    #6 0x0000000000caadff in pkAllocTracked (file=0x448d <Address
    0x448d out of bounds>, line=1162, func=0x6 <Address 0x6 out of
    bounds>, amount=4294967295) at pkmemory.c:348
    #7 0x000000000051f766 in DoOutputElement (stream=<value
    optimized out>, displayObj=<value optimized out>,
    isNullItem=False, dispStrP=0x5d78e68 "8", dispStrLen=12,
    tgtStrPP=0x45ea9b58, tgtBufSize=0x45ea9b64, delimCharP=0xf19c29
    ",", lastForLine=False)at admsql.c:6089
    #8 0x0000000000520ed4 in NewAdmSQLExecute (cmdP=0x4686e58,
    sqlcmd=0x45eabd90 "select * from backups ", doSteps=<value
    optimized out>, inSqlAnchor=0x0, inSqlSessP=0x0,
    inNumResultCols=0x0, fetchReq=0, inRowsFetched=0x0) at
    admsql.c:3466
    #9 0x0000000000521ff4 in AdmSQLExecute (cmdP=0x4686e58) at
    admsql.c:2167
    #10 0x00000000004839ce in AdmCommandLocal (cmdP=0x4686e58,
    cmdMode=admAnyCmd, impliedCommit=True, confirmReq=<value
    optimized out>, validateOnly=False)at admcmd.c:2179
    #11 0x0000000000484844 in admCommand (cmdP=0x4686e58,
    cmdMode=admAnyCmd, impliedCommit=True, confirmReq=True,
    validateOnly=False) at admcmd.c:1920
    #12 0x0000000000b187ba in SmAdminCommandThread (smCmdP=<value
    optimized out>)at smadmin.c:1322
    #13 0x0000000000cb0c7b in StartThread (startInfoP=0x4191978) at
    pkthread.c:3365
    
    
    Version/Platform affected:
    tivoli storage manager server v61 , v62 on all supported
    platforms
    

Local fix

  • Stop using -comma option with the select command
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All Tivoli Storage Manager server users.     *
    ****************************************************************
    * PROBLEM DESCRIPTION: See error description.                  *
    ****************************************************************
    * RECOMMENDATION: Recommendation:                              *
    *                 Apply fixing level when available. This      *
    *                 problem is currently projected to be fixed   *
    *                 in levels 6.1.5.2, 6.2.3.1 and               *
    *                 6.2.4. 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

    IC78835

  • Reported component name

    TSM SERVER

  • Reported component ID

    5698ISMSV

  • Reported release

    62L

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-09-22

  • Closed date

    2011-09-26

  • Last modified date

    2013-08-22

  • 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

  • R61A PSY

       UP

  • R61H PSY

       UP

  • R61L PSY

       UP

  • R61S PSY

       UP

  • R61W PSY

       UP

  • R62A PSY

       UP

  • R62H PSY

       UP

  • R62L PSY

       UP

  • R62S PSY

       UP

  • R62W PSY

       UP

[{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"62L"}]

Document Information

Modified date:
18 September 2021