hi all,
I have been working on a project for a few months now and recently i have been having a problem where the program just stops, windows doesn't report it as not responding and the resources used by the program are at normal levels (it isn't increasing).
The program basically records data from many bits of hardware over serial connection, video capture and audio capture, then zips the files in 1 minute chunks and saves them in 3 locations.
The program has run for between 6 and 20 hours before this error (or what ever it is) causes it to stop, with no error is thrown in VB.NET, it is as if it is stuck in a loop, the UI thread is completely unresponsive. I have created multiple DLLs to handle different aspects of the program:
Video DLL: captures a video screen shot every 15 seconds from upto 6 sources (user cnfigurable), and saves them as JPG.
Audio DLL: capture audio from up to 10 sources at a speed of 22khz and saves as individual mono WAV files.
Serial DLL: captures all Serial Data input and records to a TXT file.
File DLL: this basically compresses all the recorded images every 60 seconds and saves them to the back-up locations.
I have found when it crashes the Audio DLL keeps producing the Audio files, but everything else stops.
Does anyone have any tips how to find out where the program is if it is stuck in a loop, or something similar. This wouldn't be such a bad problem bu if i have to wait upto 20 hours for it to occur finding the problem could take a while.
Thanks
Stu
I have been working on a project for a few months now and recently i have been having a problem where the program just stops, windows doesn't report it as not responding and the resources used by the program are at normal levels (it isn't increasing).
The program basically records data from many bits of hardware over serial connection, video capture and audio capture, then zips the files in 1 minute chunks and saves them in 3 locations.
The program has run for between 6 and 20 hours before this error (or what ever it is) causes it to stop, with no error is thrown in VB.NET, it is as if it is stuck in a loop, the UI thread is completely unresponsive. I have created multiple DLLs to handle different aspects of the program:
Video DLL: captures a video screen shot every 15 seconds from upto 6 sources (user cnfigurable), and saves them as JPG.
Audio DLL: capture audio from up to 10 sources at a speed of 22khz and saves as individual mono WAV files.
Serial DLL: captures all Serial Data input and records to a TXT file.
File DLL: this basically compresses all the recorded images every 60 seconds and saves them to the back-up locations.
I have found when it crashes the Audio DLL keeps producing the Audio files, but everything else stops.
Does anyone have any tips how to find out where the program is if it is stuck in a loop, or something similar. This wouldn't be such a bad problem bu if i have to wait upto 20 hours for it to occur finding the problem could take a while.
Thanks
Stu