Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

VS2008 protected memory read exception

You mean this ?

Paul

 

0:000> g
ModLoad: 76180000 76246000   C:\Windows\system32\ADVAPI32.dll
ModLoad: 764c0000 76583000   C:\Windows\system32\RPCRT4.dll
ModLoad: 76460000 764b8000   C:\Windows\system32\SHLWAPI.dll
ModLoad: 777f0000 7783b000   C:\Windows\system32\GDI32.dll
ModLoad: 76610000 766ad000   C:\Windows\system32\USER32.dll
ModLoad: 77470000 7751a000   C:\Windows\system32\msvcrt.dll
ModLoad: 75ef0000 75f0e000   C:\Windows\system32\IMM32.DLL
ModLoad: 77520000 775e8000   C:\Windows\system32\MSCTF.dll
ModLoad: 75f10000 75f19000   C:\Windows\system32\LPK.DLL
ModLoad: 775f0000 7766d000   C:\Windows\system32\USP10.dll
ModLoad: 74c60000 74dfe000   C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_5cdbaa5a083979cc\comctl32.dll
ModLoad: 79e70000 7a3ff000   C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
ModLoad: 71ef0000 71f8b000   C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.1434_none_d08b6002442c891f\MSVCR80.dll
ModLoad: 76890000 7739f000   C:\Windows\system32\shell32.dll
ModLoad: 76740000 76884000   C:\Windows\system32\ole32.dll
ModLoad: 790c0000 79bf6000   C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\5b3e3b0551bcaa722c27dbb089c431e4\mscorlib.ni.dll
ModLoad: 74f60000 74f9f000   C:\Windows\system32\uxtheme.dll
ModLoad: 79060000 790b6000   C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll
ModLoad: 7a440000 7ac2a000   C:\Windows\assembly\NativeImages_v2.0.50727_32\System\267d4c344058092e6950c11594244f90\System.ni.dll
ModLoad: 7ade0000 7af7c000   C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Drawing\a35f567c4c67d6b1ca9a0023852847a2\System.Drawing.ni.dll
ModLoad: 7afd0000 7bc6c000   C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Windows.Forms\45ee94a63c463b93e3ff694c6ecd0820\System.Windows.Forms.ni.dll
ModLoad: 58e40000 5930a000   System.Windows.Forms.dll
ModLoad: 64890000 6498c000   C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Configuration\15366cc16c2550064601b5167821667d\System.Configuration.ni.dll
ModLoad: 637a0000 63d28000   C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Xml\02cf61328d59df9b3ec09544f449a781\System.Xml.ni.dll
ModLoad: 74140000 742eb000   C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6001.18000_none_9e752e5ac9c619f3\gdiplus.dll
ModLoad: 766b0000 76734000   C:\Windows\system32\CLBCatQ.DLL
ModLoad: 77840000 778cd000   C:\Windows\system32\OLEAUT32.dll
ModLoad: 632c0000 632fc000   image632c0000
ModLoad: 01c40000 01c7c000   image01c40000
ModLoad: 75240000 7527b000   C:\Windows\system32\rsaenh.dll
ModLoad: 632c0000 632fc000   C:\Windows\assembly\GAC_32\NationalInstruments.Analysis.Enterprise\8.1.20.472__4544464cdeaab541\NationalInstruments.Analysis.Enterprise.dll
ModLoad: 75640000 75648000   C:\Windows\system32\VERSION.dll
ModLoad: 6bac0000 6baf2000   image6bac0000
ModLoad: 01ca0000 01cd2000   image01ca0000
ModLoad: 6bac0000 6baf2000   C:\Windows\assembly\GAC_MSIL\NationalInstruments.Common\8.1.20.415__4544464cdeaab541\NationalInstruments.Common.dll
ModLoad: 65f20000 66b14000   C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Web\369cdfcbaefd8f28200e295c26c2141f\System.Web.ni.dll
ModLoad: 75660000 756a5000   C:\Windows\system32\bcrypt.dll
ModLoad: 10000000 100d6000   C:\Program Files\National Instruments\Shared\Analysis\nianlys.dll
ModLoad: 04080000 040b6000   C:\Program Files\National Instruments\Shared\MKL\MKL70\libguide40.dll
ModLoad: 044f0000 04721000   C:\Program Files\National Instruments\Shared\MKL\MKL70\mkl_def.dll
ModLoad: 04730000 049e4000   C:\Program Files\National Instruments\Shared\MKL\MKL70\mkl_p3.dll
ModLoad: 049f0000 04d46000   C:\Program Files\National Instruments\Shared\MKL\MKL70\mkl_p4.dll
ModLoad: 04d50000 05089000   C:\Program Files\National Instruments\Shared\MKL\MKL70\mkl_p4p.dll
ModLoad: 05090000 052ab000   C:\Program Files\National Instruments\Shared\MKL\MKL70\mkl_lapack64.dll
(fcc.1788): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=001fdf90 ebx=00000019 ecx=044e44a0 edx=001fe5f0 esi=044e3d80 edi=001f8f7c
eip=001fb788 esp=001f8eb8 ebp=001fe5ec iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206
001fb788 57              push    edi

