I was wondering what differences and relations are between segmentation fault and page fault?
세그멘테이션 폴트와 페이지 폴트 사이에는 어떤 차이점과 관계가 있는지 궁금했습니다.Does segmentation fault only belong to segmented memory model?
세그멘테이션 폴트는 세그먼트 메모리 모델에만 해당되나요?Does page fault only belong to paged memory model?
페이지 폴트는 페이징 메모리 모델에만 해당되나요?If both are yes, since most computer systems such as x86 and Linux use paged memory model instead of segmented memory model, why does GCC C compiler sometimes report segmentation fault error?
두 질문 모두 그렇다면, x86과 리눅스 같은 대부분의 컴퓨터 시스템이 세그먼트 메모리 모델 대신 페이징 메모리 모델을 사용하는데, 왜 GCC C 컴파일러가 가끔 세그멘테이션 폴트 오류를 보고하나요?
Thanks and regards! 감사합니다!