Troubleshooting Weather Display Frequent Crashes

Any tips for gathering information as to why Weather Display will not keep running? It doesn’t seem to crash but just disappears and I have to restart it.

It stopped working this morning around 8am so I restarted it around noon. Just had to restart it again.

I’m lucky if I can get more than a day without it disappearing.

Running 10.37Mac359 on Big Sur.

maybe check out this thread

No flatlining at all.

I’ve checked the Event Log and it’s always empty.

Big Sur had a lot of changes
the current compiler version I use is not 100% compatible it seems
there is a new compiler version due out in a few months
(I have been invited to be a beta tester too)

I started using wdwatchdog and it’s managed to keep WD up and running. I can see by the counter that it’s definitely crashed and has been restarted.

The really interesting thing is that the old 10.37Mac306 version on my Mac Mini has stayed up and the counter is currently at 8190728. I’ve never seen the counter that high as it would usually crash a few hours or days after starting it. The only difference is that I turned off the main Internet switch since the Mac Pro version is now updating my webpage. Seems to be running stable with the internet turned off.

that points to one of the internet update functions that you had set that is the problem
(you might be able to pin point it (via the customise internet and file creation setup)
I did find a bug with the tempwindraintrend update

Is there a debug log I can generate to try and narrow down which internet file creation is causing my issues on my old Mac Mini?

Right now in the FTP/Internet Setup page under Upload, I’m uploading every 5 minutes. Under the Customise Internet and File Creation Setup, I did have some files setup to be created and uploaded at different times.

I’m assuming these settings override the FTP/Internet Setup times if the Override switch is on?

For now I’ve disabled them all and the Override switch is in the off position.

I’ve also disabled email generation and metar downloads.

I’d like to continue running the newer version on my Mac Pro but the Data Received counter seems to indicate a much slower data rate and my graphs reflect less data coming in. Packet rate seems to be about 3packets/sec on the Mac Mini and 1packet/sec on the Mac Pro. I also see the data packets stutter every so often sometimes accompanied by a beachball. Even running the Windows version on the same Mac Pro using Parallels gives me about 3packets/sec so it would seem to be something with the OSX version.

what weather station type?

Ultimeter 2100 running long data length with a rain gauge, humidity sensor and 0.01 in rain gauge checked.

ah
the ultimeter 2000/2100 puts out a heck of a log of com port data at very frequent rates
and I suspect its overwhelming WD and causing problems

one solution is I could have it where the raw data is gathered via a separate cron program

I’m not too worried about it.

The Mac Pro is my main machine so I’d like to offload it to my Mac Mini server. The Mac Mini crashes every so often and won’t restart unless I power cycle the machine. Always hangs at “Loading rain data”. I’ve actually installed a wifi power switch so I can restart it remotely.

I think I’ve got most of the internet functions turned off and the webpage only updates every 5 minutes. The downside is it’s running an old OSX and can’t run the latest version of WD.

The other option is to move everything over to the Windows10 virtual machine which seems to handle the data rates ok. Not sure what’s involved in going from OSX to Windows? Luckily I’ve split the serial connection from the Ultimeter which allows me to run two instances to okay with.

Not sure if a crash log helps or not. Here’s the main part and I’ve attached a zipped file of the full report:

(If I try to restart the program, it crashes at “Loading new rain chart”).

Process:               weatherdisplay [371]
Path:                  /Applications/weatherdisplay.app/Contents/MacOS/weatherdisplay
Identifier:            weatherdisplay
Version:               1.0 (1.0.0)
Code Type:             X86 (Native)
Parent Process:        ??? [1]
Responsible:           weatherdisplay [371]
User ID:               501

Date/Time:             2021-02-22 19:10:05.628 -0500
OS Version:            Mac OS X 10.11.6 (15G22010)
Report Version:        11
Anonymous UUID:        06BDC548-8FA0-6CFA-8681-E9F22DCFE7A3


Time Awake Since Boot: 24000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_PROTECTION_FAILURE at 0x00000000bf7ffffc
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0xbf7ffffc:
    Stack                  00000000b029d000-00000000b031e000 [  516K] rw-/rwx SM=COW  
--> Stack Guard            00000000bc000000-00000000bf800000 [ 56.0M] ---/rwx SM=NUL  
    Stack                  00000000bf800000-00000000bfff4000 [ 8144K] rw-/rwx SM=COW  

Application Specific Information:
BUG IN CLIENT OF LIBDISPATCH: Semaphore/group object deallocated while in use

wxdisplaycrash.txt.zip (18.6 KB)

Just a wild guess considering the program stalls on the “Loading new rain chart” but could the tempwindraintrend update bug be the cause of my crashes? Since this is an older Mac Mini, I’m using WD 10.37Mac306. I do not have Upload the win/temp/rain trend graph daily box checked but I did have Upload the trends for the last hour/30 minutes/10 minutes image checked.

Looks like the crash occurred just after the webpage updated.

And another crash almost 2 hours later with the same bug report.

Crashed a few seconds after 2150 so it looks like it’s something to do with the web page upload or something being generated for the web page.

Uploading to my website on the hour instead of every 5 minutes seemed to have helped keep the Mac Mini version up and running.

So in the Web Files/Web Page Setup/Upload tab, I have my site set to upload every hour. Can I override those times using the Customize Internet and File Creation Setup page to upload my screen image file more frequently?