APAR status
Closed as program error.
Error description
Catia V5 crashes with the 'command interrupted' error if the CATStartupPath variable exceeds 210 characters. . Scenario: Abstract - Catia V5 crashes with the command interrupted error if the CATStartupScript variable in the 'CATIA_P3.V5R11.B11.txt' file is set to more than 210 characters. This happens only if the "Load Extended Language Libraries" option in ON in the Tools => Options panel. . Scenario - 1 - Open the CatiaV5 environment file CATIA_P3.V5R11.B11.txt 2 - Set the CATStartupPath variable to a path that is more than 210 characters. 3 - Launch Catia V5 4 - Click on Tools => Options => Parameters & Measures 5 - Check the 'Load Extended Language Libraries' option. 6 - Exit Catia V5 and launch again. 7 - Download the files TestItem.CATScript and Part11.CATPart files attached to this PMR into a local directory. 8 - In Catia V5 open the Part11.CATPart attached to this PMR. 9 - Click on Tools=>Macro=>Macros - The macros panel pops up. 10- Locate the TestItem.CATScript file and Click Run. Catia crashes with the command interrupted error. . Notes - 1 - If the CATStartupPath variable path is less than 210 characters everything works fine. 2 - Tests were done on Catia V5R11 SP02 and Catia V5R13 SP03 and the results are exactly the same. .
Local fix
Problem summary
Catia V5 crashes with the 'command interrupted' error if the C ATStartupPath variable exceeds 210 characters Catia V5 crashes with the 'command interrupted' error if the CATStartupPath variable exceeds 210 characters. . Scenario: Abstract - Catia V5 crashes with the command interrupted error if the CATStartupScript variable in the 'CATIA_P3.V5R11.B11.txt' file is set to more than 210 characters. This happens only if the "Load Extended Language Libraries" option in ON in the Tools => Options panel. . Scenario - 1 - Open the CatiaV5 environment file CATIA_P3.V5R11.B11.txt 2 - Set the CATStartupPath variable to a path that is more than 210 characters. 3 - Launch Catia V5 4 - Click on Tools => Options => Parameters & Measures 5 - Check the 'Load Extended Language Libraries' option. 6 - Exit Catia V5 and launch again. 7 - Download the files TestItem.CATScript and Part11.CATPart files attached to this PMR into a local directory. 8 - In Catia V5 open the Part11.CATPart attached to this PMR. 9 - Click on Tools=>Macro=>Macros - The macros panel pops up. 10- Locate the TestItem.CATScript file and Click Run. Catia crashes with the command interrupted error. . Notes - 1 - If the CATStartupPath variable path is less than 210 characters everything works fine. 2 - Tests were done on Catia V5R11 SP02 and Catia V5R13 SP03 and the results are exactly the same. .
Problem conclusion
THIS PROBLEM WILL BE FIXED ON CATIA VERSION 5 RELEASE 14 GA level. NOTE THAT THIS PROBLEM WILL ALSO BE FIXED ON V5R13SP5. . Incident Diagnosis the path length use in the setting file is bigger than the maximum size allowed. Therefore it leads to a crash on sun. . Correction Explanation We change the array of char to a CATUnicodeString that has no length restriction . Answer and By-Pass None. .
Temporary fix
Comments
APAR Information
APAR number
HD23732
Reported component name
CATIA V 5 SUN
Reported component ID
569104000
Reported release
511
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2004-06-14
Closed date
2004-07-01
Last modified date
2009-06-24
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
CATIA V 5 SUN
Fixed component ID
569104000
Applicable component levels
R513 PSN SP51305
UP04/07/16 N 1000
R514 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSVJ2K","label":"CATIA V5"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"511","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
24 June 2009