Frequent crashes with reboot when accessing webinterface
Since around beginning of may I started my irrigation again and turned on my RM.
The only thing I changed was writing a script that adapts the start time of my programs via the REST API to start watering once my PV array produced enough energy to power the pump without having to buy electricity.
Quite often when I access the webinterface, it shows the red box on top which normally would contain the hint that graphs are currently being recalculated:

After a while the UI can not be accessed again and the RM reboots. I tried loggin into the RM via SSH, which still works for a while.
What I saw:
- top shows a high CPU usage of the python process is quite high
- dmesg shows a segmentation fault. On every crash the same fault in libpython and rainmachine-homekit.
[131676.579880]
[131676.579880] do_page_fault(): sending SIGSEGV to python for invalid write access to 766f4ff0
[131676.596663] epc = 771e5ef0 in libpython2.7.so.1.0[770f8000+168000]
[131676.609146] ra = 771e6370 in libpython2.7.so.1.0[770f8000+168000]
[131676.621584]
[131679.270874]
[131679.270874] do_page_fault(): sending SIGSEGV to rainmachine-hom for invalid read access from 00000008
[131679.289391] epc = 00412d38 in rainmachine-homekit[400000+80000]
[131679.301337] ra = 0040ad50 in rainmachine-homekit[400000+80000]
[131679.313257]
- logread shows an additional error regarding the homekit service:
Thu May 26 19:56:01 2022 kern.info kernel: [115055.658907]
Thu May 26 19:56:01 2022 kern.info kernel: [115055.658907] do_page_fault(): sending SIGSEGV to python for invalid write access to 76a70ff0
Thu May 26 19:56:01 2022 kern.info kernel: [115055.675714] epc = 77561ef0 in libpython2.7.so.1.0[77474000+168000]
Thu May 26 19:56:01 2022 kern.info kernel: [115055.688176] ra = 77562370 in libpython2.7.so.1.0[77474000+168000]
Thu May 26 19:56:01 2022 kern.info kernel: [115055.700626]
Thu May 26 19:56:04 2022 user.notice : [com.apple.mfi.HomeKit.Platform.RainMachine]:HAPPlatformGetZones: Call to RainMachine-app failed.
Thu May 26 19:56:04 2022 user.notice : [com.apple.mfi.HomeKit.Platform.RainMachine]:HAPPlatformIsManualWatering: Call to RainMachine-app failed.
Thu May 26 19:56:04 2022 kern.info kernel: [115058.897834]
Thu May 26 19:56:04 2022 kern.info kernel: [115058.897834] do_page_fault(): sending SIGSEGV to rainmachine-hom for invalid read access from 00000008
Thu May 26 19:56:04 2022 kern.info kernel: [115058.916351] epc = 00412d38 in rainmachine-homekit[400000+80000]
Thu May 26 19:56:04 2022 kern.info kernel: [115058.928300] ra = 0040ad50 in rainmachine-homekit[400000+80000]
Thu May 26 19:56:04 2022 kern.info kernel: [115058.940233]
-
Okay, I had the same crash happen just now, when accessing the RM via the Android app.
[86990.221305]
[86990.221305] do_page_fault(): sending SIGSEGV to python for invalid write acce ss to 765beff0
[86990.237923] epc = 770afef0 in libpython2.7.so.1.0[76fc2000+168000]
[86990.250224] ra = 770b0370 in libpython2.7.so.1.0[76fc2000+168000]
[86990.262501]
[86994.924991]
[86994.924991] do_page_fault(): sending SIGSEGV to rainmachine-hom for invalid r ead access from 00000008
[86994.943415] epc = 00412d38 in rainmachine-homekit[400000+80000]
[86994.955203] ra = 0040ad50 in rainmachine-homekit[400000+80000]
[86994.966942]
[87080.291576]
[87080.291576] do_page_fault(): sending SIGSEGV to sprinklerDaemon for invalid w rite access to 00000000
[87080.309690] epc = 771ca7ec in libc.so[771a2000+92000]
[87080.319744] ra = 00406854 in sprinklerDaemonLinux[400000+1b000]
[87080.331667]
[87173.423057] watchdog watchdog0: watchdog did not stop! -
@Nicholas Are you looking into this? Should open a support ticket?
This is pretty bothersome since it happens at least once per day on access to the machine.
Especially annoying since often in the morning I check if my program time adaption works and then the machine crashes on web access while the program runs.
Please sign in to leave a comment.
Comments
2 comments