How to use gdb to collect a coredump information

From Wiki-UX.info
Jump to: navigation, search

Abstract[edit]

This article explains how to use gdb packcore feature to collect the necessary files for core dump analysis..

Hi, My name is Dave and I was just looking at your website wiki-ux.info and thought perhaps I would message you on your contact form to see if you need help. I really liked your website but noticed you weren't getting a lot of traffic to your site and your Alexa ranking wasn't as strong as it could be.

https://classoneseo.com

I can get 1,000’s of visitors looking at wiki-ux.info, ready to buy your product, service or signup for your offer. Our advertising network of over 9000 websites provides a low cost and effective online marketing solution that actually works. We can help your business get more online quality traffic by advertising your business on websites that are targeted to your market. The internet is a vast entity and kick starting your online business doesn’t have to take a ridiculous amount of cash. We’ll send real people to see your web site starting almost immediately! In fact, I can get 10,000 highly targeted visitors to your website for as little as $39 just so you can test out our service.

Right now to make things really exciting you can get 200,000 Targeted visitors to you site in 30 days for only $299. If you'd like to talk personally please give me or Jim a call at 480-331-6775 9 to 5 MST USA.

I have a short video here that explains how everything works https://classoneseo.com Best Regards, Dave support@classoneseo.com ClassOneSEO.com https://classoneseo.com

Hi, My name is Dave and I was just looking at your website wiki-ux.info and thought perhaps I would message you on your contact form to see if you need help. I really liked your website but noticed you weren't getting a lot of traffic to your site and your Alexa ranking wasn't as strong as it could be.

https://toptargetseo.com

I can get 1,000’s of visitors looking at wiki-ux.info, ready to buy your product, service or signup for your offer. Our advertising network of over 9000 websites provides a low cost and effective online marketing solution that actually works. We can help your business get more online quality traffic by advertising your business on websites that are targeted to your market. The internet is a vast entity and kick starting your online business doesn’t have to take a ridiculous amount of cash. We’ll send real people to see your web site starting almost immediately! In fact, I can get 10,000 highly targeted visitors to your website for as little as $39 just so you can test out our service.

Right now to make things really exciting you can get 200,000 Targeted visitors to you site in 30 days for only $299. If you'd like to talk personally please give me or Jim a call at 480-331-6775 9 to 5 MST USA.

I have a short video here that explains how everything works https://toptargetseo.com Best Regards, Dave support@toptargetseo.com TopTargetSEO.com https://toptargetseo.com

Use gdb to collect coredump information[edit]

Once the application binary file has failed and generated a core dump file, you can use the gdb command to create a tar archive including the core file, libraries and other information needed to perform the analysis.

The syntax is:

# /opt/langtools/bin/gdb /path/to/command /path/to/core
(gdb) packcore 
(gdb) quit


Example:

# /opt/ignite/bin/make_tape_recovery -vA -a /dev/rmt/8mn

       * Creating local directories for configuration files and archive.

=======  10/20/09 09:58:51 EDT  Started make_tape_recovery. (Tue Oct 20 09:58:51 EDT 2009)
         @(#)Ignite-UX Revision C.7.9.260
         @(#)ignite/net_recovery (opt) Revision: /branches/IUX_RA0909_WEB/ignite/src@78846 Last Modified: 2009-08-13 14:15:12 -0600 (Thu, 13 Aug 2009)
...
...
...
	   
       * Checking Versions of Ignite-UX filesets
Memory fault(coredump)

# /opt/langtools/bin/gdb /opt/ignite/bin/make_tape_recovery core
(no debugging symbols found)...Core was generated by `/opt/ignite/bin/make_tape_recovery'.
Program terminated with signal 10, Bus error.
(no debugging symbols found)...(no debugging symbols found)...
#0  0xc01fd220 in _wrtchk+0xb8 () from /usr/lib/libc.2
(gdb) packcore 
The core file has been added to packcore.tar and the core file has been removed. 
(gdb) quit

Note that in this case the core file was under the present working directory. This command generates a tar file that you can submit for analysis.

References[edit]

Autor[edit]