473,513 Members | 2,307 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debugging Application Crashes

Morning!

I have this C# application that occasionally crashes complely and doesn't
return any error to the VS IDE. The crash comes as a Microsoft error dialog
stating "Application.Exe has encountered a problem and needs to close.". It
allows me to examine an error signature but i have no idea how to use this
to my advantage. When I click debug I get an error message from the JIT
debugger stating that an "Unhandled Win32 Exception" has occured in
Application.exe. However, a debugger that cannot handle the exception type
is already attached to the process." FYI: I am running the application
through the VS IDE.

The strange thing about this error is that sometimes the application is
dormant (no user activity) but will crash when another application starts.
My question is how I should go about trying to find out what is actually
causing this error. Are there some advanced debug tool out there that might
be able to provide some more information? I don't even know where to begin.

Also interesting to note is that this error only occurs when using the SAP
..NET connector. (v2.0). I have posted on the SAP connector forums about
this but so far no one else seems to have experienced this problem.

If anyone has any tips I would really appreciate them.

Thanks in advance,
Charles


Nov 16 '05 #1
1 2569
You might find this link useful

http://support.microsoft.com/default...;EN-US;Q286350

You will probably want to use Windbg.

http://www.microsoft.com/whdc/devtoo...ebugstart.mspx

Launch the exe from within windbg and look at the calkl stacks of when the
problem occurs.

Andy Mortimer [MS]
Please do not send email directly to this alias. This alias is for
newsgroup purposes only

This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"
Nov 16 '05 #2

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

Similar topics

0
1116
by: PaulG | last post by:
(I've not found a solution to this anywhere else, so..) With a simple one line file: print "Hello world" if you use pythonwin debugging to step through one line at a time, it crashes...
2
4933
by: markusszil | last post by:
Hello all, I am working on an application which uses quite a few bitmaps as skins for custom controls. I am getting a very difficult bug to track - my application performs quite a few bitmap...
0
964
by: RyanW | last post by:
How do debug an application that crashes with an unhandled exception error before it gets to the first line of static void Main .... ? // My Code
2
2156
by: SStewart | last post by:
I have a deployed application that is being reported as crashing with the following dialogue box message: ---------------- MyApplicaton.exe - Common Language Runtime Debugging Services ...
3
2111
by: Max Christian | last post by:
I'm writing a mixed-mode C++ DLL which is used by an old C++ application that I don't have the source code to. I'm amazed by the ease of interoperability, but the one problem I'm having is...
0
248
by: Brian Henry | last post by:
I've been fighting with the Visual Studio.Net CLR debugger for a while and am getting pretty fed up. I'm trying to debug an asp.net application. I have all my debug tags set to true. And I have...
0
874
by: amitmnagarwal | last post by:
Hi, I have an ASP.Net application. When I start debugging it in VS.Net 2002, after few lines of debugging, for reason i dont know the whole devenv crashes. The application event log has the...
20
4158
by: krypto.wizard | last post by:
Is there any editor or IDE in Python (either Windows or Linux) which has very good debugging facilites like MS VisualStudio has or something like that. I like SPE but couldn't easily use winPDP....
3
1456
by: CBKowitz | last post by:
Has anyone encountered this problem? I start debugging my application and the session get reset (as far as I can tell). I then stop and restart and everything is fine. Basically the symptoms...
0
7265
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
7171
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
7388
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
5692
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5095
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...
0
3240
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...
0
1605
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 ...
1
807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
461
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...

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.