Linux Application Development-coredump

Source: Internet
Author: User

Linux application Development-core Dump a coredump
Core dump is also known as kernel dumps. When an exception occurs during the operation of the program, the Linux system
You can store the memory content in a core file when the program goes wrong, called the core Dump
Two reasons for the error in the resulting segment
1 Array out of bounds
2 Stack Overflow
3 Accessing NULL pointers
4 modifying read-only memory
Three Open Core dump
Linux turns off this feature by default
Open Ulimit-c umlimited
Close Ulimit-c
Four use
After opening, execute gdb./test.out core.****




Linux Application Development-coredump

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.