I have a FreeBasic program that I am trying to find an intermittent crash problem. It runs for several days then will crash. I ran GDB on it and all it caught was an exit code of 6. Any ideas what that might mean? The app did not shut down properly and seems to just exit out of the main loop with this error code. I am starting to get frustrated. Any guidance would be greatly appreciated.
PS: I also ran a resource monitor and did not notice any memory leaking.
-Vince
Catching A Crash
Yes, the app crashed at exactly 00:00 midnight and coincides with that service message. I am wondering if there is something related to setting timeBeginPeriod(1) for the entire application loop. I have disabled that and am running another test.j_milton wrote:Is there anything consistant about the crashes i.e. amount of time the program has been running, time of day that it crashes, etc?
The app is doing a lot of things. It is a DVR app which captures multiple video streams, compresses them, displays them, records them to disk, updates GUIs, tracks and logs alarms, motion, and system events...etc...etc.In general terms what does the application do? for example is it dependant on external hardware inputs or is is it just running some huge computation
-Vince
At the risk of being patronizing Google search on your error msg reveals extensive discussions about instability issues between 3rd party device drivers and win7. Mostly network adaptors, but also graphics and usb. Also bios issues on some mother boards that predate win7.
Collective wisdom seems to be to configure the system as far as possible with drivers included by Windows rather than stuff that came with 3rd party hardware, update the remainer with current manufacterers versions
It would be instructive to run the app on some other os if possible, see if that helps...
Collective wisdom seems to be to configure the system as far as possible with drivers included by Windows rather than stuff that came with 3rd party hardware, update the remainer with current manufacterers versions
It would be instructive to run the app on some other os if possible, see if that helps...