该信号表示总线错误,通常与SIGSEGV混合。虽然类似(都代表尝试访问无效内存),但当地址不存在或更常见的无效对齐时,会发生SIGBUS 换句话说,物理地址无效(这与逻辑地址无效的SIGSEGV不同)。

找不到:

In computing, a bus error is a fault raised by hardware, notifying an operating system (OS) that a process is trying to access memory that the CPU cannot physically address: an invalid address for the address bus, hence the name.

 

不合法

In computing, a segmentation fault (often shortened to segfault) or access violation is a fault, or failure condition, raised by hardware with memory protection, notifying an operating system (OS) the software has attempted to access a restricted area of memory (a memory access violation).

 

相关文章:

  • 2021-09-28
  • 2022-12-23
  • 2021-10-18
  • 2021-09-13
  • 2021-09-04
  • 2022-02-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2021-06-24
  • 2021-04-10
相关资源
相似解决方案