곰박사의 탐구/곰박사 코딩하다

[Freesurfer] Error: Freeview Segmentation fault

Dr.Bear 2024. 10. 18. 11:38

Coding <Pexel.com>

 

영상분석을 공부하고 프로그램을 다루면서 만나는 에러들이 있다.

 

 

해결하고자 시간을 많이 쏟는 경우가 많다.

 

 

이번 에러는 다양한 이유들이 많은 듯 하나, 곰박사가 겪은 해결법을 기록해두기 위함이다.

 

 

 

 

사실 경험해보고 해결해보면 해결 방법이 참 쉬운데, 찾아보고 정리하는 과정이 굉장히 시간이 많이 소요되었다. 

 

 

의료 영상 분석에서 많이 사용하는 Freesurfer 소프트웨어, 

 

 

이 소프트웨어는 Freeview 라는 시각화 툴을 제공한다. 

 

 

그러나 이 시각화 툴을 사용하는 데 있어서 만날 수 있는 에러가 있었다. 

 

 

바로 Segmentation fault.

line x: xxx Segmentation fault: 11 이라는 메세지 형태로 Freeview 프로그램이 실행되지 않는다.

 

 

이 에러가 일어나게 된 이유를 먼저 말하자면, 

 

 

듀얼 모니터를 사용하는 경우, "주 모니터"가 아닌 모니터에서 freeview를 실행하면 만나는 에러였다.

 

 

 

 

 

찾아본 자료에 의하면, 어떤 사람은 메모리에 의한 이슈로 메모리를 많이 사용하는 경우, 메모리 공간을 확보하여 해결한 경우도 있다고 한다.

 

 

그러나, 곰박사의 경우에는 메모리는 아주 널널한 상태에 위와 같은 에러를 만나게 되었다.

 

 

그래서 이것저것 찾아보고 시도하다 보니,

 

 

주 모니터에서 실행하면 해결되는 이슈였다.

 

 

원인을 알게되면 다음에는 수월하게 실행할 수 있지만, 찾는 과정과 소요된 시간이 많아,

 

 

이렇게 기록을 해둔다.

 

 

해결되서 다행이다 휴..

 

 

 

 

 

 

 

 

찾아본 참조 링크들을 아래에 공유해둡니다.

https://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg70721.html

 

Re: [Freesurfer] Mac install of Freesurfer 7.2.0 - Freeview quitsunexpectedly

External Email - Use Caution I started getting segfaults again but I was able to diagnose what was different. It turns out it was *not the license file for me*. I registered a new license file this morning --> it worked on my Mac and I assumed it was the n

www.mail-archive.com

 

https://neurostars.org/t/problem-installing-freesurfer-in-mac/20552

 

Problem installing FreeSurfer in Mac

Hi everyone, I’m trying to enable FreeSurfer in my laptop (Mac / Big Sur), but I’m facing a strange error. I downloaded the installation package and installed without any problem, and also added the lines in terminal for: exporting the FREESURFER_HOME

neurostars.org