A fix is available
APAR status
Closed as program error.
Error description
The strings command may coredump on a multibyte file. % LANG=EN_US.UTF-8 % strings -a /usr/lib/libc.a Segmentation fault in mbrtowc at 0xd040b294 (dbx) where mbrtowc(??, ??, ??, ??) at 0xd040b294 __mbtopc_std(??, ??, ??, ??, ??, ??, ??) at 0xd057f0b8 __mbtopc(??, ??, ??, ??) at 0xd0100694 getwc_unlocked(??) at 0xd01fab78 getwc(??) at 0xd01fa958 findMB(??, ??, ??) at 0x10000d44 main(??, ??) at 0x10000698
Local fix
use ASCII LANG: C or en_US.ISO8859-1, for example
Problem summary
**************************************************************** * USERS AFFECTED: * Systems running the 7200-02 Technology Level with * any of the following filesets at or between the given levels: * MIN MAX FILESET * 7.2.2.0 7.2.2.20 bos.64bit * 7.2.2.0 7.2.2.20 bos.adt.prof * 7.2.2.0 7.2.2.19 bos.rte.control * 7.2.2.0 7.2.2.20 bos.rte.libc * 7.2.2.0 7.2.2.19 bos.rte.shell * 7.2.2.0 7.2.2.20 mcr.rte **************************************************************** * PROBLEM DESCRIPTION: * The strings command may coredump on a multibyte file. * % LANG=EN_US.UTF-8 * % strings -a /usr/lib/libc.a * Segmentation fault in mbrtowc at 0xd040b294 * (dbx) where * mbrtowc(??, ??, ??, ??) at 0xd040b294 * __mbtopc_std(??, ??, ??, ??, ??, ??, ??) at 0xd057f0b8 * __mbtopc(??, ??, ??, ??) at 0xd0100694 * getwc_unlocked(??) at 0xd01fab78 * getwc(??) at 0xd01fa958 * findMB(??, ??, ??) at 0x10000d44 * main(??, ??) at 0x10000698 **************************************************************** * RECOMMENDATION: * Install APAR IJ22334. ****************************************************************
Problem conclusion
Made necessary changes in mutibyte code to fix the problem.
Temporary fix
Comments
APAR Information
APAR number
IJ22334
Reported component name
AIX V7.2
Reported component ID
5765CD200
Reported release
720
Status
CLOSED PER
PE
YesPE
HIPER
NoHIPER
Submitted date
2020-01-28
Closed date
2020-01-28
Last modified date
2020-11-16
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
U887765
Fix information
Fixed component name
AIX V7.2
Fixed component ID
5765CD200
Applicable component levels
R720 PSY U887765
UP20/07/27 I 1000
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSVEF8","label":"AIX 7.2 Enterprise Edition"},"Platform":[{"code":"PF053","label":"Power Systems"}],"Version":"720","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Document Information
Modified date:
18 November 2020