472,805 Members | 1,238 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

application crash


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
eip=792cfcbb esp=0df6f91c ebp=0df6f928 iopl=0 nv up ei pl nz na po
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000
792cfcbb 8b3c81 mov edi,[ecx+eax*4]
0:045> load sos.dll
^ Syntax error in 'load sos.dll'
0:045> .load sos.dll
0:045> !dumpstack
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
0df6fa08 79211f4f mscorwks!GcStackCrawlCallBack+0xc5
0df6fa48 791d68d8 mscorwks!Thread::StackWalkFramesEx+0x136
0df6fab4 77f95769 ntdll!RtlLogStackBackTrace+0x11f, calling
0df6fb1c 1a40160b URLMON!CUrlMkTls::CUrlMkTls+0x25, calling
0df6fb24 1a4102a0 URLMON!TlsDllMain+0x59, calling
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
0df6fc30 77f62b67 ntdll!LdrpInitializeThread+0xe3, calling
0df6fc38 77f62bc6 ntdll!LdrpInitializeThread+0x142, calling
0df6fc9c 77f55432 ntdll!LdrpInitialize+0x26f, calling
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
0df6fdd8 77f57d70 ntdll!RtlAllocateHeap+0x1c2, calling
0df6fee4 79212c06 mscorwks!CNameSpace::GcScanRoots+0x7b, calling
0df6ff10 792d0d9a mscorwks!gc_heap::c_mark_phase+0x8e, calling
0df6ff4c 7925bf7b mscorwks!gc_heap::gc1+0x8c, calling
0df6ff88 77e7ab74 kernel32!WaitForSingleObject+0xf, calling
0df6ffa0 792d1063 mscorwks!gc_heap::gc_thread_function+0xa6, calling
0df6ffb0 792d1097 mscorwks!gc_heap::gc_thread_stub+0x5, calling
0df6ffb4 77e7d28e kernel32!BaseThreadStart+0x37



ill check all memory allocation and also wrote :

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 2153

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

Similar topics

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...
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...
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...
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....
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...
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...
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...
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...
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...
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
by: lllomh | last post by:
How does React native implement an English player?
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.