External Email - Use Caution        

Hello Aaron,

The crash report lists issues with running the Qt package and that you are running zsh.   You could try running freeview under “bash” in the terminal window (which was the default in older versions of MacOS - it may tell you how to set that as your default shell).

In a new terminal window you could try running,

$ bash

Check that the X windows distribution for MacOS is installed with,
$ which Xquartz
/opt/X11/bin/Xquartz

If you don’t see that, then install Xquartz from MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://www.xquartz.org an then try the “which” command again to find Xquartz.

Then setup the freesurfer environment,

$ export FREESURFER_HOME=/Applications/freesurfer/7.1.1
$ source $FREESURFER_HOME/SetUpFreeSurfer.sh

-------- freesurfer-darwin-macOS-7.1.1-20200811-8b40551 --------
Setting up environment for FreeSurfer/FS-FAST (and FSL)
FREESURFER_HOME   /Applications/freesurfer/7.1.1
FSFAST_HOME       /Applications/freesurfer/7.1.1/fsfast
FSF_OUTPUT_FORMAT nii.gz
SUBJECTS_DIR      /Applications/freesurfer/7.1.1/subjects
MNI_DIR           /Applications/freesurfer/7.1.1/mni

$ which freeview
/Applications/freesurfer/7.1.1/bin/freeview
$ freeview

…. empty freeview window should come up ….

You can also run it form the terminal in the same double clicking on the icon in the Finder would do - which should also work,

$ open -a /Applications/freesurfer/7.1.1/Freeview.app

If you did not use the pkg installer to install freesurfer 7.1.1 (which needs admin privileges), then you could try the installer from,
https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/7.1.1/freesurfer-darwin-macOS-7.1.1.pkg

- R.

On Apr 13, 2021, at 01:08, Aaron Switzer <arswitze@ucalgary.ca> wrote:

        External Email - Use Caution        


        External Email - Use Caution        


Dear FreeSurfer experts,

I am having troubles running Freeview on Mac OSX 10.15.7. I have Freesurfer 7.1.1. When I enter ‘freeview’ into terminal or double click the Freeview.app in FREESURFER_HOME, it crashes and I get the following error: 

aaronswitzer@Aarons-MacBook-Pro-2 ~ % freeview
/Applications/freesurfer/7.1.1/bin/freeview: line 2:  2037 Segmentation fault: 11  $FREESURFER_HOME/Freeview.app/Contents/MacOS/freeview "$@“ (full error report below)

I’ve gone through the suggestions given in the mail archive for a similar problem posted on June 14, 2020, to no avail. I have the most up to date X11 (v2.8.1),  FREESURFER_HOME is properly configured, I’ve tried uninstalling and reinstalling freesurfer, I’ve tried deleting edu.harvard.mgh.nmr.plist, and I tried building the freeview.zip file from GitHub. Is there anything else I can try?

Thank you for your help,
Aaron