.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Help with analyzing crash minidump

Posted By:      Posted Date: September 03, 2010    Points: 0   Category :.NET Framework
Hi Some of our customers are experiencing random crashes with our .net 3.5 app. The crash can happen after running the app for 1 minute, 5 hours or 5 days. The application just disappears without a trace and no entries are added to the eventlog. All affected users are using Windows Xp SP3. And the problem is increasing as more and more Xp users are upgrading from Sp2 to SP3.  Users on Vista and Windows 7 do not have this problem.  To try and find the cause of the problem I deployed Debugging tools for windows to a couple of the affected customers and setup adplus.exe to monitor our application for crashes. Here is the exception, threads and the stacktrace from the minidump. Windows XP Version 2600 (Service Pack 3) MP (2 procs) Free x86 compatible Product: WinNt, suite: SingleUserTS Machine Name: Debug session time: Wed Sep  1 16:02:22.000 2010 (UTC + 2:00) System Uptime: not available Process Uptime: 0 days 3:43:25.000 ................................................................ ................................................................ ................................................................ ...................... This dump file has an exception of interest stored in it. The stored exception information can be accessed via .ecxr. (1320.132c): Access violation - code c0000005 (first/second chance not available) eax=00000000 ebx=00000000 ec

View Complete Post

More Related Resource Links

Toolbox: Rich AJAX Data Controls, Analyzing HTTP Traffic, And More


This month we look at rich data Web controls for AJAX, HTTP traffic analysis, and more.

Scott Mitchell

MSDN Magazine March 2009

Test Run: Analyzing Project Exposure And Risk Using PERIL


Here James McCaffrey uses some statistical methods and a technique he calls PERIL to estimate risks to software projects involving timing, costs, and other potential resource shortfalls.

Dr. James McCaffrey

MSDN Magazine January 2009

Crash Course: Analyze Crashes to Find Security Vulnerabilities in Your Apps


Here the authors analyze program crashes to help you understand if you have the potential for read or write violations in your applications, and how they can lead to security vulnerabilities.

A. Abouchaev, D. Hasse, S. Lambert, and G. Wroblewski

MSDN Magazine November 2007

Web Services: Capturing and Analyzing Client Transaction Metrics for .NET-Based Web Services


This article presents a general-purpose client quality reporting mechanism that can be used in any .NET-based transaction system that employs HTTP/SOAP. The design uses client response time and quality recording, upload of logs as SOAP headers attached to new transaction requests, and server handoff of these headers to a low priority queue for logging and analysis. This technique gives an enterprise near real-time information on actual end-user response times. These response times reflect network delays, client application overhead and server delays. By using this technique, enterprises can avoid the need to develop custom software to mine HTTP logs.

Brian Connolly

MSDN Magazine July 2004

Visual C++ 6.0: Don't Let Memory Allocation Failures Crash Your Legacy STL Application


Most C++ developers make extensive use of the Standard Template Library (STL) in their code. If you are one of them and are using STL and Visual C++ 6.0 directly out of the box, your application is at high risk of crashing under low memory conditions. The problem arises because checking for failure of operator new is such an uncommon practice. To make things worse, when new does fail, the response is not standard. Some language compilers return NULL while others throw an exception.In addition, if you are using STL in an MFC project, be aware that MFC has its own set of rules. This article discusses these problems, explains how the default behavior has changed in Visual C++ .NET 2003, and outlines the changes you must make if you're using Visual C++ 6.0 so that you can safely use the STL when operator new fails.

James Hebben

MSDN Magazine September 2003

SharePoint Workspace 2010 Crash



I was redirected from Office forum to here, hope someone can help. The Problem is:


When trying to access certain account in Office SharePoint Workspace 2010, the user gets the following error:

Problem signature:

  Problem Event Name:                        APPCRASH

  Application Name:                             GROOVE.EXE

  Application Version:                    &nb

XBAP causing IE crash?

