Page 1 of 1

1044 crashing.

Posted: Mon 27 Aug 2012 8:05 am
by dpmiller
Steve, I plug in and download from the FO station every couple of days. Since I installed 1044, the software stops with a bug report a short time after downloading and processing. It stays up long enough to grab live data and offer a forecast, but a short time later (either on the main screen or in selectagraph, usually) things go wrong.
Restarting the software is fine, data is intact, and the problem doesn't then reoccur until the next download...

bug report attached

David

Re: 1044 crashing.

Posted: Mon 27 Aug 2012 8:17 am
by steve
It's crashing in the system code; it's something to do with closing the 'please wait' window. Occasionally, closing this window causes a crash on some systems, and Googling this problem suggests that it's a bug in the Delphi runtime. There was a suggested work around of making the window invisible before closing it, so I added some code recently to do that. It seems that making it invisible also causes a crash in the system code. I see you also had a slightly different crash on the 22nd August, also when the 'please wait' window was caused.

You mention select-a-graph, but the crash was in closing the 'please wait' window - are you doing things while the 'please wait' window is still on the screen?

I'll have to see if I can find some other work around that doesn't itself cause a crash.

Re: 1044 crashing.

Posted: Mon 27 Aug 2012 8:59 am
by dpmiller
I just reconnected, to confirm my symptoms. On this occasion, I downloaded, waited for processing, accessed graphs, waited a while, all OK. Disconnected the USB and... crash.

Re: 1044 crashing.

Posted: Mon 27 Aug 2012 9:17 am
by steve
dpmiller wrote:Disconnected the USB and... crash.
You disconnected the USB cable while Cumulus was running? Why?

Re: 1044 crashing.

Posted: Mon 27 Aug 2012 9:42 am
by dpmiller
as I always have done...

I use the console as a logger, download to the laptop, disconnect, and then wander over to a soft seat to peruse the last few days records. A "device disconnected" error I expect, but this crashing is new.

Re: 1044 crashing.

Posted: Mon 27 Aug 2012 9:54 am
by steve
I've changed the code (again) to see if I can stop the crash(es). But the readme.txt file does explicitly say "Don't disconnect your station while Cumulus is running", and doing this will cause other problems even if it doesn't crash. It would be nice if Cumulus was perfect and it coped with everything that everyone does to it, but I simply don't have the time to spend on making it completely robust, particularly when I have things like bugs in third-party code to cope with. Sorry.

Re: 1044 crashing.

Posted: Mon 27 Aug 2012 10:06 am
by dpmiller
that's fixed it, thanks!

Re: 1044 crashing.

Posted: Mon 27 Aug 2012 10:20 am
by steve
Hopefully the code I've changed will stop it crashing if you unplug it, but as I said, you will get other problems, e.g. it will continue to write to the data logs. What you could try is to close it down, unplug the station, and then start it up again. This should allow you to look at the recent data without any nasty side effects.