473,387 Members | 1,892 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,387 software developers and data experts.

Random Crash with no exception

I am working on a .Net project and our application randomlycrashes with no exception being thrown. The application justdisappears, like someone would have clicked the exit button. This occurs both when we are debugging and when the applicationis running after an install. I have been stepping through codeand then just had the application stop and VS just goes back tonormal, like I had told it to exit the code. I have read abouta couple of other applications having the same problem, but havenever seen a resolution. I have turned on catching of allexceptions in the debugger but it still seems to not catch whatis going on. Any ideas on a way to find out what is happening? We can not reproduce it by any events, it just seems to happenwhile we are running the program, sometimes it will be hours,other times it will be 3 minutes. It does seem to occur moreoften, the more the application is being used. Meaning, justleaving the application on, but not working with it, does notsees to cause the crash as much as having someone working withthe application.
--------------------------------
From: Jared Kitcher

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>3FNVJNhJS0+Kw/2ZyMhUxA==</Id>
Nov 21 '05 #1
4 4745
In the startup of your program (Use a Module.Sub Main()) add a handler to
System.Threading.Thread.ThreadException

Look for that.
"Jared Kitcher via .NET 247" <an*******@dotnet247.com> wrote in message
news:eV**************@tk2msftngp13.phx.gbl...
I am working on a .Net project and our application randomly crashes with no
exception being thrown. The application just disappears, like someone would
have clicked the exit button. This occurs both when we are debugging and
when the application is running after an install. I have been stepping
through code and then just had the application stop and VS just goes back to
normal, like I had told it to exit the code. I have read about a couple of
other applications having the same problem, but have never seen a
resolution. I have turned on catching of all exceptions in the debugger but
it still seems to not catch what is going on. Any ideas on a way to find
out what is happening? We can not reproduce it by any events, it just seems
to happen while we are running the program, sometimes it will be hours,
other times it will be 3 minutes. It does seem to occur more often, the
more the application is being used. Meaning, just leaving the application
on, but not working with it, does not sees to cause the crash as much as
having someone working with the application.
--------------------------------
From: Jared Kitcher

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>3FNVJNhJS0+Kw/2ZyMhUxA==</Id>
Nov 21 '05 #2
In the startup of your program (Use a Module.Sub Main()) add a handler to
System.Threading.Thread.ThreadException

Look for that.
"Jared Kitcher via .NET 247" <an*******@dotnet247.com> wrote in message
news:eV**************@tk2msftngp13.phx.gbl...
I am working on a .Net project and our application randomly crashes with no
exception being thrown. The application just disappears, like someone would
have clicked the exit button. This occurs both when we are debugging and
when the application is running after an install. I have been stepping
through code and then just had the application stop and VS just goes back to
normal, like I had told it to exit the code. I have read about a couple of
other applications having the same problem, but have never seen a
resolution. I have turned on catching of all exceptions in the debugger but
it still seems to not catch what is going on. Any ideas on a way to find
out what is happening? We can not reproduce it by any events, it just seems
to happen while we are running the program, sometimes it will be hours,
other times it will be 3 minutes. It does seem to occur more often, the
more the application is being used. Meaning, just leaving the application
on, but not working with it, does not sees to cause the crash as much as
having someone working with the application.
--------------------------------
From: Jared Kitcher

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>3FNVJNhJS0+Kw/2ZyMhUxA==</Id>
Nov 21 '05 #3
Hi Jared

Can you say what your application is doing? For example, does it perform
serial comms, or is it multithreaded and accessing the UI?

Charles
"Jared Kitcher via .NET 247" <an*******@dotnet247.com> wrote in message
news:eV**************@tk2msftngp13.phx.gbl...
I am working on a .Net project and our application randomly crashes with no
exception being thrown. The application just disappears, like someone would
have clicked the exit button. This occurs both when we are debugging and
when the application is running after an install. I have been stepping
through code and then just had the application stop and VS just goes back to
normal, like I had told it to exit the code. I have read about a couple of
other applications having the same problem, but have never seen a
resolution. I have turned on catching of all exceptions in the debugger but
it still seems to not catch what is going on. Any ideas on a way to find
out what is happening? We can not reproduce it by any events, it just seems
to happen while we are running the program, sometimes it will be hours,
other times it will be 3 minutes. It does seem to occur more often, the
more the application is being used. Meaning, just leaving the application
on, but not working with it, does not sees to cause the crash as much as
having someone working with the application.
--------------------------------
From: Jared Kitcher

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>3FNVJNhJS0+Kw/2ZyMhUxA==</Id>
Nov 21 '05 #4
Hi Jared

Can you say what your application is doing? For example, does it perform
serial comms, or is it multithreaded and accessing the UI?

Charles
"Jared Kitcher via .NET 247" <an*******@dotnet247.com> wrote in message
news:eV**************@tk2msftngp13.phx.gbl...
I am working on a .Net project and our application randomly crashes with no
exception being thrown. The application just disappears, like someone would
have clicked the exit button. This occurs both when we are debugging and
when the application is running after an install. I have been stepping
through code and then just had the application stop and VS just goes back to
normal, like I had told it to exit the code. I have read about a couple of
other applications having the same problem, but have never seen a
resolution. I have turned on catching of all exceptions in the debugger but
it still seems to not catch what is going on. Any ideas on a way to find
out what is happening? We can not reproduce it by any events, it just seems
to happen while we are running the program, sometimes it will be hours,
other times it will be 3 minutes. It does seem to occur more often, the
more the application is being used. Meaning, just leaving the application
on, but not working with it, does not sees to cause the crash as much as
having someone working with the application.
--------------------------------
From: Jared Kitcher

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>3FNVJNhJS0+Kw/2ZyMhUxA==</Id>
Nov 21 '05 #5

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

Similar topics

6
by: Renzska | last post by:
I am getting a random crash in my program. I think it has to do with the only listbox I have. It uses the WMP to play songs and when a song completes I set the selected item in the listbox. I am...
9
by: greeningster | last post by:
I have written an application in Visual C++ for a customer but it seems to crash randomly. Could anyone give me any help on how I could track this down ? Also, there appears there might be...
8
by: Gary Joy | last post by:
I really am banging my head with this one... I have a regular unmanaged C++ application that is using mixed DLLs to (amongst other things) call a C# back-end (which is using ADO .NET). I am...
1
by: Charles Law | last post by:
I seem to be posing a lot at the moment, so please accept my apologies. I can't say, categorically that the Infragistics tools are to blame, but I have had this intermittent problem now for two...
0
by: Jared Kitcher via .NET 247 | last post by:
I am working on a .Net project and our application randomlycrashes with no exception being thrown. The application justdisappears, like someone would have clicked the exit button. This occurs both...
6
by: Ken | last post by:
When running a program in the debugger, what would cause it to crash without any error messages? I get "The program has exited with code 0 (0x0)". The program is a MDI app with threading for...
5
by: Sam Loveridge | last post by:
Hi All. I'm hoping someone can point me in the direction of a solution to unhandled exceptions in MDI child forms causing the application to crash. I've found various articles describing a...
9
by: Droopy | last post by:
Hi, I am running an application on 74 PC (1 instance on each PC). This morning, 2 applications crashes. There were neither popup windows signaling it nor dump file created. I only find in the...
6
by: bjornms | last post by:
The application i build in C#.net is crashing once a month. I can't reproduce the crash. Is there a way to track down where the program crashes, without putting logging everywhere in the code?...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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.