IBM Support

IY58518: SORT COMMAND DUMPS CORE IN C LOCALE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The "sort" command dumps core in the C locale when sorting
    a 15 MB customer file as shown below:
    $ export LANG=C
    $ locale
    LANG=C
    LC_COLLATE="C"
    LC_CTYPE="C"
    LC_MONETARY="C"
    LC_NUMERIC="C"
    LC_TIME="C"
    LC_MESSAGES="C"
    LC_ALL=
    $ sort +0 -1 +1 -2 +2 -3 +3 -4  +4 -5 +5 -6 +6 -7 +7 -8 +8
    -9 +9 -10 sample.dat
    Memory fault(coredump)
    
    The same command works in the en_US locale.
    

Local fix

Problem summary

  • The "sort" command dumps core in the C locale when sorting
    a 15 MB customer file.
    

Problem conclusion

  • Opened an internal defect to address this issue.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IY58518

  • Reported component name

    AIX 5L POWER V5

  • Reported component ID

    5765E6200

  • Reported release

    520

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2004-07-02

  • Closed date

    2004-07-02

  • Last modified date

    2004-09-10

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

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

    IY61217

Fix information

  • Fixed component name

    AIX 5L POWER V5

  • Fixed component ID

    5765E6200

Applicable component levels

  • R520 PSY U499670

       UP04/09/10 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11M","label":"APARs - AIX 5.2 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"520","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
10 September 2004