IBM Support

IV14047: KSH DEBUG : MAX RECURSION REACHED IT'S LIMIT, EXITING APPLIES TO AIX 7100-02

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • using the following script :
    trap 'toto='/usr/bin/echo TOTO';print $toto' DEBUG
    echo "will get trapped by debug"
    will error with :
    ksh ./test.script
    will get trapped by debug
    DEBUG : Max recursion reached it's limit, exiting
    

Local fix

  • use ksh93
    or modify the script using following example to reset
    the DEBUG trap when we are already handling the trap
    function handler
    {
    trap '' DEBUG
    print "TOTO"; variable=$(uptime)
    }
    trap handler DEBUG
    echo "will get trapped by debug"
    

Problem summary

  • trap command throws error if run with signal 'DEBUG'
    error :
    "DEBUG : Max recursion reached it's limit, exiting"
    

Problem conclusion

  • Code has been changed to handle trap command when 'DEBUG'
    signal is enable.
    

Temporary fix

Comments

  • 6100-08 - use AIX APAR IV13315
    7100-02 - use AIX APAR IV14047
    

APAR Information

  • APAR number

    IV14047

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2012-01-24

  • Closed date

    2012-01-24

  • Last modified date

    2013-04-15

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

    IV11654

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

       UP12/10/26 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
15 April 2013