|
How can I detect that my .NET application has crashed, and then restart it?
Started by Hosam Aly on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
A possible solution is to create another process to monitor your application, and restart it if it is terminated:
class ProcessMonitorProgram { const string myProcess = "MyApp.exe"; static void Main() { new Timer(CheckProcess, null, 0, 60 * 1000); Thread... .
|
|
Hi
if my C# Windows mobile program crashed, How to make reset to this program ?
(automatic - without any user interference)
thank's in advance
Started by Gold on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I see 2 posible solutions 1) the way tomlog.
It has crashed, it then can restart that application.
|
|
My application crashed recently on a client's computer. I suspect it's because of PyQt's own memory management, which can lead to a invalid memory accesses when not properly handled.
When Python crashes like this, no backtrace is printed, only a data ...
Started by Georg on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If the user can't reproduce the crash then you are out of luck, on the other hand if it never happens the default crash....
Get the user to reproduce the bug while running a tool that will catch the crash and do.
The crash in-house.
|
Ask your Facebook Friends
|
Consider the following situation: - I am using Linux. I have doubt that my application has crashed. I had not enabled core dump. There is no information in the log.
How can I be sure that, after the system restart my app was started, but now it is not...
Started by Sabya on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
If your app has crashed, that's not distinguishable from "your app was never started", unless your app.
Also, you can log a timestamp heartbeat so that you know exactly when it crashed.
Syslogd.
|
|
I have a crashed table which I am unsure how to repair with. Here is the dump of my error trace.
Warning: mysql_query(): Unable to save result set in C:\Users\programmer\workspace\DBMigration\functions.php on line 10 MySQL Query Failed! 1194: Table 'exp...
Started by Jonathan Kushner on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Have a look at the documentation for myisamchk:
http://dev.mysql.com/doc/refman/5.0/en/myisamchk-repair-options.html
If that is MyISAM table:
make backup of exp_weblog_titles.* files copy exp_weblog_titles.MYD and exp_weblog_titles.MYI to D:\work or ... .
|
|
I have a MS SQL server 2005 database on my database server. Recently the database server crashed, so I need to move the database to a new server. Is there anyway to restore teh mdf file from a crashed hard disk, assuming that the file wasn't located on...
Started by Ngu Soon Hui on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Then attach the database to the new instance using the sp_attach_db system stored procedure or using the SQL Server... .
Simply take the mdf and ldf files are copy them to the new server .
If you have the ldf file you've got a better chance of success .
|
|
I am trying to start an error-reporting activty if unhandled exception detected. The problem is with exceptions thrown from main thread. Is there any way to start an activity if main thread crashed?
Started by alex2k8 on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Try { // your code here } catch (Exception e) { // catches all exceptions // log in an UncaughtExcpetionHandler is to write the crash data out to file and then start the error handling Activity when the application is ....
The thread crash.
|
|
Hi all
unfortunately many times the Flash plugin at Google's Chrome crashes. But fortunately, they just present a message box and a sad face .
My question is, how do they do it? my first thought is that they use structured exception handling but then ...
Started by Lior on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
When the child process terminates, the parent is notified ... .
They run it in a separate process.
If the process ever crashes or locks up, then the plugin must be dead.
Chrome runs plugins in an entirely separate process from the rest of the page .
|
|
I am using Windchill with Catia on Windows XP SP2. I am facing Catia V5 crashes heavily but I don't know why. I am using only the recommended graphic drivers.
Please help me out. How can I know what is the reason for catia crashes? I want to record logs...
Answer Snippets (Read the full thread at superuser):
Finding out why an application crashed, it probably could have prevented ....
On crashing, an application could choose to report "why" it crashed, or it could report bug makes things interact wrong with your hardware.
To report that.
|
|
If my application crashes, I intercept the crash (using the function SetUnhandledExceptionFilter). In my crash handler, I create a mini dump file, and notify the user that his application has crashed. This notification is done via a MessageBox with the...
Started by Patrick on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Creating a dialog on a ....
There is only one way to show a crash dialog safely - on a seperate thread created specifically for it.
Why do.
You've taken the mini-dump and you know your app has crashed.
Scheduled on the thread pool running.
|