To run as an app bundle, since there is no global environment settings, you need to put the license file in /Applications/freesurfer folder. Then you should be able to load data.
On Jan 3, 2025, at 12:47 AM, Tietze, Anna <anna.tietze@charite.demailto:anna.tietze@charite.de> wrote:
External Email - Use Caution
Yes, I’ve tried that as well. Freeview opens as an app bundle, but it crashes when I load a file. Interestingly, this is inconsistent—sometimes I can load a file without any issues, but most of the time, it crashes in the same way. I’ve this problem on two different Macs:
* System 1: macOS Sonoma 14.5 with FreeSurfer 7.3.2. * System 2: macOS Sonoma 14.7.1 with FreeSurfer 7.4.0.
From: <freesurfer-bounces@nmr.mgh.harvard.edumailto:freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of "Wang, Ruopeng" <RWANG4@mgh.harvard.edumailto:RWANG4@mgh.harvard.edu> Reply-To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edumailto:freesurfer@nmr.mgh.harvard.edu> Date: Thursday, 2. January 2025 at 19:04 To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edumailto:freesurfer@nmr.mgh.harvard.edu> Subject: [ext] Re: [Freesurfer] Freeview crash
Have you tried running freeview as an app bundle? Or can you try running freeview directly from the binary location? Like this:
$FREESURFER_HOME/Freeview.app/Contents/MacOS/freeview
On Jan 2, 2025, at 7:14 AM, Tietze, Anna <anna.tietze@charite.demailto:anna.tietze@charite.de> wrote:
Hi,
When I want to open files with freeview, it crashes immediately. I tried my own recon-all output and the bert dataset. Can you help me?
Operating system: Mac, Sonoma 14.7.1 Fressurfer version 7.4.0 XQuatz 2.8.5 licence.txt located in: /Applications/freesurfer/7.4.0/license.txt (can be read, as recon-all works) environment is set by FREESURFER_HOME=/Applications/freesurfer/7.4.0 and source $FREESURFER_HOME/SetUpFreeSurfer.sh
When I run the command freeview, the following message is given: /Applications/freesurfer/7.4.0/bin/freeview: line 2: 6615 Segmentation fault: 11 $FREESURFER_HOME/Freeview.app/Contents/MacOS/freeview "$@"
Or trying to open a file: freeview -v /Users/annatietze/Documents/freesurfer/freesurfer_subjects/nini_ra/mri/orig/001.mgz /Applications/freesurfer/7.4.0/bin/freeview: line 2: 6765 Segmentation fault: 11 $FREESURFER_HOME/Freeview.app/Contents/MacOS/freeview "$@"
freeview -v /Applications/freesurfer/7.4.0/subjects/bert/mri/orig/001.mgz /Applications/freesurfer/7.4.0/bin/freeview: line 2: 6799 Segmentation fault: 11 $FREESURFER_HOME/Freeview.app/Contents/MacOS/freeview "$@"
Attached is a detailed error report.
What did I overlook?? Thank you so much for help!
Best, Anna <problem report freeview.rtf> External Email - Use Caution
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurferhttps://secure-web.cisco.com/16k7GeT10xnyGxKgd_FlVZCkydV-RDVkVN5jCKeQIWh34il3jxFy101naM-yIxvXqpP2HyIp-eGB9RvrusOKbKf9XRXAN55tTbtdwTjP9dePStqI5NKRTIAsPPY6kJCfItER09-PaaHsooudqs_kiKeXxx9OrieieJPMPBxG5dmGT1GrY9s8bK8r1SYNmjTW7Z5IckX9mnkBlpxYMS97B8lnTFbjQj_BXa0Ya7vv7IcJqIbM1InBbPxGvF7ToPyG4Rzy-r98xWDbyFexID6H8dkhLe_yHX7HhwFJDKMTfV5ZsfIQ5KGVzR-HCeEIAP5S4_HVTTDoacjsxxjrOd1OcYw/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer