ClearCase 7.1 및 IAR Embedded Workbench
기술노트 63639
아키텍처:
All
컴포넌트:
general
업데이트:
2018-02-28 오전 2:29
Introduction
IAR Embedded Workbench may crash with a protection fault if used in conjuction with ClearCase 7.1, or Enovia DesignSync V6R2012.
Note
As of April 2013, we have reports of this problem only for version 7.1 of ClearCase. We do have customers reports that version 7.2 of ClearCase works with IAR Embedded Workbench.
Solution
Removing the registry key that sets the default SCC provider will also eliminate the crash. The workaround is quite simple, remove the entry ...
...in (if using Windows XP)...
HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders
...or in (if using Windows 7)...
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceCodeControlProvider\InstalledSCCProviders
Drawback
Of course this will not make it possible to use ClearCase revision control with the IDE.
Background
In all IAR Embedded Workbench for ARM releases up to and including 6.10.x, the IDE scans the registry at startup for SCC providers (listed in HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders). All found providers are loaded regardless of whether they will be used or not. If any load fails, then an error log is issued. In conjuction with the ClearCase revision control system something more fatal makes the IDE crash.
From IAR Embedded Workbench for ARM version 6.20
From IAR Embedded Workbench for ARM version 6.20, this will be handled differently. The registry is only scanned if the user explicitly wants to connect the project to a SCC project, with command "Project>Source Code Control>Connect Project to SCC Project...".
The root cause of the discussed problem is not fixed, but IAR Embedded Workbench for ARM users that have the ClearCase revision control system installed and don't try to connect the project to a SCC project won't suffer from this.
All product names are trademarks or registered trademarks of their respective owners.