Question feed. This error could be related to the system's file descriptor limit being reached, which could prevent Clang from opening new files. Or at least come with a clear upfront warning that the entire reply doesn't have very high confidence. But ideally it should be expressed accordingly, with honesty about your actual confidence. Firstly, by the looks it seems that based on the error message you provided: It appears that there is a segmentation fault happening in your code.
nest...