Help with troubleshooting on Catalina?

I have been running WD on a late 2012 mac-mini (2.3 GHz Quad-Core Intel Core i7, 16GB RAM) for a couple of years with High Sierra, I just upgraded to Catalina and updated WD to the latest MacOS build.

I’m finding now that it crashes every night and even with the restart/watchdog options it does not actually restart.

Can anyone point me at logs that might give me some insight into what’s happening?

Thanks!
Bruce

Actually I have it set to “Restart Daily” so perhaps it’s trying to restart and not succeeding?

Could you try not restarting daily for a few days to see if that stops the problem? It doesn’t fix it but at least it might give some more clues about what might be wrong?

Yes I took off daily restart and it survived the night so fingers crossed!

and it crashed again:

Process: weatherdisplay [675]
Path: /Applications/weatherdisplay.localized/weatherdisplay.app/Contents/MacOS/weatherdisplay
Identifier: com.weather-display.weatherdisplayapp
Version: 334.0.0 (334.0.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: weatherdisplay [675]
User ID: 501

Date/Time: 2022-01-19 09:10:32.061 +1300
OS Version: Mac OS X 10.15.7 (19H1615)
Report Version: 12
Anonymous UUID: BDEE67B5-563A-D5AF-F790-501B570764D2

Time Awake Since Boot: 69000 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_GUARD
Exception Codes: 0x4000000100000005, 0xfe686a8a72e03b83
Exception Subtype: GUARD_TYPE_FD, id=0xfe686a8a72e03b83, fd=5, flavor=0x00000001 (CLOSE)

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff73757806 close + 10
1 libcom.dylib 0x0000000115c5d551 ser_close + 225
2 com.weather-display.weatherdisplayapp 0x0000000107886ab4 0x105b75000 + 30481076
3 com.weather-display.weatherdisplayapp 0x0000000107049e51 0x105b75000 + 21843537
4 com.weather-display.weatherdisplayapp 0x00000001076b1c17 0x105b75000 + 28560407
5 com.weather-display.weatherdisplayapp 0x00000001076fef1b 0x105b75000 + 28876571
6 com.weather-display.weatherdisplayapp 0x0000000106055c77 0x105b75000 + 5114999
7 com.weather-display.weatherdisplayapp 0x00000001060665af 0x105b75000 + 5182895
8 com.weather-display.weatherdisplayapp 0x00000001060114d1 0x105b75000 + 4834513
9 com.weather-display.weatherdisplayapp 0x00000001079852df 0x105b75000 + 31523551
10 com.apple.Foundation 0x00007fff3c017d5a __NSFireTimer + 67
11 com.apple.CoreFoundation 0x00007fff39913db8 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 20
12 com.apple.CoreFoundation 0x00007fff3991391e __CFRunLoopDoTimer + 872
13 com.apple.CoreFoundation 0x00007fff39913409 __CFRunLoopDoTimers + 322
14 com.apple.CoreFoundation 0x00007fff398f806d __CFRunLoopRun + 1885
15 com.apple.CoreFoundation 0x00007fff398f72b3 CFRunLoopRunSpecific + 466
16 com.apple.HIToolbox 0x00007fff38512aad RunCurrentEventLoopInMode + 292
17 com.apple.HIToolbox 0x00007fff385127c5 ReceiveNextEventCommon + 584
18 com.apple.HIToolbox 0x00007fff38512569 _BlockUntilNextEventMatchingListInModeWithFilter + 64
19 com.apple.AppKit 0x00007fff36b5b659 _DPSNextEvent + 883
20 com.apple.AppKit 0x00007fff36b59ea0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
21 com.apple.AppKit 0x00007fff36b4bbae -[NSApplication run] + 658
22 com.weather-display.weatherdisplayapp 0x00000001079850e2 0x105b75000 + 31523042
23 com.weather-display.weatherdisplayapp 0x00000001060256ed 0x105b75000 + 4916973
24 com.weather-display.weatherdisplayapp 0x0000000106071565 0x105b75000 + 5227877
25 com.weather-display.weatherdisplayapp 0x0000000107971576 0x105b75000 + 31442294
26 libdyld.dylib

Unfortunately you’ve reached the limit of my Mac knowledge so I’m not sure what to suggest next.

Actually I may have stumbled on the answer, while I’ve always had “Sleep” disabled, I did have screen lock on… I disabled that yesterday and it survived all day and last night and is still going strong… fingers crossed! :slight_smile:

Sadly it crashed again this morning, not sure what to try next

WD crashes for me on my 2019 iMac running Big Sur every morning when the daily reports are run. I do use Watchdog and so far, WD has restarted after its daily crash.

I had watchdog running but it also crashed. For now I’ve increased the real-time ftp interval to 10 seconds and it has survived the night, I’ll keep trying stuff.

If anyone is looking for a solution, I was unable to stop it from crashing so I created a launchd script as described in the accepted answer at launchd - Automatically relaunch a closed macOS application - Ask Different

this automatically restarts WeatherDisplay if it crashes.

it might be the daily av/ext that is crashing on
i.e check the last time of the logfile update to see when it was last running, that will be clue

Exception Type: EXC_GUARD Exception Codes: 0x4000000100000005, 0xfe686a8a72e03b83 Exception Subtype: GUARD_TYPE_FD, id=0xfe686a8a72e03b83, fd=5, flavor=0x00000001 (CLOSE)

googling it is something to do with a file descriptor error
something to do with a socket closing

what weather station type?

Hi Brian,

It’s a Davis Vantage Pro 2, using USB connection.

It seems very random, several days in a row it would crash at least once a day at different times, and usually the auto restart (launchd) would hang and I’d have to force quit.

But it has now been running for 3 days without a problem (previous record was 5 days).

its likely something to do with the USB driver
as users who use instead the Davis WLL (which uses UDP/wifi etc), WD runs OK

Well that’s a real shame, I guess I will be retiring my public site then, had a pretty good run since the early 2000’s

There’s simply no way I’m paying over $500 for a Wifi Adapter that could be implemented with a $5 Wifi microcontroller.

Without wishing to jinx it, after doing some reading I attached Ferrite chokes to both ends of the USB cable (with a little loop in each) and it has now been running 3 days without a problem (touch wood!).

final update, it helped but didn’t fix it.