0 Kudos
Message 41 of 48
(3,283 Views)
Hi Paul,

That is the new module loaded list correct using the new analysis DLL I just posted? I just wanted to make sure since it seems as if the application is still loading up several kernel DLLs which it should be. I double-checked on my system that running your application with that analysis DLL only loaded up 1 MKL kernel DLL. I know the list shows its being loaded up from the shared location, but do you know if you happen to have that DLL located anywhere else on the system where Windows might find it (i.e. Windows DLL search paths)?

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 42 of 48
(3,279 Views)

I have a few copies on the machine, mostly because I could never get the merge modules to work correctly from WIX, but non of these are on the search path. There are actually 2 in the National Instruments tree though and I don't know which it would prefer ?

 

Paul

 Directory of C:\Program Files\National Instruments\CVI85\bin\rtsupp

23/10/2007  11:00         1,282,048 nianlys.dll
               1 File(s)      1,282,048 bytes

 Directory of C:\Program Files\National Instruments\Shared\Analysis

23/05/2008  15:43           856,064 nianlys.dll
               1 File(s)        856,064 bytes

 

0 Kudos
Message 43 of 48
(3,275 Views)
Hi Paul,

Actually I just got a hold off a Pentium M laptop and installed Vista, VS 2008 and Measurement Studio 8.1.1 (the one you were initially using) and can now fully reproduce the problem. This is good for us as we don't have to keep bugging your anymore.

I'll let you know what we find.

Thanks for working with us.

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 44 of 48
(3,273 Views)
Have you discovered anything else about this yet ? I have a set up update disks sitting on my desk that I'm considering installing but would like to have this out of the way first.

Thanks

Paul
0 Kudos
Message 45 of 48
(3,197 Views)
Hi Paul,

Unfortunately we haven't found the problem out yet. The issue appears to be some problem in the low-level MKL Intel math libraries but we are still narrowing the issue down.

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 46 of 48
(3,196 Views)
Hi Paul,

We finally determined the cause of the problem and the issue stems from a bug in the Intel math libraries.  We reported this issue to Intel and then informed us that they had a similar issue with another processor and that the issue was fixed in a later version of MKL.  We tested with this new version to see if its been fixed and it does appear to be fixed.  Several releases down the pipeline, we plan on including these new Intel math libraries. For now, is the DEP option I mentioned earlier a viable solution for your end users? 

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 47 of 48
(3,098 Views)
I've had no users complain yet so I guess it's ok. However what sort of time scale are you talking about for a rolled out release, later this year or the next major version ? 

Also is there something that means it's only measurement studio that's affected and not CVI ?

Paul
0 Kudos
Message 48 of 48
(3,096 Views)