ILRewriting : The process was terminated due to an internal error in the .NET...
I am trying to inject my helper function definitions that resides in a security safe critical assembly from unmanaged code during JITCompilationStarted callback function. I use...
View ArticleHow to access variable values in Crash Dump with Heap Information?
Hello,I'm investigating WPF/winforms app crash. User was able to save dump file via Task Manager.I can load dump file in VS2013, click Debug with Mixed and it does point to the line of code where crash...
View ArticleWin32Exception, Error creating window handle
Stack Trace: at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp) at System.Windows.Forms.Control.CreateHandle() at System.Windows.Forms.TextBoxBase.CreateHandle() at...
View ArticleIs there difference between ++i and i++ for C#
I read at C++ FAQ that ++i is better than i++ for C++.Is there difference between ++i and i++ for C# ?
View Articlemscorlib recursive resource lookup bug
Hi,I got crash in my application when restart of the Windows 8.Please find the assertion failure details below.Expression: [mscorlib recursive resource lookup bug] Description: Infinite recursion...
View ArticlePInvoke - Issue while calling DJVU function from C# Code - Attempted to read...
Hi,I know there are many questions in this subject but none of them help to resolve the issue I am currently facing.Below is the signature of C Function from DJVULibre added in .NET...
View ArticleCOM+ Registration issue
I have a custom asp.net control that makes a call to a simple class which apparently triggers the system to try to install this class as a COM+ component. This class used to inherit from...
View ArticleHow to dispose the Win32 APIs in c#.net
Hi,I am using c#.net to develop a winform application.My winform application is using the below components 1)Win 32 dlls (using System.Runtime.InteropServices) 2)Timers(3 in count) (System.Timers)...
View ArticleCompaction while objects are pinned.
Hi,I need a small confirmation.When objects are pinned in the SOH, GC can no longer do compaction. Does it mean that in those scenarios the GC will always start using free list? If so, can someone...
View ArticlePDB2XML Not Working , How to use it?
Hi, I'm trying to use PDB2XML to generate xml from given PDB file. But I'm not able to generate it. In mdgb console I'm trying to run this command RUN "path of PDB2xml.exe" "path of dllfile" "xml file...
View ArticleFInd Process “unused memory size” with in “private bytes” using c#
As I understand Process "PrivateMemorySize64" (process.PrivateMemorySize64) contains unused memory allocated by CLR. Is there a way, I can program and find the amount of unused memory in private bytes...
View Article.Net profiler - Time taken for each function in Call graph
Hi,I have developed profiler for .Net applications in C++. I inject helper function calls to the IL of the .Net functions that come to the JitCompilationStarted function and change the existing IL for...
View ArticleHashtable insert failed. Load factor too high : Dot net 4.5
I'm getting an exception “System.InvalidOperationException: Hashtable insert failed. Load factor too high.”My application is developed in VS2010 with 4.0 framework and it is working fine in our...
View ArticleHow to run HelloWorld at CoreCLR
I download HelloWorld sample code of corefxlab at GitHub, build and successfully run on my windows.And I download the coreclr source code, build, try to run the HelloWorld on coreclr following the...
View ArticleHuge reserved memory according to DebugDial (memory leak?)
We experience memory problems in production. On the 2008 Windows Server there are many web api services. I see that most of them have the same problem(?) which is quite a big number as reserved...
View ArticleIs that the hot fix KB2803754 included in NET Framework 4.5.1 ( Version...
I have .NET version 4.5.50131 after that tried to install the mentioned hot fixKB2803754 and I got an error “Software update does not apply, or is blocked by another condition on your computer”,so I...
View ArticleHow to diagnose OutOfMemory Exceptions?
We have a 32-bit .NET application that sometimes fire an OutOfMemory exception.The stack trace shows the victim of out of memory condition.How can we diagnose this problem?Is there a way to find out...
View ArticleAddInStore.Rebuild blocks
I am using System.Addin and the method AddInStore.Rebuild(string)That method ends up blocking - (not returning in multiple tests up to 12 hours.)This happens on two completely different computers,...
View ArticleLoading profiler failed.
I have implemented a sample Profiler. But the dll which is getting loaded gets crashed. And event viewer log says this message. .NET Runtime version 4.0.30319.18449 - Loading profiler failed. There was...
View ArticleWindows error after installing .Net UI application
The application crashes with error "Application has stopped working" after doing a fresh installation of the application from the server.The Windows application event log for the same is as shown...
View Article