|
Re: No space left on device error
I have experienced this error for this reason:
When the code starts, it extracts the WPILib JNI library to a tmpfs partition (/var/volatile, I believe). If the code crashes in native code, either the JNI library temp file won't be deleted or a coredump is written to the same temp directory, or both (I can't remember). The code restarts over and over eventually filling up the temp directory and causing this error.
I'm not sure why your code would be crashing like this, but I would recommend checking to see if /var/volatile is being filled. If so, kill the script that automatically restarts the code, then empty /var/volatile, manually start the code and view the FRC_UserProgram.log file. I have seen some cases where errors are not printed to the driver station, but are printed to the log file.
Let me know if you have any questions.
__________________
2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
|