A fix is available
APAR status
Closed as program error.
Error description
Invocation of /usr/bin/tprof -Call -skeuz -r trace resulted in a core dump. The tprof crashes when it processes huge trace data. The crash happened in the C++ demangler code. (dbx) t Qualifier::Qualifier(Qualifier::Class**,unsigned long,bool,bool)() at 0x90000000088b428 ValidQualifier(char*,unsigned long&,bool,ClassName::ObjectModelKind&,bool)() at 0x90000000088dad4 ValidQualifier(char*,unsigned long&,bool,bool)() at 0x90000000088d89c BufferedDemangle(char*,char*&,unsigned long)() at 0x90000000088a65c Demangle(char*,char*&,unsigned long)() at 0x90000000088ecec DeMangle@AF23_1(??, ??, ??) at 0x90000000114b7bc ReportProfile(0x9001000a0449f70, 0x0, 0x2198de6b0) at 0x100025dd0 PrintReport(0x2198de6b0) at 0x100039108 tprof is multi threaded program which invoke c++'s demangle function without serializing call to demangle. As the demangle library is not thread safe core dump occurred with above stack.
Local fix
Problem summary
Invocation of /usr/bin/tprof -Call -skeuz -r trace resulted in a core dump. The tprof crashes when it processes huge trace data. The crash happened in the C++ demangler code. (dbx) t Qualifier::Qualifier(Qualifier::Class**,unsigned long,bool, bool)() at 0x90000000088b428 ValidQualifier(char*,unsigned long&,bool,ClassName:: ObjectModelKind&,bool)() at 0x90000000088dad4 ValidQualifier(char*,unsigned long&,bool,bool)() at 0x90000000088d89c BufferedDemangle(char*,char*&,unsigned long)() at 0x90000000088a65c Demangle(char*,char*&,unsigned long)() at 0x90000000088ecec DeMangle@AF23_1(??, ??, ??) at 0x90000000114b7bc ReportProfile(0x9001000a0449f70, 0x0, 0x2198de6b0) at 0x100025dd0 PrintReport(0x2198de6b0) at 0x100039108 tprof is multi threaded program which invoke c++'s demangle function without serializing call to demangle. As the demangle library is not thread safe core dump occurred with above stack.
Problem conclusion
Modified the tprof code to serialize the calls to demangle function.
Temporary fix
Comments
6100-08 - use AIX APAR IV64479 6100-09 - use AIX APAR IV63111 7100-02 - use AIX APAR IV64297 7100-03 - use AIX APAR IV62981
APAR Information
APAR number
IV64479
Reported component name
AIX 610 STD EDI
Reported component ID
5765G6200
Reported release
610
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Submitted date
2014-09-02
Closed date
2014-09-02
Last modified date
2016-05-11
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
AIX 610 STD EDI
Fixed component ID
5765G6200
Applicable component levels
R610 PSY U867344
UP15/01/18 I 1000
PTF to Fileset Mapping
U867344 bos.perf.tools 6.1.8.19
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSLLZP","label":"AIX Standard Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"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":"610","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":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"APARs - AIX 7.1 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
11 May 2016