473,385 Members | 2,015 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

access violation - crashing the application.no idea when and where

(5b4.f74): Access violation - code c0000005 (!!! second chance !!!)
eax=00800000 ebx=77e760cb ecx=00a3dc1c edx=00000004 esi=80000016
edi=000000c8
eip=792cfcbb esp=0e47f91c ebp=0e47f928 iopl=0 nv up ei pl nz na po
nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000
efl=00000206
mscorwks!gc_heap::c_promote_callback+0xfe:
792cfcbb 8b3c81 mov edi,[ecx+eax*4]
ds:0023:02a3dc1c=????????
================================================== ==========
the **call stack** from the mini dump crash is :

mscorwks!gc_heap::c_promote_callback+0xfe
mscorwks!GcEnumObject+0x20
mscorwks!EECodeManager::EnumGcRefs+0x503
mscorwks!GcStackCrawlCallBack+0xc5
mscorwks!Thread::StackWalkFramesEx+0x136
mscorwks!Thread::StackWalkFrames+0x8b
mscorwks!CNameSpace::GcScanRoots+0x7b
mscorwks!gc_heap::c_mark_phase+0x8e
mscorwks!gc_heap::gc1+0x8c
mscorwks!gc_heap::gc_thread_function+0xa6
mscorwks!gc_heap::gc_thread_stub+0x5
kernel32!BaseThreadStart+0x37
================================================== ==========

