IBM Support

IV71085: KSH93 CRASHES IN PAT_LINE 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

  • ksh93 crashes in pat_line function while pattern matching
    

Local fix

Problem summary

  • ksh93 dump with the following stack:
    Segmentation fault in pat_line at 0x100072408
    0x100072408 (pat_line+0x68) 88030001         lbz   r0,0x1(r3)
    (dbx) where
    pat_line(??, ??, ??) at 0x100072408
    io_patseek(??, ??, ??, ??) at 0x1000722f0
    sh_redirect(??, ??, ??) at 0x10007536c
    sh_exec(??, ??) at 0x1000c65b4
    sh_exec(??, ??) at 0x1000c7694
    sh_exec(??, ??) at 0x1000c782c
    sh_exec(??, ??) at 0x1000c76b8
    sh_funscope(??, ??, ??, ??, ??) at 0x1000c9940
    sh_funct(??, ??, ??, ??, ??, ??) at 0x1000c3dfc
    sh_exec(??, ??) at 0x1000c5844
    sh_exec(??, ??) at 0x1000c6048
    sh_exec(??, ??) at 0x1000c7564
    sh_exec(??, ??) at 0x1000c5e78
    exfile(??, ??, ??) at 0x100001258
    sh_main(??, ??, ??) at 0x100001bb8
    pmain.main(??, ??) at 0x1000004b0
    

Problem conclusion

  • Modified the buggy conditional loop not to overrun.
    

Temporary fix

Comments

  • 7100-02 - use AIX APAR IV71085
    7100-03 - use AIX APAR IV69339
    

APAR Information

  • APAR number

    IV71085

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2015-03-16

  • Closed date

    2015-03-16

  • Last modified date

    2015-09-30

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

    IV69339

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

       UP15/09/21 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:
30 September 2015