IBM Support

IZ81034: MULTI-THREADED APPLICATION USING MBSTOWCS() COREDUMPS APPLIES TO AIX 5300-11

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Any multi-threaded application may coredump or
    receive SIGSEGV with a stack trace like -
    __mbtowc_sbcs(??, ??, ??, ??, ??, ??)
    mbtowc(??, ??, ??)
    __mbstowcs_std(??, ??, ??, ??, ??, ??)
    mbstowcs(??, ??, ??)
    ...
    
    The string being processed will have both ASCII and
    non-ASCII characters.  The locale will be a non-C
    locale.
    

Local fix

  • Use a single-threaded application.
    

Problem summary

  • core dump in libi18n libaray.
    

Problem conclusion

  • Add thread safe funcitons in libi18n.a
    

Temporary fix

Comments

  • 5300-11 - use AIX APAR IZ81034
    5300-12 - use AIX APAR IV04242
    6100-04 - use AIX APAR IV05590
    6100-05 - use AIX APAR IV05453
    6100-06 - use AIX APAR IZ85824
    7100-00 - use AIX APAR IZ82550
    

APAR Information

  • APAR number

    IZ81034

  • Reported component name

    AIX 5.3

  • Reported component ID

    5765G0300

  • Reported release

    530

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2010-07-27

  • Closed date

    2011-05-02

  • Last modified date

    2013-04-17

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

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

    IZ82550 IZ85824 IV04242

Fix information

  • Fixed component name

    AIX 5.3

  • Fixed component ID

    5765G0300

Applicable component levels

  • R530 PSY U844890

       UP11/10/07 I 1000

PTF to Fileset Mapping

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

Document Information

Modified date:
17 April 2013