i try to catch the bug for 2 days , ive no idea ,where it happen ( im using
some vb.net dlls ,

and 2 manged\unmanged c++ dll's ) .
any ideas ,why this bug happen,and what to look for ?

Jul 21 '05 #1
2 2521
Hi Tony

This may be a bug in the CLR, or it may be related to heap corruption due
to your interop calls.

What version of .NET are you using? I recommend you move to v1.1 SP1, if
you're not using it already.

-Chris

--------------------
|
| (5b4.f74): Access violation - code c0000005 (!!! second chance !!!)
| eax=00800000 ebx=77e760cb ecx=00a3dc1c edx=00000004 esi=80000016
| edi=000000c8
| eip=792cfcbb esp=0e47f91c ebp=0e47f928 iopl=0 nv up ei pl nz na po
| nc
| cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000
| efl=00000206
| mscorwks!gc_heap::c_promote_callback+0xfe:
| 792cfcbb 8b3c81 mov edi,[ecx+eax*4]
| ds:0023:02a3dc1c=????????
|
|
| ================================================== ==========
| the **call stack** from the mini dump crash is :
|
| mscorwks!gc_heap::c_promote_callback+0xfe
| mscorwks!GcEnumObject+0x20
| mscorwks!EECodeManager::EnumGcRefs+0x503
| mscorwks!GcStackCrawlCallBack+0xc5
| mscorwks!Thread::StackWalkFramesEx+0x136
| mscorwks!Thread::StackWalkFrames+0x8b
| mscorwks!CNameSpace::GcScanRoots+0x7b
| mscorwks!gc_heap::c_mark_phase+0x8e
| mscorwks!gc_heap::gc1+0x8c
| mscorwks!gc_heap::gc_thread_function+0xa6
| mscorwks!gc_heap::gc_thread_stub+0x5
| kernel32!BaseThreadStart+0x37
| ================================================== ==========
|
| i try to catch the bug for 2 days , ive no idea ,where it happen ( im
using
| some vb.net dlls ,
|
| and 2 manged\unmanged c++ dll's ) .
|
|
| any ideas ,why this bug happen,and what to look for ?
|
|
|
|

Jul 21 '05 #2
i have v1.1 SP1 .

i look at my calls to the unmanaged dll
all the parameter that passed are :

1. int ( i been told that all int passed by value ,even if they are data
member of gc class )
2.__nogc pointers
3.string that converted to allocated in the native heap using
PtrToStringChars,malloc ,and cstombs
4.int array that pointed by __nogc int*
any ideas what to check ? test ? looking at ?
im working on this bug for 2-3 days, no idea what's wrong here.

""Chris Lyon [MSFT]"" <cl***@online.microsoft.com> wrote in message
news:Cy****************@TK2MSFTNGXA01.phx.gbl...
Hi Tony

This may be a bug in the CLR, or it may be related to heap corruption due
to your interop calls.

What version of .NET are you using? I recommend you move to v1.1 SP1, if
you're not using it already.

-Chris

--------------------
|
| (5b4.f74): Access violation - code c0000005 (!!! second chance !!!)
| eax=00800000 ebx=77e760cb ecx=00a3dc1c edx=00000004 esi=80000016
| edi=000000c8
| eip=792cfcbb esp=0e47f91c ebp=0e47f928 iopl=0 nv up ei pl nz na po | nc
| cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000
| efl=00000206
| mscorwks!gc_heap::c_promote_callback+0xfe:
| 792cfcbb 8b3c81 mov edi,[ecx+eax*4]
| ds:0023:02a3dc1c=????????
|
|
| ================================================== ==========
| the **call stack** from the mini dump crash is :
|
| mscorwks!gc_heap::c_promote_callback+0xfe
| mscorwks!GcEnumObject+0x20
| mscorwks!EECodeManager::EnumGcRefs+0x503
| mscorwks!GcStackCrawlCallBack+0xc5
| mscorwks!Thread::StackWalkFramesEx+0x136
| mscorwks!Thread::StackWalkFrames+0x8b
| mscorwks!CNameSpace::GcScanRoots+0x7b
| mscorwks!gc_heap::c_mark_phase+0x8e
| mscorwks!gc_heap::gc1+0x8c
| mscorwks!gc_heap::gc_thread_function+0xa6
| mscorwks!gc_heap::gc_thread_stub+0x5
| kernel32!BaseThreadStart+0x37
| ================================================== ==========
|
| i try to catch the bug for 2 days , ive no idea ,where it happen ( im
using
| some vb.net dlls ,
|
| and 2 manged\unmanged c++ dll's ) .
|
|
| any ideas ,why this bug happen,and what to look for ?
|
|
|
|

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Steven Reddie | last post by:
In article <slrnbnj19j.av.juergen@monocerus.manannan.org>, Juergen Heinzl wrote: >In article <f93791bd.0309282133.650da850@posting.google.com>, Steven Reddie wrote: >> I understand that access...
14
by: JK Peck | last post by:
I have a fairly large Access application that ran correctly in Access 2000. After upgrading to Access 2003 (and recompiling and updating references), it reliably crashes at a certain point. If I...
0
by: Microsoft News | last post by:
I'm getting the following error when I shut down my C# .NET v1.1 application: 0xC0000005: Access violation reading location 0x73bc0000 This error didn't occur until I added a...
1
by: tony | last post by:
hi. my NET application is using mixed c++ dll ( managed and unmanaged) in that dll , im calling api's of unamanged dll. my application crash with no exception or warning. its hard to...
2
by: tony | last post by:
(5b4.f74): Access violation - code c0000005 (!!! second chance !!!) eax=00800000 ebx=77e760cb ecx=00a3dc1c edx=00000004 esi=80000016 edi=000000c8 eip=792cfcbb esp=0e47f91c ebp=0e47f928 iopl=0 ...
7
by: Me | last post by:
Am new to vb dotnet and although I like what I've seen sofar, I am experiencing pblms with system access violation "attempt to read write protected memory". This error happens when I open a...
39
by: Martin | last post by:
I have an intranet-only site running in Windows XPPro, IIS 5.1, PHP 5.2.5. I have not used or changed this site for several months - the last time I worked with it, all was well. When I tried it...
1
by: tk121 | last post by:
Hey all - I have some unmanaged code that I'm calling into with C# .NET 2.0, and everything works flawlessly in the debugger, but as soon as I run the application as a standalone executable it...
0
by: vwood | last post by:
I have a program, written with Borland 5.0c with CodeGuard running, and I get an access violation on exit about half the time. Sometimes it happens in various places in my destructor, sometimes it...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.