Linux kernel: Parsing coredump Files-Kernel code crashes

Source: Internet
Author: User
Tags tmp file

Transferred from: http://blog.csdn.net/guowenyan001/article/details/12975221

I. Analysis of core files

1.1 Locate the core file directory and start Mycrash:mycrash

1.2 Viewing the stack information for crashes: BT

1.3 Disassembly of the crash point code, 10 lines: Dis-l extract_http_info+73 10

Second, analysis source file Hinfo.ko

2.1 View Source file information: objdump-s Hinfo.ko > tmp

2.2 Find the content in 1.3 from the TMP file Movb $0x0, (%r12,%rax,1) to determine the code crash location

Third, another method of analysis

3.1 BT View Stack

3.2 MoD View module

3.3 Mod-s Loading module

3.4 Sym Address (3.1 In blue box is address) view crash code location

Linux kernel: Parsing coredump Files-Kernel code crashes

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.