all groups > visual studio .net debugging > october 2007 >
You're in the

visual studio .net debugging

group:

How to get information from 1st and 2nd chance exception dumps



How to get information from 1st and 2nd chance exception dumps iceman
10/21/2007 11:10:35 PM
visual studio .net debugging: Hi all

My application has a problem which occurs rarely(kernel32!
RaiseException+0x53 ), to explain about this i need to tell about my
appln.

It is an kiosk application, and the problem occurs only when i reboot
my machine once a day,and the application is a big multithreaded
application too.To debug this i have attached Adplus to my production
site machine and got the crash dump too.I started analyzing it and
need a bit of help in it.Please go through the dumps and help me with
the same.

This is my 1 st chance exception analysis
0:000> !analyze -v
*******************************************************************************
*
*
* Exception
Analysis *
*
*
*******************************************************************************


FAULTING_IP:
+0
00000000 ?? ???

EXCEPTION_RECORD: ffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 00000000
ExceptionCode: 80000003 (Break instruction exception)
ExceptionFlags: 00000000
NumberParameters: 0

FAULTING_THREAD: 00000c64

DEFAULT_BUCKET_ID: STATUS_BREAKPOINT

PROCESS_NAME: CheetahClient.exe

ERROR_CODE: (NTSTATUS) 0x80000003 - {EXCEPTION} Breakpoint A
breakpoint has been reached.

NTGLOBALFLAG: 0

APPLICATION_VERIFIER_FLAGS: 0

MANAGED_STACK: !dumpstack -EE
succeeded
Loaded Son of Strike data table version 5 from "C:\WINDOWS
\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll"
Current frame:
ChildEBP RetAddr Caller,Callee
0fd4f774 0cd35d75 (MethodDesc 0xcadfb68 +0x4d Comm.Comm.getChar)
0fd4f7b4 0cd35cd3 (MethodDesc 0xcadab30 +0x1b
CheetahClient.Devices.MagneticCardDriver.getChar)
0fd4f7c4 79a5e0f0 (MethodDesc 0x79bce790 +0x18
System.Globalization.TextInfo.ToUpper)
0fd4f7d8 79a07d40 (MethodDesc 0x79b99588 +0x18 System.Char.ToUpper)
0fd4f7e0 0cd35b8f (MethodDesc 0xcadab40 +0x47
CheetahClient.Devices.MagneticCardDriver.getSwipe)
0fd4f808 0cd35ada (MethodDesc 0xcadaad0 +0x1a
CheetahClient.Devices.MagneticCardDriver.readForever)

LAST_CONTROL_TRANSFER: from 7c90e288 to 7c90eb94

STACK_TEXT:
0fd4f6cc 7c90e288 7c801875 00000844 00000000 ntdll!KiFastSystemCallRet
0fd4f6d0 7c801875 00000844 00000000 00000000 ntdll!NtReadFile+0xc
0fd4f738 046d3cbe 00000844 00f8995c 00000001 kernel32!ReadFile+0x16c
WARNING: Frame IP not in any known module. Following frames may be
wrong.
0fd4f7c4 79a5e0f0 00000001 00000045 00000045 0x46d3cbe
0fd4f834 791d94bc 0fd4f94c 791ed194 0fd4f888 mscorlib_79990000+0xce0f0
0fd4f83c 791ed194 0fd4f888 00000000 0fd4f860 mscorwks!CallDescrWorker
+0x30
0fd4f94c 791ed54b 00bc82f3 79b7a000 0fd4f978 mscorwks!
MethodDesc::CallDescr+0x1b8
0fd4fa08 791ed5b9 79bc82f3 79b7a000 79b91d95 mscorwks!
MethodDesc::CallDescr+0x4f
0fd4fa30 792e87b7 0fd4fa74 002091c8 791b32a8 mscorwks!MethodDesc::Call
+0x97
0fd4fa7c 792e8886 0fd4fa94 031749c8 792e87c4 mscorwks!
ThreadNative::KickOffThread_Worker+0x9d
0fd4fb20 791cf03c 031749c8 00000001 00000001 mscorwks!
ThreadNative::KickOffThread+0xc2
0fd4ffb4 7c80b683 031740d8 00000000 03153488 mscorwks!
Thread::intermediateThreadProc+0x44
0fd4ffec 00000000 791ceffb 031740d8 00000000 kernel32!BaseThreadStart
+0x37


STACK_COMMAND: ~0s; .ecxr ; kb

FOLLOWUP_IP:
mscorlib_79990000+ce0f0
79a5e0f0 25ffff0000 and eax,0FFFFh

SYMBOL_STACK_INDEX: 4

SYMBOL_NAME: mscorlib_79990000+ce0f0

FOLLOWUP_NAME: MachineOwner

