最近、VS 2015 RC をインストールしました。バージョン 14 では IntelliTrace を使用しています。それ以来、以前のバージョンの IntelliTrace に問題がありました。
この問題は、通話情報を収集しようとすると発生します (診断イベントのみを収集する場合は問題ありません)。いずれにせよ、スタンドアロン コレクタまたは VS を使用すると、次のエラーが表示されます。
Unhandled Exception: System.AccessViolationException: Attempted to read or write
protected memory. This is often an indication that other memory is corrupt.
VS 2015 の再インストールは役に立ちませんでした。イベント ログには、次のイベント リストが表示されます (最も古いものから順に)。
TraceLog Profiler component initialized successfully, process Example.exe
.NET Runtime version 4.0.30319.0 - The profiler was loaded successfully.
Profiler CLSID: '{f1260058-1a1f-4738-8be2-0bf9d3a64219}'. Process ID
(decimal): 7196. Message ID: [0x2507].
TraceLog Profiler in process Example.exe experienced an internal failure.
The accuracy of the collected trace may be affected.
Application: Example.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
Faulting application name: Example.exe, version: 1.0.0.0, time stamp: 0x4ecfa3a5
Faulting module name: Microsoft.IntelliTrace.Profiler.11.0.0.SC.dll, version: 11.0.50522.1, time stamp: 0x4fbadafb
Exception code: 0xc0000005
Fault offset: 0x0000000000040d24
Faulting process id: 0x1c1c
Faulting application start time: 0x01d0ad8432baa357
Faulting application path: C:\Temp\Example.exe
Faulting module path: C:\StandaloneCollector\Microsoft.IntelliTrace.Profiler.11.0.0.SC.dll
Report Id: 709fb3dd-1977-11e5-9c79-240a644a5a8d
Faulting package full name:
Faulting package-relative application ID:
最初はすべて問題ありませんが、何かがうまくいかないことがあります。Example.exe はコンソール アプリケーションです。
VS 2015 RC の前にベータ版をインストールしましたが、そのような問題は見つかりませんでした。
VS 2015 RC に IntelliTrace を使用できましたが、他のバージョンが機能しない理由を知りたいです。おそらく何かの競合があります。Standalone Collector が影響を受けた理由も気になります。VSバイナリから独立していると確信していました。
似たようなことを経験しましたか?何か案は?
***** 編集 *****
どうやら私は十分に明確ではなかったようです。VS 2015 (バージョン 14) で配布された IntelliTrace は正しく動作します。ただし、IntelliTrace の以前のバージョン (バージョン 11 および 12) は機能しません。VS 2015 RC をインストールした後、それらは機能しなくなりました。