I am trying to debug why running commands with sudo seem to cause segfaults. One instance is the following:
rescan.sh line 44: 9818 Segmentation fault sudo