Application locked up at startup with NSight 3.0

I am trying to do a OpenCL Trace on my application and as soon as the application starts it is frozen.
I can see it in the TaskManager but it is not taking any CPU resource.
Also when attaching VS2010 debugger on it, it reports that the application is deadlocked.
Checking the stack of the locked thread shows the following

Background Thread

ntdll.dll!NtWaitForSingleObject() + 0x15 bytes
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
ntdll.dll!RtlIntegerToUnicodeString() + 0x20b bytes
Nvda.Nexus.Injection.100.dll!NexusInjectionDummy() + 0x3256 bytes
Nvda.Nexus.Injection.100.dll!NexusInjectionDummy() + 0x38fb bytes
Nvda.Nexus.Injection.100.dll!NexusInjectionDummy() + 0x860 bytes
KernelBase.dll!LoadLibraryExW() + 0x1f1 bytes
Nvd3d9wrap.dll!GetNVDisplayW() + 0x279f bytes
KernelBase.dll!LoadLibraryExA() + 0x26 bytes
kernel32.dll!LoadLibraryA() + 0x31 bytes
intelocl.dll!clGetDeviceIDsFromDX9INTEL() + 0x1fecc bytes
Main Thread
ntdll.dll!NtWaitForSingleObject() + 0x15 bytes
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
ntdll.dll!RtlIntegerToUnicodeString() + 0x20b bytes
Nvda.OpenCl.Injection.100.dll!NvdaOpenClInjectionDummy() + 0x1cbd7 bytes
Nvda.Nexus.Injection.100.dll!NexusInjectionDummy() + 0x3364 bytes
Nvda.Nexus.Injection.100.dll!NexusInjectionDummy() + 0x39a8 bytes
Nvda.Nexus.Injection.100.dll!NexusInjectionDummy() + 0x8ed bytes
KernelBase.dll!FreeLibraryAndExitThread() + 0x28 bytes
kernel32.dll!FreeLibraryAndExitThread() + 0x10 bytes
70c41884()
ntdll.dll!RtlInitializeExceptionChain() + 0x63 bytes
ntdll.dll!RtlInitializeExceptionChain() + 0x36 bytes

I am running on Win7 x64 with a GTX580 (Driver 310.70) , I7 3770K (OpenCL enabled for HD4000, drive 9.17.10.2875).
Cuda 5.0 installed and NSight 3.0 too.

If I remove the OpenCL Trace (pointless for me since that is what I want to do) and add CUDA trace for example then it works fine but do not capture anything obviously.
Is it possible that there is an issue in the Injection dll ?

Any idea on how to go around that?

Thnaks.
Laurent

Hi Laurent,

Any chance we can take a look at your app?

-Jeff

Hi Jeff,

Tricky obviously.
Does binary only be enough? If yes then PM me and we can probably arrange something.

Laurent

Sent. :)