At brainstorm3.command it gets to "reading process folder" and quits

You need to delete the MATLABROOT.txt file in your user folder: $HOME/.brainstorm/MATLABROOT.txt