查错高手帮忙:.net 2.0 在垃圾回收时会报Access violation 的错.
环境:win2003+sp2 .net 2.0(已经打了2个kb)
在写的个服务程序中,动态加载了一些com,
动态调用com执行正常.
但是过了一会在垃圾回收的时候会报Access violation错误.
猜测是调用的COM的问题,但是是那一类的问题就不知道了,偶对C++不熟悉 :(
以下是windbg分析的些信息:
(c40.da8): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00000102 ebx=00000000 ecx=7c821d43 edx=7c9585ec esi=000007b4 edi=7c821c7b
eip=0a9b2d3c esp=0d6bffb0 ebp=0d6bffec iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246
0a9b2d3c ?? ???
0:018> !gle
LastErrorValue: (Win32) 0x3e5 (997) - I/O
LastStatusValue: (NTSTATUS) 0x103 - <Unable to get error code text>
0:014> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
***** OS symbols are WRONG. Please fix symbols to do analysis.
***** OS symbols are WRONG. Please fix symbols to do analysis.
******************************************************************