PC Review


Reply
Thread Tools Rate Thread

debugging windows service access violation

 
 
mike martin
Guest
Posts: n/a
 
      12th Nov 2003
I've written a windows service. At several customer locations the
service will spordically crash with an access violation. A portion of
the event log is below. Can anybody give me any insight as to where
to look for more info or how to debug this? It seems to me that the
fault is occuring in function: ODBC32!MpHeapFree , is this correct?
Other than that, i'm not sure how to proceed. I have 3 logs from 3
different customers and the fault seems to be in the same place for
each.

Any help is appreciated. Please let me know if more information is
needed or if this should be asked somewhere else.
Thanks,
Mike

----------------------------------

State Dump for Thread Id 0x39c

eax=00000000 ebx=00000000 ecx=00a7c8a0 edx=ffffffd8 esi=0343f0f8
edi=00a7c8a0
eip=1f7d38dc esp=012af8e8 ebp=012af8ec iopl=0 nv up ei pl nz
ac pe cy
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00000213


function: MpHeapFree
1f7d38c9 c3 ret
1f7d38ca 6a01 push 0x1
1f7d38cc 58 pop eax
1f7d38cd ebf7 jmp SearchStatusCode+0x72c
(1f7d8ec6)
1f7d38cf 55 push ebp
1f7d38d0 8bec mov ebp,esp
1f7d38d2 56 push esi
1f7d38d3 8b7508 mov esi,[ebp+0x8]
ss:01accebe=????????
1f7d38d6 8b4510 mov eax,[ebp+0x10]
ss:01accebe=????????
1f7d38d9 8b4d0c mov ecx,[ebp+0xc]
ss:01accebe=????????
FAULT ->1f7d38dc f00fb1 lock ???
1f7d38df 0e push cs
1f7d38e0 5e pop esi
1f7d38e1 5d pop ebp
1f7d38e2 c3 ret
1f7d38e3 8b442408 mov eax,[esp+0x8]
ss:01accebb=????????
1f7d38e7 8b4c2404 mov ecx,[esp+0x4]
ss:01accebb=????????
1f7d38eb 33d2 xor edx,edx
1f7d38ed 895008 mov [eax+0x8],edx
ds:0081d5d2=ffffffff
1f7d38f0 39511c cmp [ecx+0x1c],edx
ds:01299e72=????????
1f7d38f3 7415 jz SearchStatusCode+0x3c70
(1f7dc40a)
1f7d38f5 8b5120 mov edx,[ecx+0x20]
ds:01299e72=????????

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
012AF8EC 1F7D3897 0343F0F8 00A7C8A0 00000000 00000000
ODBC32!MpHeapFree
012AF954 00416394 00000001 1F800000 0040A5CC 00A79B00
ODBC32!MpHeapFree
012AFD50 00408B86 00000000 65746E49 6C617672 012AFF00 !<nosymbols>
012AFF80 7800C9EB 00000000 0013BBB8 0013B288 005456A0 !<nosymbols>
012AFFB4 77E8B2D8 005456A0 0013BBB8 0013B288 005456A0 !beginthread
012AFFEC 00000000 00000000 00000000 00000000 00000000
kernel32!lstrcmpiW
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows service debugging =?Utf-8?B?SmFyb2Q=?= Microsoft Dot NET Framework Forms 3 15th Nov 2006 01:25 AM
Access Violation in IE6 have downloaded Service Pack =?Utf-8?B?TGllbGEgKHJlcGx5IHRvIGxmdWxsZXJAZ29vZHdp Windows XP Internet Explorer 3 8th Dec 2004 08:05 PM
Re: thread debugging causes access violation Ronald Laeremans [MSFT] Microsoft VC .NET 1 13th Sep 2004 11:55 AM
Re: "Access Denied" Debugging Windows Service Nick Malik Microsoft Dot NET 0 1st Jul 2004 09:39 AM
Re: "Access Denied" Debugging Windows Service Klaus H. Probst Microsoft Dot NET 0 30th Jun 2004 10:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:50 PM.