Linux2021. 1. 8. 15:58

segmentation fault는 주소 영역은 존재하는데 접근해서는 안되는 주소를 간거라고 한다면

bus error는 물리적 주소조차도 존재하지 않는 영역을 갈경우 발생하는건가?

 

A Bus Errors triggers a process-level exception,notifying an  operating system(OS) that a process is trying to access memory that the CPU cannot physically address which in UNIX translates into a “SIGBUS” signal, which if not caught, will terminate the current process.

[링크 : https://learntechway.com/difference-between-segmentation-fault-and-bus-error/]

Posted by 구차니