Bug 16071 - side-by-side error (code 63) with tk85.dll of R in event viewer
Summary: side-by-side error (code 63) with tk85.dll of R in event viewer
Status: NEW
Alias: None
Product: R
Classification: Unclassified
Component: Installation (show other bugs)
Version: R 3.1.2
Hardware: Other Windows 64-bit
: P5 normal
Assignee: R-core
URL:
Depends on:
Blocks:
 
Reported: 2014-11-13 21:16 UTC by g.graupner
Modified: 2014-11-14 17:03 UTC (History)
1 user (show)

See Also:


Attachments
Support document for SxS error with R 3.1.0 (15.17 KB, image/png)
2014-11-13 21:16 UTC, g.graupner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description g.graupner 2014-11-13 21:16:10 UTC
Created attachment 1687 [details]
Support document for SxS error with R 3.1.0

Component: class attributes of tk85.dll library

OS: Win 7 x64 Pro

Overview:  Error message appearing in Windows event viewer, even if R is not running

Steps to reproduce: install Win 7 x64 Pro on PC, install R 3.1.0, R 3.1.1. or R 3.1.2, inspect event viewer for errors

Actual Results: Error message in Windows Event Viewer: Activation context generation failed for "c:\program files\R\r-3.1.0\Tcl\bin64\tk85.dll". Error in manifest of policy file "c:\program files\R\r-3.1.0\Tcl\bin64\tk85.dll" on line 9. The value "x64" of attribute "processorArchitecture" in element"assemblyIdentity" is invalid.

Expected result: no error code

Build Date& Hardware:  November 29 2013 Win7 x64 Pro running on Toshiba Satellite P75-A7200 with Intel Quadcore chips;
July 19, 2014 Win7 x64 Pro running R 3.1.0 on HP ProBook 4510s with Intel core2 chips; November 3, 2014 Win7 x64 Pro running R 3.1.2 on same computer

Additional Platforms   not known


Additional comments:  Not sure whether this is more of an R issue or a Windows 7 x64 PRO/service pack 1/Other software issue (a permission - related signal from Windows to the tk85.dll library could be affected?). I have seen the code 63 error on two different laptops under OS Win 7 x64 PRO (HP ProBook and Toshiba Satellite, both with Intel chips, but of different architecture). Both laptops are running different antivirus software (Sophos vs. avast! 9.0.2021) and different web browsers of the FireFox family (FireFox 27 vs. SeaMonkey 2.26.1). The Visual C++ redistributable versions installed on both laptops are for use of both x64 and x86 confgurations as recommended (x64 9.0.30729.6161 (2008 package) and 10.0.40219 (2010 package) for the x64 configuration, and x86 9.0.30729.6161 (2008 package) and 10.0.30219 (2010 package) for the x86 configuration). From all software routines installed, only the tk85.dll library under R  versions 3.1.0 through 3.1.2 is affected, and the error message in the Windows event viewer appears as soon as R has been installed. The error message relates to class attributes. As bug report 2159 (from the R archives 2002) has suggested class attributes on an environment in R to be buggy, my observation could be related.
Comment 1 Duncan Murdoch 2014-11-14 17:03:25 UTC
I believe MSDN indicates this error arises when you have a newer version of the MSVC runtime library than we're expecting.  The advice there is to try installing older ones until the error goes away.

If this is right, I don't think there is much R can do about this:  I don't believe that the MS license allows us to redistribute the older runtime.  Most systems already have one installed so we don't need to, but apparently yours doesn't.