From 7ffc55bc44ef7c10f6585bf786179dc23a797487 Mon Sep 17 00:00:00 2001 From: Arne Schwarck Date: Mon, 15 Jul 2019 13:06:57 +0200 Subject: [PATCH] debug why eon is rebooting during drive --- selfdrive/updated.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/selfdrive/updated.py b/selfdrive/updated.py index 7a957d45a0c54c..1d893d5c860aa6 100755 --- a/selfdrive/updated.py +++ b/selfdrive/updated.py @@ -10,6 +10,7 @@ from selfdrive.swaglog import cloudlog import selfdrive.kegman_conf as kegman import os +import selfdrive.crash as crash NICE_LOW_PRIORITY = ["nice", "-n", "19"] def main(gctx=None): @@ -53,6 +54,7 @@ def main(gctx=None): msg = messaging.recv_sock(manager_sock, wait=True) if msg: if "controlsd" not in msg.managerData.runningProcesses and msg.managerData.runningProcesses != []: + crash.capture_warning(msg.managerData.runningProcesses) NEED_REBOOT = False os.system('reboot')