Our application is a C# XBAP.  Near as I can tell, the problem we are running into seems to be within IE rather than our code, so I tried looking for an appropriate IE forum, but the best I could find was "Internet Explorer Extension Development" and I got no response there, so trying here instead. Our application consists of a main IE instance (which contains the XBAP).  From the C# code in this XBAP, we obtain a reference to the IHtmlWindow2 object.  From that, we periodically call .open(...) to launch various other dialogs of interest to the user.  These dialogs typically contain a fair amount of Javascript as well. Our users began reporting random crashes, some with IE7, some with IE8.  I have been able to recreate a similar crash on my development system (Windows 7, IE8, Visual Studio 2010). Upon crashing, no information is sent to Event Viewer, and nothing is caught by our C# Exception handling either - IE simply exits.  I had to attach a native debugger (rather than managed) to get anything on this.  The debugger gave me the following error: Unhandled exception at 0x61755473 (mshtml.dll) in iexplore.exe: 0xC0000005: Access violation reading location 0xfeeefeee.   The error is apparently occuring in a native thread with the following callstack:      mshtml.dll!CRunPtrBase::SetRun()  + 0x3a b

IIS Crash with Faulting application w3wp.exe, faulting module mscorwks.dll, version 2.0.50727.42

The scenario is that, a .Net Webservice is making calls to C++ DLL (made from VC6 studio) This app works perfectly well for sometimes or over a period or for a high volume of hits and suddenly you see IIS crash along with service crash with the following error "Faulting application w3wp.exe, faulting module mscorwks.dll, version 2.0.50727.42" There is no pattern for this problem. The work around is to restart the IIS.    Can anybody tell me what could be the issue here?

Unexplained Crash on .NET Windows Form, Potentially a Common Crash?

Hi, I have a continuous problem with a .NET Framework 3.5 Windows Form application crashing with the "...this application has performed an illegal error..." error message.  No errors are being caught through a Try-Catch (using a generic Exception, so to my knowledge it should catch any exception?) block throughout the application, so it appears to be something external.  At first we thought it may have been the users computer, but even after a replacement computer the same error continues.   I was just wondering if there are any common crashes which have any hotfixes etc. for .NET Framework 3.5? Or if anyone else has experienced anything similar?   Thanks

Sporadic .NET application crash with "Fatal Execution Engine Error"

I have a .NET application that runs for several hours.  It is a multi-threaded app that does some calculations and saves the results to the database.   On one machine in particular, it has been crashing recently with the following exception recorded in the Event Log: .NET Runtime version 2.0.50727.4206 - Fatal Execution Engine Error (6C9D7B6E) (80131506) Faulting application AnalyzerConsole.exe, version, time stamp 0x4c76d28b, faulting module mscorwks.dll, version 2.0.50727.4206, time stamp 0x4bf4c6a7, exception code 0xc0000005, fault offset 0x0011627d, process id 0x%9, application start time 0x%10. Sometimes it runs for hours without crashing, but usually it will crash eventually. I have captured a dump, and this is the call stack: > ntdll.dll!_DbgBreakPoint@0()   mscorwks.dll!WatsonLastChance()  + 0x133 bytes   mscorwks.dll!EEPolicy::LogFatalError()  + 0x23c bytes   mscorwks.dll!EEPolicy::HandleFatalError()  + 0x47 bytes   mscorwks.dll!CLRVectoredExceptionHandlerPhase3()  + 0x10dae2 bytes   mscorwks.dll!CLRVectoredExceptionHandlerPhase2()  + 0x20 bytes   mscorwks.dll!CLRVectoredExceptionHandler()  + 0xb7 bytes   mscorwks.dll!CPFH_RealFirstPassHandler()  + 0x8ac bytes   mscorwks.dll!_COMPlusFrameHandler()  + 0xb9 bytes   ntdll.d

InfoPath Forms Services postback crash

Howdy, I'm an InfoPath 2007 developer and have used it extensively in conjunction with SharePoint 2007 (and Forms Services). I've noticed a persistent bug in Forms Services when using postbacks -- I can't seem to find a bug report or known issue report for it. When a field is say, for instance, set to Always postback, if you click on another field / checkbox / whatever which will also perform a postback, it crashes the form & IE8. Has anyone else come across this bug? I assumed something funny would be going on as the JS behind it would be calling two postbacks at the same time, and perhaps this isn't handled well? I couldn't find any related post on this forum, just seeing if anyone else has come across it and whether a solution exists? Thanks, George

