Home All Groups Group Topic Archive Search About

Crash in GC with Access Violation

Author
7 May 2007 6:53 PM
attinder
My application randomly crashes and I can see some access violation
using windbg. Here is dump below. Let me know what else I can see to
figure out why it is crashing

My app is running on .net 2.0, win2003 64bit with 2 core duo
processor.


FAULTING_IP:
mscorwks!WKS::gc_heap::mark_object_simple1+173
00000642`7f524903 0fb701          movzx   eax,word ptr [rcx]

EXCEPTION_RECORD:  ffffffffffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 000006427f524903 (mscorwks!
WKS::gc_heap::mark_object_simple1+0x0000000000000173)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000000
   Parameter[1]: ffffffffffffffff
Attempt to read from address ffffffffffffffff

DEFAULT_BUCKET_ID:  APPLICATION_FAULT

PROCESS_NAME:  *.exe

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at "0x%08lx"
referenced memory at "0x%08lx". The memory could not be "%s".

READ_ADDRESS:  ffffffffffffffff

BUGCHECK_STR:  ACCESS_VIOLATION

NTGLOBALFLAG:  0

APPLICATION_VERIFIER_FLAGS:  0

MANAGED_STACK: !dumpstack -EE
OS Thread Id: 0xb8c (16)
Child-SP         RetAddr          Call Site

LAST_CONTROL_TRANSFER:  from 000006427f523255 to 000006427f524903

STACK_TEXT:
00000000`1bf4fd20 00000642`7f523255 : 00000000`16d07470
00000000`06f5c5c0 00000000`01f20000 00000000`06f5c5b0 : mscorwks!
WKS::gc_heap::mark_object_simple1+0x173
00000000`1bf4fd90 00000642`7f9072ba : 00000000`06f5c510
00000000`06f5c508 00000000`06f5c568 00000642`80236e68 : mscorwks!
WKS::gc_heap::mark_object_simple+0x225
00000000`1bf4fdf0 00000642`7f9baf4f : 00000000`06f5c5b0
00000000`00000000 00000000`00000000 00000000`00000002 : mscorwks!
WKS::gc_heap::c_drain_mark_list+0xaa
00000000`1bf4fe60 00000642`7f84948a : ffffffff`fffffffe
00000000`00000001 00000000`00000000 00000642`7f4dd819 : mscorwks!
WKS::gc_heap::c_mark_phase+0xff
00000000`1bf4fee0 00000642`7fa52b60 : 00000000`00000000
00000642`7facb3dd 00000000`00000000 00000000`00000000 : mscorwks!
`string'+0x55b7a
00000000`1bf4ff40 00000000`77d6b69a : 00000000`77d6b660
00000000`00000000 00000000`00000000 00000000`1bf4ffa8 : mscorwks!
WKS::gc_heap::gc_thread_function+0xc0
00000000`1bf4ff80 00000000`00000000 : 00000000`00000000
00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!
BaseThreadStart+0x3a


FOLLOWUP_IP:
mscorwks!WKS::gc_heap::mark_object_simple1+173
00000642`7f524903 0fb701          movzx   eax,word ptr [rcx]

SYMBOL_STACK_INDEX:  0

SYMBOL_NAME:  mscorwks!WKS::gc_heap::mark_object_simple1+173

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: mscorwks

IMAGE_NAME:  mscorwks.dll

DEBUG_FLR_IMAGE_TIMESTAMP:  43d5c016

FAULTING_THREAD:  0000000000000b8c

STACK_COMMAND:  ~16s; .ecxr ; kb

FAILURE_BUCKET_ID:  X64_ACCESS_VIOLATION_mscorwks!
WKS::gc_heap::mark_object_simple1+173

BUCKET_ID:  X64_ACCESS_VIOLATION_mscorwks!
WKS::gc_heap::mark_object_simple1+173

Followup: MachineOwner

AddThis Social Bookmark Button