adplus

First chance vs Second chance exception

半世苍凉 提交于 2019-12-19 09:49:10
问题 When I generate a dump file using ADPlus, I get both First chance and second chance exception but when I use task manager for generating dump file, I only get once dump file. Is it the second chance exception? I am bit confused about this 1st and 2nd chance exception anyways even though i have read a little bit about it. May be if someone can provide some good analogy, that might clear up things for me 回答1: See here: http://blogs.msdn.com/b/davidklinems/archive/2005/07/12/438061.aspx In short

Help catching StackOverflowException with WinDbg and ADPlus

只谈情不闲聊 提交于 2019-12-17 23:11:43
问题 Short Version I want an ADPlus script that will do a full memory dump on the first-chance StackOverflowException, before anything is cleaned up, and ignore all other exception types. Log Version After a release of new ASP.NET code, we started getting intermittent StackOverflowExceptions. We've looked for infinite recursions and all the usual suspects in the revisions added since the last known good install, and can't find anything. The website will run for up to an hour, and then crash down.

How to create process mini dump on crash without running AdPlus explicitly on Windows 7?

青春壹個敷衍的年華 提交于 2019-12-12 08:12:50
问题 I have a .NET process that sometimes fails with AccessViolationException in the native code of some 3rd party library. I wish to have full memory mini dump when that happens. I have read this page - http://support.microsoft.com/kb/931673, the section "To collect user-mode dumps" and configured the registry as the article explains. However, when the crash occurrs, a really small report is created - no *.mdmp file is in sight. Now, I know how to run the process from within ADPLus or how to make

Unable to read crash dump in windbg

允我心安 提交于 2019-12-04 13:19:40
问题 I have been getting a stackoverflow exception in my program which may be originating from a thirdparty libary, microsoft.sharepoint.client.runtime.dll. Using adplus to create the crash dump, I'm facing the problem that I'm struggling to get any information from it when i open it in windbg. This is what I get as a response: > 0:000> .restart /f Loading Dump File [C:\symbols\FULLDUMP_FirstChance_epr_Process_Shut_Down_DocumentumMigrator.exe__0234_2011-11-17_15-19-59-426_0d80.dmp] User Mini Dump

How to create process mini dump on crash without running AdPlus explicitly on Windows 7?

夙愿已清 提交于 2019-12-03 16:52:42
I have a .NET process that sometimes fails with AccessViolationException in the native code of some 3rd party library. I wish to have full memory mini dump when that happens. I have read this page - http://support.microsoft.com/kb/931673 , the section "To collect user-mode dumps" and configured the registry as the article explains. However, when the crash occurrs, a really small report is created - no *.mdmp file is in sight. Now, I know how to run the process from within ADPLus or how to make it attach to an already running process. But it requires running ADPLus explicitly. I was wondering

Unable to read crash dump in windbg

烂漫一生 提交于 2019-12-03 08:26:04
I have been getting a stackoverflow exception in my program which may be originating from a thirdparty libary, microsoft.sharepoint.client.runtime.dll. Using adplus to create the crash dump, I'm facing the problem that I'm struggling to get any information from it when i open it in windbg. This is what I get as a response: > 0:000> .restart /f Loading Dump File [C:\symbols\FULLDUMP_FirstChance_epr_Process_Shut_Down_DocumentumMigrator.exe__0234_2011-11-17_15-19-59-426_0d80.dmp] User Mini Dump File with Full Memory: Only application data is available Comment: 'FirstChance_epr_Process_Shut_Down'

How to use ADPLUS to _ONLY_ get MiniDumpOnSecond

…衆ロ難τιáo~ 提交于 2019-12-02 15:46:36
问题 For a production Win2003 web server, I'd like to be able to allways log minidumps whenever the w3wp.exe processes crash...I've read the documentation for ADPLUS, and have xcopy-deployed it to the production web server, and have started adplus.exe from the command line as follows: adplus.exe -crash -MiniOnSecond -NoDumpOnFirst -pmn w3wp.exe -o C:\Dumps This does log the "MiniOnSecond," but it is also logging full dumps on first--and I don't want those (they're big fat files, and don't have

How to use ADPLUS to _ONLY_ get MiniDumpOnSecond

泪湿孤枕 提交于 2019-12-02 10:08:09
For a production Win2003 web server, I'd like to be able to allways log minidumps whenever the w3wp.exe processes crash...I've read the documentation for ADPLUS, and have xcopy-deployed it to the production web server, and have started adplus.exe from the command line as follows: adplus.exe -crash -MiniOnSecond -NoDumpOnFirst -pmn w3wp.exe -o C:\Dumps This does log the "MiniOnSecond," but it is also logging full dumps on first--and I don't want those (they're big fat files, and don't have what I need). Has anyone found a way to get the "-NoDumpOnFirst" flag to actually work? Additionally, I'd

Debugging winform crash - C# [ADPlus + Windbg]

与世无争的帅哥 提交于 2019-12-02 03:04:41
问题 System.AccessViolationException was unhandled Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Source=System.Windows.Forms StackTrace: at System.Windows.Forms.UnsafeNativeMethods.PeekMessage(MSG& msg, HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32

Debugging winform crash - C# [ADPlus + Windbg]

吃可爱长大的小学妹 提交于 2019-12-02 01:10:48
System.AccessViolationException was unhandled Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Source=System.Windows.Forms StackTrace: at System.Windows.Forms.UnsafeNativeMethods.PeekMessage(MSG& msg, HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason,