APAR status
Closed as program error.
Error description
Memory access violation in assembly when synchronizing. . We have developed a dedicated test object that reproduces the crash we have on win_b64 in LMS Virtual.Lab when synchronizing after having replaced an assembly component by another one. . The test object also crashes when replayed using purify or memory check on win32. . Scenario: - Unzip the attached workspace and compile using B17 or B18 as PreReq. - Using mkodt -a -B purify, the result is the following: . [E] EXU: Unhandled exception {1 occurrence} Exception code: 0xc0000005 [Error: access violation writing to freed memory] Exception address: [CATSAM0Explicit.dll ip=0x0CDCA459] Filter: mainCRTStartup [crtexe.c:411] Exception location [CATSAM0Explicit.dll ip=0x0CDCA45A] CAAAssemblyTools::Synchronize(CATDocument const*) [caaassemblytools.cpp:249] . => HRESULT hr=spAsy->SetAssemblyAnalysis (ProductList2,ShapeList2); . CATDocument* pDoc=NULL; spContext->GetDocument(pDoc); SynchronizeAssembly(CATDocument *) [main.cpp:79] CAAAssemblyDefinition(CATUnicodeString const&,CATUnicodeString const&,CATUnicodeString const&,CATUnicodeString const&) [main.cpp:267] main [main.cpp:352] . - Using mkodt -a -B MemoryCheck, the free memory read and write errors are detected (see CAAAssemblyDefinition01_mc.txt for details). . You can find the complete results of Memory Check analysis on \\autrena2dsy\HOME\tmp\DSLEU05542 \data\R18W25 \CAATestFramework.tst\FunctionTests\Output\intel_ a. .
Local fix
Problem summary
Memory access violation in assembly when synchronizing Memory access violation in assembly when synchronizing. . We have developed a dedicated test object that reproduces the crash we have on win_b64 in LMS Virtual.Lab when synchronizing after having replaced an assembly component by another one. . The test object also crashes when replayed using purify or memory check on win32. . Scenario: - Unzip the attached workspace and compile using B17 or B18 as PreReq. - Using mkodt -a -B purify, the result is the following: . E EXU: Unhandled exception {1 occurrence} Exception code: 0xc0000005 Error: access violation writing to freed memory Exception address: CATSAM0Explicit.dll ip=0x0CDCA459 Filter: mainCRTStartup crtexe.c:411 Exception location CATSAM0Explicit.dll ip=0x0CDCA45A CAAAssemblyTools::Synchronize(CATDocument const*) caaassemblytools.cpp:249 . => HRESULT hr=spAsy->SetAssemblyAnalysis (ProductList2,ShapeList2); . CATDocument* pDoc=NULL; spContext->GetDocument(pDoc); SynchronizeAssembly(CATDocument *) main.cpp:79 CAAAssemblyDefinition(CATUnicodeString const&,CATUnicodeString const&,CATUnicodeString const&,CATUnicodeString const&) main.cpp:267 main main.cpp:352 . - Using mkodt -a -B MemoryCheck, the free memory read and write errors are detected (see CAAAssemblyDefinition01_mc.txt for details). . You can find the complete results of Memory Check analysis on \\autrena2dsy\HOME\tmp\DSLEU05542 \data\R18W25 \CAATestFramework.tst\FunctionTests\Output\intel_ a. .
Problem conclusion
THIS PROBLEM WILL BE FIXED ON CATIA VERSION 5 RELEASE 19 GA level. NOTE THAT THIS PROBLEM WILL ALSO BE FIXED ON V5R18SP01. . Incident Diagnosis: When unloading an assembled analysis, all its children were scanned and destroyed. However, when removing the parent-child link after the destruction, we had to create an object that pointed the child analysis, which does not exist anymore. . Correction Explanation: The child analysis is destroyed after the link removal. . Answer and By-Pass: None. .
Temporary fix
Comments
APAR Information
APAR number
HD65581
Reported component name
CATIA V5 NT>XP
Reported component ID
569151000
Reported release
517
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2007-07-02
Closed date
2007-09-04
Last modified date
2007-11-13
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 V5 NT>XP
Fixed component ID
569151000
Applicable component levels
R518 PSN SP51802
UP07/11/13 I 1000
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSVJ2K","label":"CATIA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"517","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
13 November 2007