pioneers / runtime

Firmware for the PiE kit robots and devices
7 stars 2 forks source link

[EXECUTOR] Executor defunct process with invalid student code #254

Open levincent06 opened 3 years ago

levincent06 commented 3 years ago

During Fall Comp 2021, there was a defunct process when a particular student code was uploaded to the Raspberry Pi. The exact student code is uploaded to #fall-comp-2k21 Slack channel at 4:36 PM on 10/23 by @benliao1 .

The expected behavior is that Runtime should still be functional, all processes are still running, and run mode remains IDLE when a client tries to change the run mode to teleop/auto. (Runtime reverts to IDLE when the student code has an error)

The particular error is that there's an extra space before the last line of code.

def teleop_main():
....four_spaces
....more_code_indented_with_proper_space_count
.....five_spaces