MODULE_NAME: mscorlib_79990000

IMAGE_NAME: mscorlib.dll

DEBUG_FLR_IMAGE_TIMESTAMP: 4566085e

PRIMARY_PROBLEM_CLASS: STATUS_BREAKPOINT

BUGCHECK_STR: APPLICATION_FAULT_STATUS_BREAKPOINT

FAILURE_BUCKET_ID:
APPLICATION_FAULT_STATUS_BREAKPOINT_mscorlib_79990000+ce0f0

BUCKET_ID:
APPLICATION_FAULT_STATUS_BREAKPOINT_mscorlib_79990000+ce0f0

Followup: MachineOwner
---------



And the 2nd chance exception analysis is below



0:000> !analyze -v
*******************************************************************************
*
*
* Exception
Analysis *
*
*
*******************************************************************************


FAULTING_IP:
kernel32!RaiseException+53
7c812a5b 5e pop esi

EXCEPTION_RECORD: ffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 7c812a5b (kernel32!RaiseException+0x00000053)
ExceptionCode: e0434f4d (CLR exception)
ExceptionFlags: 00000001
NumberParameters: 0

DEFAULT_BUCKET_ID: CLR_EXCEPTION

PROCESS_NAME: CheetahClient.exe

ERROR_CODE: (NTSTATUS) 0xe0434f4d - <Unable to get error code text>

NTGLOBALFLAG: 0

APPLICATION_VERIFIER_FLAGS: 0

MANAGED_STACK: !dumpstack -EE
succeeded
Loaded Son of Strike data table version 5 from "C:\WINDOWS
\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll"
Current frame:
ChildEBP RetAddr Caller,Callee
0012f1a8 7b51b80a (MethodDesc 0x7b5a54b8 +0x6a
System.Drawing.Bitmap..ctor)
0012f1bc 7b51c6bf (MethodDesc 0x7b5a54c8 +0xf
System.Drawing.Bitmap..ctor)
0012f1c8 7b51e946 (MethodDesc 0x7b5a1780 +0x36
System.Drawing.Icon.ToBitmap)
0012f208 7b93fab6 (MethodDesc 0x7ba80560 +0xa9e
System.Windows.Forms.ThreadExceptionDialog..ctor)
0012f2cc 7b87d85a (MethodDesc 0x7b9fc838 +0xba
System.Windows.Forms.Application/ThreadContext.OnThreadException)
0012f30c 7b8856a5 (MethodDesc 0x7b9e2668 +0x15
System.Windows.Forms.Control.WndProcException)
0012f314 7b88660b (MethodDesc 0x7b9f1f18 +0xb
System.Windows.Forms.Control/ControlNativeWindow.OnThreadException)
0012f318 7b8227ac (MethodDesc 0x7b9f1af0 +0x3c
System.Windows.Forms.NativeWindow.Callback)
0012f574 7b82df3a (MethodDesc 0x7b9feb50 +0x382
System.Windows.Forms.Application/
ComponentManager.System.Windows.Forms.UnsafeNativeMethods
+IMsoComponentManager.FPushMessageLoop)
0012f5a0 7b82e0f6 (MethodDesc 0x7b9feb50 +0x53e
System.Windows.Forms.Application/
ComponentManager.System.Windows.Forms.UnsafeNativeMethods
+IMsoComponentManager.FPushMessageLoop)
0012f5c8 7b81f308 (MethodDesc 0x7b9e7798 +0x280
System.Windows.Forms.Form.SetVisibleCore)
0012f604 7b82daa7 (MethodDesc 0x7b9fc888 +0x15f
System.Windows.Forms.Application/ThreadContext.RunMessageLoopInner)
0012f63c 7b82d89d (MethodDesc 0x7b9fffe0 +0x6d
System.Windows.Forms.SafeNativeMethods/EnableThemingInScope..ctor)
0012f644 7b82d7c5 (MethodDesc 0x7b9fc878 +0x45
System.Windows.Forms.Application/ThreadContext.RunMessageLoop)
0012f670 7b851864 (MethodDesc 0x7b9e8300 +0x34
System.Windows.Forms.Application.Run)
0012f684 02f9032f (MethodDesc 0xb753b0 +0x137
CheetahClient.StartClient.Main)

EXCEPTION_OBJECT: !dumpobj 17c1004
Name: System.ArgumentException
MethodTable 0x79b9d004
EEClass 0x79b9d08c
Size 68(0x44) bytes
mdToken: 0200003a (c:\windows\microsoft.net\framework
\v1.1.4322\mscorlib.dll)
FieldDesc*: 79b9d0f0
MT Field Offset Type Attr Value
Name
79b947ac 400001d 4 CLASS instance 00000000
AddThis Social Bookmark Button