Error/Crash While Printing

Below code show how i have initiated the Oritn Dialog using comdlg32.dll. PRINTDLG _pd = new PRINTDLG();             _pd.lStructSize = Marshal.SizeOf(_pd);             _pd.hwndOwner = this.Parent;             // Pass the handles to the DEVMODE and DEVNAMES structures from the             // printer settings object to the PRINTDLG so that the current             // printsettings are displayed in the print setup dialog.             _pd.hDevMode = printerSettings.GetHdevmode();             _pd.hDevNames = printerSettings.GetHdevnames();             // indicates that only the print setup dialog should be shown.             _pd.Flags = PrintFlag.PD_ENABLEPRINTHOOK | PrintFlag.PD_NOPAGENUMS | PrintFlag.PD_USEDEVMODECOPIESANDCOLLATE;             // set print to file checkbox visible/not visible         

How to avoid app crash if .NET framework uninstalled/disabled

In Windows 7, it is possible to disable the .NET framework via the Control Panel's "Turn Windows features on or off". If this is done, running a .NET application causes an app crash, which is logged to the Windows Event Log, and also generates an application crash report that is sent back to Microsoft (WER). How can we avoid this app crash?  Because the app requires .NET, I don't think it can perform a check for the framework's presence itself.  Providing an application configuration file with "requiredRuntime" specified does not avoid the app crash. The only solution we can come up with is writing an unmanaged wrapper around every managed application. The unmanaged code could check for the framework being installed, and then launch the managed process.  This could be tedious to do for every application. Ideally, this would just fail more gracefully and let the user know that the .NET framework is required but not available.  This solution should probably come from the OS, but we're looking for a way to be able to handle this ourselves for now. Any ideas appreciated. Thanks, David

Sharepoint crash and can't start

Hi all, Recently the  sharepoint  can't start since the first time i use it , it's always crash . I have tried to repair it with the install-CD, while it doesn't work. Have anybody solved this problem before? Any help will be appriciated. Regards, Chelsea

mscorwks.dll causes Windows-Service crash

Hello Our Windows-Service application crashed 3 times the last 4 months in different intervals. EventLog says: server.exe, version, stamp 4bd6ecf0, faulting module mscorwks.dll, version 2.0.50727.3603, stamp 4a7cd88e, debug? 0, fault address 0x0010969f.For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. There is no more information about the crash than this EventLog entry. Windows-Service is stopped, resp. the process isn't running any more. OS: Microsoft Windows Server 2003 R2 .Net Framework: 3.5 SP1 Windows-Service logs on with specific account Is there a possibility to obtain the source code line out of the stamp address provided in the EventLog message? Any clues how to get more details about past and forthcoming crashes? Thanks for help!

Please help with crash in ImportDesigner.ValidateImportedNamespaces

I'm getting this crash when updating the layout on my container. Any ideas? I have no idea what ValidateNamespaceModelAndUpdateContextItem is looking for. I only get this error when I load the designer from any saved activity xaml. I don't get the error when I create a fresh ActivityBuilder and pass that to the designer's load method. I'm doing the VisualBasic.SetSettings on the root activity after it's loaded. I don't know how to set those imported references before it gets loaded. However, the SetSettings does get called before the update call that causes this crash. System.ArgumentNullException occurred   Message=Value cannot be null. Parameter name: key   Source=mscorlib   ParamName=key   StackTrace:        at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)        at System.Collections.Generic.Dictionary`2.ContainsKey(TKey key)        at System.Activities.Presentation.View.ImportDesigner.ValidateNamespaceModelAndUpdateContextItem(ModelItem namespaceModel)        at System.Activities.Presentation.View.ImportDesigner.ValidateImportedNamespaces()        at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)        at System.W
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend