IBM Support

IV69339: KSH93 CRASHES IN PAT_LINE APPLIES TO AIX 7100-03

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

    IV69339

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2015-02-09

  • Closed date

    2015-03-13

  • Last modified date

    2015-09-30

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

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

    IV71085 IV71139

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U865686

       UP15/05/19 I 1000

PTF to Fileset Mapping



Document information

More support for: AIX Enterprise Edition

Software version: 710

Operating system(s): AIX

Reference #: IV69339

Modified date: 30 September 2015