473,385 Members | 1,829 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.

application crash

hi.

i have application written in vb.net + managed c++ dll that call also to
unmanaged c++ function.

the application crash.

i open the dump file of the crash with WinDbg and that's is the call stack
(using the sos.dll) :
=====================================
(2f0.98c): Access violation - code c0000005 (!!! second chance !!!)
eax=00800000 ebx=77e760cb ecx=00a3e01c edx=00000008 esi=8000001c
edi=000000c8
eip=792cfcbb esp=0df6f91c ebp=0df6f928 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:02a3e01c=????????
0:045> load sos.dll
^ Syntax error in 'load sos.dll'
0:045> .load sos.dll
0:045> !dumpstack
succeeded
Loaded Son of Strike data table version 5 from
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\msco rwks.dll"
Current frame: mscorwks!gc_heap::c_promote_callback+0xfe
ChildEBP RetAddr Caller,Callee
0df6f928 79212116 mscorwks!GcEnumObject+0x20
0df6f93c 791fe018 mscorwks!EECodeManager::EnumGcRefs+0x503
0df6f97c 77f944a8 ntdll!RtlpAllocateFromHeapLookaside+0x42, calling
ntdll!_SEH_epilog
0df6fa08 79211f4f mscorwks!GcStackCrawlCallBack+0xc5
0df6fa48 791d68d8 mscorwks!Thread::StackWalkFramesEx+0x136
0df6fab4 77f95769 ntdll!RtlLogStackBackTrace+0x11f, calling
ntdll!_SEH_epilog
0df6fb1c 1a40160b URLMON!CUrlMkTls::CUrlMkTls+0x25, calling
URLMON!CUrlMkTls::TLSAllocData
0df6fb24 1a4102a0 URLMON!TlsDllMain+0x59, calling
URLMON!CUrlMkTls::CUrlMkTls
0df6fb34 1a4100d5 URLMON!DllMain+0x184, calling URLMON!TlsDllMain
0df6fb64 102094d4 msvcr71d!_nh_malloc_dbg+0x64, calling msvcr71d!_unlock
0df6fbc0 791d6a13 mscorwks!Thread::StackWalkFrames+0x8b, calling
mscorwks!Thread::StackWalkFramesEx
0df6fc30 77f62b67 ntdll!LdrpInitializeThread+0xe3, calling
ntdll!RtlDeactivateActivationContextUnsafeFast
0df6fc38 77f62bc6 ntdll!LdrpInitializeThread+0x142, calling
ntdll!_SEH_epilog
0df6fc9c 77f55432 ntdll!LdrpInitialize+0x26f, calling
ntdll!RtlLeaveCriticalSection
0df6fca0 77f5c474 ntdll!ZwTestAlert+0xc
0df6fca4 77f5541d ntdll!LdrpInitialize+0x25a, calling ntdll!_SEH_epilog
0df6fd18 77f5541d ntdll!LdrpInitialize+0x25a, calling ntdll!_SEH_epilog
0df6fd1c 77f5b644 ntdll!ZwContinue+0xc
0df6fd20 77f75d8f ntdll!KiUserApcDispatcher+0xf, calling ntdll!ZwContinue
0df6fdd4 77f944a8 ntdll!RtlpAllocateFromHeapLookaside+0x42, calling
ntdll!_SEH_epilog
0df6fdd8 77f57d70 ntdll!RtlAllocateHeap+0x1c2, calling
ntdll!RtlpAllocateFromHeapLookaside
0df6fee4 79212c06 mscorwks!CNameSpace::GcScanRoots+0x7b, calling
mscorwks!Thread::StackWalkFrames
0df6ff10 792d0d9a mscorwks!gc_heap::c_mark_phase+0x8e, calling
mscorwks!CNameSpace::GcScanRoots
0df6ff4c 7925bf7b mscorwks!gc_heap::gc1+0x8c, calling
mscorwks!gc_heap::c_mark_phase
0df6ff88 77e7ab74 kernel32!WaitForSingleObject+0xf, calling
kernel32!WaitForSingleObjectEx
0df6ffa0 792d1063 mscorwks!gc_heap::gc_thread_function+0xa6, calling
mscorwks!gc_heap::gc1
0df6ffb0 792d1097 mscorwks!gc_heap::gc_thread_stub+0x5, calling
mscorwks!gc_heap::gc_thread_function
0df6ffb4 77e7d28e kernel32!BaseThreadStart+0x37

=======================================

now

ill check all memory allocation and also wrote :
_ASSERTE(_CrtCheckMemory());

after every memory allocation i do.

the application crash,and i get this dump stack.

now the thing is ,its a telephony server.

and the crash can happen even if there is no caller call the server.

now ,the hard thing here is if you look in the call stack

all the dlls are'nt telephony dll, or my dlls.

so no idea which dll cause this mess.

any tips ?

im trying to find this bug for 2 weeks.

look on my code and wrote alot of _ASSERTE(_CrtCheckMemory());

but without any help to know the reason of the crash.
Jul 21 '05 #1
0 2215

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

Similar topics

1
by: Max DRUDI | last post by:
I have build a simple exe using py2exe. I use it on 5 pc ( 1 Win2000 + 4 Win98). Why this exe go in crash immediately on 3 pc's (all Win98) ? ....at the moment the only Win98 where exe don't...
1
by: tony | last post by:
hi. i have net application that is compose of dll in vb.net and c managed code , and unmanaged. the application crash after 8-9 hours of running. its crash without any message box of...
0
by: Thanvir | last post by:
We have an application that runs under Linux, solaris. The Application was developed in C++ under linux, it supports both Oracle and Informix database. For database connectivity in oracle it...
1
by: klaus.roedel | last post by:
Hi @all, I've implement a python application with boa constructor and wx.python. Now I wanted to add a help to my application. I found the helpviewer, where it is very easy to open a helpbook....
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...
0
by: roni | last post by:
hi. i have application written in vb.net + managed c++ dll that call also to unmanaged c++ function. the application crash. i open the dump file of the crash with WinDbg and that's is the...
1
by: EK | last post by:
I have an application that executes a lengthy search (5-10 sec) against a SQL server. Everything runs fine when only one user executes the search but when 2 or more users searching at once the...
0
by: fabien.lyon | last post by:
-----Message d'origine----- De : fabien.lyon Envoyé : mercredi 30 mai 2007 20:16 À : 'python-list@python.org' Objet : RE: embeded python progam into visual C++ application crash 2.5.1 is...
0
by: mabubakarpk | last post by:
Hello to All, I have access application. Forms are also made in MS Access 2003. Some times When I enter data through "Form" Ms Access application crash. After that I reopen MS Access in code mode...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.