{"id":1081,"date":"2010-05-31T10:25:09","date_gmt":"2010-05-31T15:25:09","guid":{"rendered":"http:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1081"},"modified":"2010-05-31T10:25:09","modified_gmt":"2010-05-31T15:25:09","slug":"visual-studio-2010-crashes","status":"publish","type":"post","link":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1081","title":{"rendered":"Visual Studio 2010 Crashes"},"content":{"rendered":"

Visual Studio 2010 crashes a lot while doing WPF and Silverlight development for me. Anyone else having that same problem? It happens frequently after resuming my PC from \u2018sleep\u2019 or \u2018hibernation\u2019 \u2026, but that could be a coincidence.<\/p>\n

\"Microsoft<\/p>\n

Interestingly, one of the functions in the stack trace is a PNG encoder. PNG\u2019s are my image file of choice in Silverlight and web applications. I know the project that was currently loaded contains several PNG files. Maybe there\u2019s no connection. <\/p>\n

     ntdll.dll!_RtlReportCriticalFailure@8()  + 0x57 bytes   
     ntdll.dll!_RtlpReportHeapFailure@4()  + 0x21 bytes   
     ntdll.dll!_RtlpLogHeapFailure@24()  + 0xa1 bytes   
     ntdll.dll!_RtlFreeHeap@12()  + 0x4ffeb bytes   
     kernel32.dll!_HeapFree@12()  + 0x14 bytes   
     WindowsCodecs.dll!WPF::ProcessHeapImpl::Free()  + 0x1c bytes   
>    WindowsCodecs.dll!DynArrayImpl<0>::~DynArrayImpl<0>()  + 0x104f bytes   
     WindowsCodecs.dll!CPngFrameEncode::~CPngFrameEncode()  + 0x66 bytes   
     WindowsCodecs.dll!CPngFrameEncode::`vector deleting destructor'()  + 0xd bytes   
     WindowsCodecs.dll!CMILCOMBase::InternalRelease()  + 0x24 bytes   
     WindowsCodecs.dll!CResetStream::Release()  + 0xe bytes   
     wpfgfx_v0400.dll!MILRelease()  + 0xe bytes   
     PresentationCore.ni.dll!5e74f2b1()    
     [Frames below may be incorrect and\/or missing, no symbols loaded for PresentationCore.ni.dll]   
     PresentationCore.ni.dll!5e74f2b1()    
     PresentationCore.ni.dll!5e74f2fe()    
     clr.dll!_CallDescrWorker@20()  + 0x33 bytes   
     clr.dll!_CallDescrWorkerWithHandler@24()  + 0x8a bytes   
     clr.dll!MethodDesc::CallDescr()  + 0x148 bytes   
     clr.dll!MethodDesc::CallTargetWorker()  + 0x21 bytes   
     clr.dll!SafeHandle::RunReleaseMethod()  + 0xc7 bytes   
     clr.dll!SafeHandle::Release()  + 0x7b257 bytes   
     clr.dll!SafeHandle::Dispose()  + 0x2d bytes   
     clr.dll!SafeHandle::Finalize()  + 0xb0 bytes   
     mscorlib.ni.dll!617b913b()    
     mscorlib.ni.dll!617b90b2()    
     clr.dll!MethodTable::SetObjCreateDelegate()  – 0x1fc874 bytes   
     clr.dll!MethodTable::CallFinalizer()  + 0x75 bytes   
     clr.dll!WKS::CallFinalizer()  + 0x80 bytes   
     clr.dll!WKS::GCHeap::TraceGCSegments()  – 0x1f9fc6 bytes   
     clr.dll!WKS::GCHeap::TraceGCSegments()  – 0x1fa08a bytes   
     clr.dll!WKS::GCHeap::FinalizerThreadWorker()  + 0xb1 bytes   
     clr.dll!Thread::DoExtraWorkForFinalizer()  – 0xc291e bytes   
     clr.dll!Thread::ShouldChangeAbortToUnload()  + 0x1251e bytes   
     clr.dll!Thread::ShouldChangeAbortToUnload()  + 0x125d9 bytes   
     clr.dll!ManagedThreadBase_NoADTransition()  + 0x35 bytes   
     clr.dll!ManagedThreadBase::FinalizerBase()  + 0xf bytes   
     clr.dll!WKS::GCHeap::FinalizerThreadStart()  + 0xfb bytes   
     clr.dll!Thread::intermediateThreadProc()  + 0x48 bytes   
     kernel32.dll!@BaseThreadInitThunk@12()  + 0x12 bytes   
     ntdll.dll!___RtlUserThreadStart@8()  + 0x27 bytes   
     ntdll.dll!__RtlUserThreadStart@8()  + 0x1b bytes    <\/p>\n","protected":false},"excerpt":{"rendered":"

Visual Studio 2010 crashes a lot while doing WPF and Silverlight development for me. Anyone else having that same problem? It happens frequently after resuming my PC from \u2018sleep\u2019 or \u2018hibernation\u2019 \u2026, but that could be a coincidence. Interestingly, one of the functions in the stack trace is a PNG encoder. PNG\u2019s are my image […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[4],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pd5QIe-hr","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1105,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1105","url_meta":{"origin":1081,"position":0},"title":"Visual Studio 2010 Crashes Repeatedly","date":"June 28, 2010","format":false,"excerpt":"If you have my kind of luck and Visual Studio 2010 crashes every time you open a specific project or solution, try deleting the .suo file associated with the solution (the Visual Studio Solution User Options). It\u2019s located in the same folder as the solution (.sln) file, and often is\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":659,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/659","url_meta":{"origin":1081,"position":1},"title":"ColorConverter for Silverlight","date":"January 17, 2009","format":false,"excerpt":"Silverlight 2.0 is missing a ColorConverter. There\u2019s no easy and efficient way from code to convert from a HEX color format to a built in Color type. I like being able to paste standard web color formats into my source code without converting them to a Color.FromArgb byte format (as\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":633,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/633","url_meta":{"origin":1081,"position":2},"title":"A Silverlight 2 TilePanel","date":"December 14, 2008","format":false,"excerpt":"You may notice that the Silverlight TileBrush is missing some key properties which would enable it to actually tile a brush. The WPF TileBrush has properties such as TileMode, Viewbox, and ViewportUnits that can be used to tile an image as a fill or as a background for a UIElement.\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.wiredprairie.us\/blog\/wp-content\/uploads\/2008\/12\/image1.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1524,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1524","url_meta":{"origin":1081,"position":3},"title":"Alternative to ApplicationSettings in .NET","date":"February 1, 2012","format":false,"excerpt":"After dealing with lost settings, an unclear upgrade path, and my own confusion surrounding the magic of Settings in a .NET client application, I decided to build my own. You\u2019re probably familiar with this UI in Visual Studio. It hasn\u2019t changed much since it was first created: A list of\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"image","src":"https:\/\/i0.wp.com\/www.wiredprairie.us\/blog\/wp-content\/uploads\/2012\/02\/image.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1016,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1016","url_meta":{"origin":1081,"position":4},"title":"Silverlight vs. Flash vs. Photoshop Text Rendering","date":"March 24, 2010","format":false,"excerpt":"Curious about text rendering characteristics between Flash 10, Silverlight 4.0 and Photoshop, I created two small applications, one in Flash CS 4, and one in Visual Studio 2010. The Silverlight 4.0 tests are using the release candidate which was current as of March 23, 2010. I used Times New Roman\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"image","src":"https:\/\/i0.wp.com\/www.wiredprairie.us\/blog\/wp-content\/uploads\/2010\/03\/image_thumb.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":568,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/568","url_meta":{"origin":1081,"position":5},"title":"Data Binding and Tooltips in Silverlight","date":"September 19, 2008","format":false,"excerpt":"Have you ever wanted to databind a tooltip in Silverlight (or WPF for that matter), and found that the DataContext isn't available for tooltips (the datacontext is null)? It's very annoying. Tooltips, unfortunately, aren't connected to their parents in anyway when they're created, so they loose the ability to connect\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/posts\/1081"}],"collection":[{"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/comments?post=1081"}],"version-history":[{"count":0,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/posts\/1081\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/media?parent=1081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/categories?post=1081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/tags?post=1081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}