473,769 Members | 1,618 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_hea p::c_promote_ca llback+0xfe:
792cfcbb 8b3c81 mov edi,[ecx+eax*4]
ds:0023:02a3e01 c=????????
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\Mic rosoft.NET\Fram ework\v1.1.4322 \mscorwks.dll"
Current frame: mscorwks!gc_hea p::c_promote_ca llback+0xfe
ChildEBP RetAddr Caller,Callee
0df6f928 79212116 mscorwks!GcEnum Object+0x20
0df6f93c 791fe018 mscorwks!EECode Manager::EnumGc Refs+0x503
0df6f97c 77f944a8 ntdll!RtlpAlloc ateFromHeapLook aside+0x42, calling
ntdll!_SEH_epil og
0df6fa08 79211f4f mscorwks!GcStac kCrawlCallBack+ 0xc5
0df6fa48 791d68d8 mscorwks!Thread ::StackWalkFram esEx+0x136
0df6fab4 77f95769 ntdll!RtlLogSta ckBackTrace+0x1 1f, calling
ntdll!_SEH_epil og
0df6fb1c 1a40160b URLMON!CUrlMkTl s::CUrlMkTls+0x 25, calling
URLMON!CUrlMkTl s::TLSAllocData
0df6fb24 1a4102a0 URLMON!TlsDllMa in+0x59, calling
URLMON!CUrlMkTl s::CUrlMkTls
0df6fb34 1a4100d5 URLMON!DllMain+ 0x184, calling URLMON!TlsDllMa in
0df6fb64 102094d4 msvcr71d!_nh_ma lloc_dbg+0x64, calling msvcr71d!_unloc k
0df6fbc0 791d6a13 mscorwks!Thread ::StackWalkFram es+0x8b, calling
mscorwks!Thread ::StackWalkFram esEx
0df6fc30 77f62b67 ntdll!LdrpIniti alizeThread+0xe 3, calling
ntdll!RtlDeacti vateActivationC ontextUnsafeFas t
0df6fc38 77f62bc6 ntdll!LdrpIniti alizeThread+0x1 42, calling
ntdll!_SEH_epil og
0df6fc9c 77f55432 ntdll!LdrpIniti alize+0x26f, calling
ntdll!RtlLeaveC riticalSection
0df6fca0 77f5c474 ntdll!ZwTestAle rt+0xc
0df6fca4 77f5541d ntdll!LdrpIniti alize+0x25a, calling ntdll!_SEH_epil og
0df6fd18 77f5541d ntdll!LdrpIniti alize+0x25a, calling ntdll!_SEH_epil og
0df6fd1c 77f5b644 ntdll!ZwContinu e+0xc
0df6fd20 77f75d8f ntdll!KiUserApc Dispatcher+0xf, calling ntdll!ZwContinu e
0df6fdd4 77f944a8 ntdll!RtlpAlloc ateFromHeapLook aside+0x42, calling
ntdll!_SEH_epil og
0df6fdd8 77f57d70 ntdll!RtlAlloca teHeap+0x1c2, calling
ntdll!RtlpAlloc ateFromHeapLook aside
0df6fee4 79212c06 mscorwks!CNameS pace::GcScanRoo ts+0x7b, calling
mscorwks!Thread ::StackWalkFram es
0df6ff10 792d0d9a mscorwks!gc_hea p::c_mark_phase +0x8e, calling
mscorwks!CNameS pace::GcScanRoo ts
0df6ff4c 7925bf7b mscorwks!gc_hea p::gc1+0x8c, calling
mscorwks!gc_hea p::c_mark_phase
0df6ff88 77e7ab74 kernel32!WaitFo rSingleObject+0 xf, calling
kernel32!WaitFo rSingleObjectEx
0df6ffa0 792d1063 mscorwks!gc_hea p::gc_thread_fu nction+0xa6, calling
mscorwks!gc_hea p::gc1
0df6ffb0 792d1097 mscorwks!gc_hea p::gc_thread_st ub+0x5, calling
mscorwks!gc_hea p::gc_thread_fu nction
0df6ffb4 77e7d28e kernel32!BaseTh readStart+0x37

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

now

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

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(_CrtCh eckMemory());

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

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

Similar topics

1
1651
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 crash is pc where i develop the application...an the application must only view a window...
1
2087
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 exception (i compile it in debug mode ). i guess it crash in the unmanaged code, but im not sure.
0
2421
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 uses OTL (Oracle template library) and for informix it uses ESQL In all the platforms we use GNU C/C++ compiler for building the executable( Version >= 3.3.2)
1
1977
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. So I've create an helpbook with boa constructor and then I open the book with the helpviewer. That's all no problem. It works fine, but when I open the helpbook in my application, I have a problem when I exit it. There MS Windows Error Report...
1
2259
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 find when the crash happen ,and where.
0
338
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 call stack (using the sos.dll) : =====================================
1
1107
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 application crash. The query returns a valid dataset, but when the application trying to access data stored in the session object it’s like the object is reset and no data is variable. Its working quit well with only one user or when the users not...
0
1365
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 compiled with Visual Studio 2005 - I hope you had no problems with VC++ 6.0?
0
1039
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 and recompile it. After this practice it works fine. Any one can help to escape this error. Thanks,
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10211
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9863
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7408
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3958
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.