질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

segfault 메세지로그 설명 부탁

작성자 정보

  • 재처뤼 작성
  • 작성일

컨텐츠 정보

본문

안녕하십니까~ 제가 서버 점검 중 메세지 로그에서 에러 로그를 발견했습니다.

구글 검색해도 비슷한 증상은 있는듯한데 정확한 증상에 대해서는 찾기가 넘 어렵더군요ㅠ

그래서 해당 로그의 내용이 무엇을 의미하는지 알려주셨으면 합니다!!!ㅠ


kernel:passd[10761] : segfault at 20 ip 000000000040617c sp 00007f8d19fd5e50 error 4 in passd[400000+16000]

참고로 kernel:passwd가 아니라 kernel:passd 입니다ㅠ

관련자료

댓글 1

디지문님의 댓글

  • 디지문
  • 작성일
레드햇 문서에서 요리 설명하고 있네요.

What is a segfault?

A segmentation fault (also known as a segfault or a segmentation violation) occurs when a process attempts to access a memory location that it is not allowed to access, or attempts to access a memory location in a way that is not allowed (for example, attempting to write to a read-only location, or to overwrite part of the operating system). On Unix family operating systems, a signal called SIGSEGV - signal #11, defined in the system header file signal.h - is then sent to to process. The default action for SIGSEGV is abnormal termination: the process ends and an application core file may be written (depending on the system's configuration).

On some architectures (notably x86_64), the kernel logs a message to the kernel ring buffer when a segfault is generated.


Why does a segfault occur?

A segmentation fault can occur under the following circumstances:
1. A bug (software defect) in the program or command is encountered, for example a buffer overflow (an attempt to access memory beyond the end of an array). This can typically be resolved by applying errata or vendor software updates.
2. A hardware problem affects the virtual memory subsystem. For example, a RAM DIMM or CPU cache is defective.
3. An attempt is made to execute a program that was not compiled/built correctly.

공지사항


뉴스광장


  • 현재 회원수 :  60,081 명
  • 현재 강좌수 :  36,019 개
  • 현재 접속자 :  113 명