최대 1 분 소요

디버깅을 위해서 일단 아래와 같이 셋팅을 해야 합니다.

pi@raspberrypi:~/source/thermal $ ulimit -c unlimited

pi@raspberrypi:~/source/thermal $ ulimit 

unlimited

build 시에 -g -ggdb 넣어서 빌드

gdb -c core.xxx ./test

bt

참고 : https://hiseon.me/linux/segmentation-fault/

참고 : https://www.morenice.kr/66

\