Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

BSOD in Vista

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
wshimmin
Posts: 16
Joined: Wed 16 Jul 2008 4:26 pm
Weather Station: Oregon Scientific WMR-928

BSOD in Vista

Post by wshimmin »

Just tried Cumulus (V1.7.13) for the first time in Vista Business and I get a BSOD when exiting the application. A shame as it looks really good otherwise :cry:
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: BSOD in Vista

Post by steve »

I run Vista on the machine I use to develop Cumulus, and I know others use it successfully with Vista, so that's a bit strange. BSODs are usually down to problems with hardware or drivers. Maybe it's the serial driver?

Are you running Cumulus as administrator? If you've installed to the default location, Vista will probably require this (not that you would expect a BSOD either way). What is the Stop error that you're getting? And what type of weather station do you have?

I know that Cumulus can sometimes throw an exception when closing down. I've tried to get to the bottom of this, and put some changes in recently, but I've still seen it happen. Maybe this exception is what is somehow resulting in a BSOD on your system.

Steve
Steve
wshimmin
Posts: 16
Joined: Wed 16 Jul 2008 4:26 pm
Weather Station: Oregon Scientific WMR-928

Re: BSOD in Vista

Post by wshimmin »

Steve

Thanks. It could be the serial driver - I use a USB to serial adaptor although it's never caused a problem with Virtual Weather Station. In fact this is the first time I've had a BSOD on this box and it happens consistently on closing Cumulus. I removed the app and did a system restore so can't tell you what the Stop error was but I'll re-install and let you know.

My weather station is an Oregon WMR928.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: BSOD in Vista

Post by steve »

Yes, my money would be on the driver for the serial/USB adapter. Sadly, some people do seem to have problems using Cumulus with one of those, while others use one without any problems. I had one report of Cumulus working OK for a few minutes and then the data stopped updating. Cumulus must be driving the serial interface in a slightly different way to other software.

I've looked at my code and I can't see what it is that I'm doing that might be causing a problem. I'll have a look specifically at the shutdown code to see if I can see anything. When you close it, do you get the 'are you sure you want to exit' dialog, then you click 'yes', and then you immediately get the BSOD?

Steve
Steve
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: BSOD in Vista

Post by steve »

I've noticed that I don't explicitly close the serial port on exit. I've created a new version which does close the serial port, it's here:

http://www.nybbles.co.uk/downloads/cumulus.exe

It's not a setup file, it's just the executable, so just copy it over the one that's installed already. Please could you try it and see if it helps? The only other thing I can think of at the moment is to check whether you have the latest driver for your serial/usb adapter.

Steve
Steve
wshimmin
Posts: 16
Joined: Wed 16 Jul 2008 4:26 pm
Weather Station: Oregon Scientific WMR-928

Re: BSOD in Vista

Post by wshimmin »

Steve

Thanks. I'll give it a go this evening.
wshimmin
Posts: 16
Joined: Wed 16 Jul 2008 4:26 pm
Weather Station: Oregon Scientific WMR-928

Re: BSOD in Vista

Post by wshimmin »

Steve:
The BSOD is no more - thanks. One more thing though: CPU usage is very high, averaging 80% on a 2Ghz Core 2 Duo. What's using that amount of processor time?
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: BSOD in Vista

Post by steve »

That's Cumulus using 80%? It uses 2% on my Vista system (with an AMD processor). I can't think why it would be different. Unless it's something to do with the way your usb/serial driver works. I'll see if I can produce a test version with some profiling turned on.

Steve
Steve
wshimmin
Posts: 16
Joined: Wed 16 Jul 2008 4:26 pm
Weather Station: Oregon Scientific WMR-928

Re: BSOD in Vista

Post by wshimmin »

Yes, its cumulus.exe running at 75-80% in the Processes list. My usual app - Virtual Weather Station - is OK, barely showing any processor activity at all so I guess the USB/serial driver itself is not the problem. Very odd! I'll try it in an XP virtual machine to see what happens.
wshimmin
Posts: 16
Joined: Wed 16 Jul 2008 4:26 pm
Weather Station: Oregon Scientific WMR-928

Re: BSOD in Vista

Post by wshimmin »

OK - I've tried it in an XP virtual machine and there's minimal processor load. Of course, there's no physical serial port so not sure if this makes a difference.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: BSOD in Vista

Post by steve »

When you're running in the VM, is that virtualising the serial port created by your USB/serial driver, or is the USB/serial driver running in the VM itself, if you see what I mean?

What VM software are you using?

Meanwhile, I'm struggling to find a free profiler that will give me any useful info.

What bits of Cumulus are you using at the moment? Any web site uploading, and/or the real time stuff?

Steve
Steve
wshimmin
Posts: 16
Joined: Wed 16 Jul 2008 4:26 pm
Weather Station: Oregon Scientific WMR-928

Re: BSOD in Vista

Post by wshimmin »

Steve

I'm using MS Virtual PC 2007 which can't talk to USB ports so I set it to talk to a (non-existant) serial port. I just tried Cumulus with a fresh install - no web site uploading, etc. I do have a Core 2 Duo laptop with a real serial port and I'll give that a try this evening.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: BSOD in Vista

Post by steve »

I should have a profiling version ready soon, which might help to throw some light on the problem.

Steve
Steve
wshimmin
Posts: 16
Joined: Wed 16 Jul 2008 4:26 pm
Weather Station: Oregon Scientific WMR-928

Re: BSOD in Vista

Post by wshimmin »

Steve
As you suspected, it seems to have been the USB/serial driver. I tried Cumulas on an XP Core2 Duo laptop and it was fine. When I restarted the Vista PC it decided there was no driver for the USB/serial adaptor (why?) and went off looking for one. After that, Cumulus ran without any problems. Many thanks for your time. I'm looking forward now to getting my weather station online.
Post Reply