ClearCase 7.1 and IAR Embedded Workbench

Technical Note 63639

Targets:
All

Component:
General

Updated:
4/25/2013 4:12 PM

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.

Related Tech Notes

© IAR Systems 1995-2016 - All rights reserved.