Hi,
our .Net 4.5 x86 application crashes in wpfgfx_v0400.dll, when running in the debugger or stand alone, on Windows 8 x64.
The crash seems to happen randomly, but quite frequently, we can easily reproduce it. Judging by the stack trace below, the access violation occurs in the UI update thread, when drawing some path. We are not doing anything fancy wrt graphics, just using basic WPF controls. The app itself is multi threaded, and makes use of async/await, DispacherOperations and COM objects, and a few P/Invoke calls.
Any thoughts are appreciated,
Hannes
Amaqele
Event viewer:
Faulting application name: bcnManager.vshost.exe, version: 11.0.50727.1, time stamp: 0x5011d445
Faulting module name: wpfgfx_v0400.dll, version: 4.0.30319.17929, time stamp: 0x4ffa7c81
Exception code: 0xc0000005
Fault offset: 0x0002c4d8
Faulting process id: 0x1a9c
Faulting application start time: 0x01ce9b43cefc1f5d
Faulting application path: D:\prog\BioCredential.net\bcnManager\bin\Debug\bcnManager.vshost.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpfgfx_v0400.dll
Report Id: 5ad0393f-0737-11e3-be81-d4bed96fe02e
Faulting package full name:
Faulting package-relative application ID:
DebugDiag reports:
d3d9!CMipMap::GetSurfaceLevel+b2 | 07282c80 | 00000000 | 051ced30 | 00000000 | |
wpfgfx_v0400!CHwVidMemTextureManager::PushBitsToVidMemTexture+62 | 051cedcc | 00000000 | 0000001c | 004ec784 | |
wpfgfx_v0400!CHwLinearGradientColorSource::Realize+b3 | 00000000 | 051cedcc | 051cedfc | 00000002 | |
wpfgfx_v0400!CHwPipeline::RealizeColorSources+6d | 051cedcc | 051cedfc | 051ced94 | 5e7a3008 | |
wpfgfx_v0400!CHwPipeline::RealizeColorSourcesAndSendState+c | 004d8438 | 051cedcc | 00000000 | 051cede4 | |
wpfgfx_v0400!CHwTVertexBuffer<CD3DVertexXYZDUV2>::Builder::FlushInternal+19 | 051cede4 | 051cf22c | 00000000 | 00000000 | |
wpfgfx_v0400!CHwPipeline::Execute+79 | 00000000 | 5e7a2c5a | 00000000 | 00000000 | |
wpfgfx_v0400!CHwShaderPipeline::Execute+f | 00000000 | 00000000 | 051cf22c | 00000000 | |
wpfgfx_v0400!CHwSurfaceRenderTarget::ShaderAcceleratedFillPath+94 | 00000000 | 051cf22c | 072b5748 | 00000000 | |
wpfgfx_v0400!CHwSurfaceRenderTarget::AcceleratedFillPath+1e | 00000000 | 051cf22c | 072b5748 | 00000000 | |
wpfgfx_v0400!CHwSurfaceRenderTarget::FillPathWithBrush+3b4 | 0523a4e4 | 07284e68 | 0523a65c | 051cf6bc | |
wpfgfx_v0400!CHwSurfaceRenderTarget::FillPath+15a | 0523a4e4 | 0523a748 | 07284e68 | 0523a65c | |
wpfgfx_v0400!CHwSurfaceRenderTarget::DrawPathInternal+104 | 0523a4e4 | 0523a65c | 0523a748 | 07284e68 | |
wpfgfx_v0400!CHwSurfaceRenderTarget::DrawPath+25 | 072c6ec0 | 0523a4e4 | 0523a748 | 07284e68 | |
wpfgfx_v0400!CHwDisplayRenderTarget::DrawPath+29 | 072c6ec0 | 0523a4e4 | 0523a748 | 07284e68 | |
wpfgfx_v0400!CMetaRenderTarget::DrawPath+ff | 072801a0 | 0523a4e4 | 0523a748 | 07284e68 | |
wpfgfx_v0400!CDrawingContext::FillOrStrokeShape+9c | 00000001 | 07284e68 | 051cf858 | 051cf89c | |
wpfgfx_v0400!CDrawingContext::DrawShape+126 | 07284e68 | 051f4f28 | 00000000 | 0523a450 | |
wpfgfx_v0400!CDrawingContext::DrawGeometry+d3 | 051f4f28 | 00000000 | 07284e50 | 004c4808 | |
wpfgfx_v0400!CMilSlaveRenderData::Draw+31a | 0523a450 | 0523a450 | 004c4808 | 051cfa6c | |
wpfgfx_v0400!CMilVisual::RenderContent+26 | 0523a450 | 0051a1b8 | 004c4808 | 00000000 | |
wpfgfx_v0400!CDrawingContext::PreSubgraph+6d9 | 051cfa88 | 00000000 | 0523a450 | 00000000 | |
wpfgfx_v0400!CGraphIterator::Walk+37 | 002be0c0 | 0523a468 | 0523a450 | 00000000 | |
wpfgfx_v0400!CDrawingContext::DrawVisualTree+230 | 072be0c0 | 0523796c | 051cfb0c | 00000000 | |
wpfgfx_v0400!CDrawingContext::Render+37f | 072be0c0 | 072801bc | 0523796c | 051cfbd4 | |
wpfgfx_v0400!CSlaveHWndRenderTarget::Render+1a0 | 051cfc13 | 004c3208 | 051cfcab | 00000001 | |
wpfgfx_v0400!CRenderTargetManager::Render+34 | 051cfcab | 004c3208 | 00000000 | 004c3208 | |
wpfgfx_v0400!CCom"nowrap"> 051cfcab | 004eb380 | 004c3210 | 004eb300 | ||
wpfgfx_v0400!CCom"nowrap"> 051cfcab | 004c3210 | 004eb380 | 014c3210 | ||
wpfgfx_v0400!CCom"nowrap"> 051cfcc7 | 00000001 | 004eb380 | 004eb380 | ||
wpfgfx_v0400!CPartitionThread::RenderPartition+1b | 004c3210 | 004fa468 | 004eb380 | 004c3210 | |
wpfgfx_v0400!CPartitionThread::Run+48 | 00000000 | 00000000 | 004eb380 | 0000027f | |
wpfgfx_v0400!CPartitionThread::ThreadMain+1c | 004eb380 | 051cfd48 | 76fbac69 | 004eb380 | |
kernel32!BaseThreadInitThunk+e | 004eb380 | 34052c98 | 00000000 | 00000000 | |
ntdll!__RtlUserThreadStart+72 | 5e79d80c | 004eb380 | ffffffff | 77031d86 | |
ntdll!_RtlUserThreadStart+1b | 5e79d80c | 004eb380 | 00000000 | 00000000 |