记一次Linux内核崩溃:kdump,crash,vmcore (5)

6、dis 反编译

crash> dis -l ffffffff92994f92 /usr/src/debug/kernel-3.10.0-1160.15.2.el7/linux-3.10.0-1160.15.2.el7.x86_64/arch/x86/kernel/entry_64.S: 511 0xffffffff92994f92 <system_call_fastpath+37>: mov %rax,0x50(%rsp)

7、查看源码
从上面的反汇编结果中,我们看到问题出在entry_64.S: 第511行代码,翻开源码的相应位置,如下;

492 system_call_fastpath: 493 #if __SYSCALL_MASK == ~0 494 cmpq $__NR_syscall_max+1,%rax 495 #else 496 andl $__SYSCALL_MASK,%eax 497 cmpl $__NR_syscall_max+1,%eax 498 #endif 499 jae badsys 500 ARRAY_INDEX_NOSPEC_SYSCALL clobber_reg=%rcx 501 movq %r10,%rcx 502 503 #ifdef CONFIG_RETPOLINE 504 movq sys_call_table(, %rax, 8), %rax 505 call __x86_indirect_thunk_rax 506 #else 507 call *sys_call_table(, %rax, 8) # XXX: rip relative 508 #endif 509 510 UNWIND_END_OF_STACK 511 movq %rax,RAX(%rsp) 512 /*

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wpzxwz.html