Solving c/c++ errors using core dump

This is a discussion on Solving c/c++ errors using core dump within the C++ Programming forums, part of the General Programming Boards category; Hi, I just learned that whenever we have this error : core dumped some kind of core is actually dumped ...

  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    11

    Solving c/c++ errors using core dump

    Hi,

    I just learned that whenever we have this error :

    core dumped

    some kind of core is actually dumped somewhere! can somebody elaborate that please?

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    You run linux, yes? You have the option enabled which generates core files when a program crashes. Use something like 'gdb' to view them.

    Visit your local search engine, man page, etc to learn more.

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Jun 2003
    Posts
    11
    Thank you quzah for the suggestion.
    Yes, I do use Linux and also Unix! I tried gbd for a small program and it seems that it would be fun with thousands lines of code!

    Sorry vVv ,
    I thought this was c/c++ related problem, next time I will consider twice before posting!

    Thank you,
    Never Give up.

  4. #4
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    >> I tried gbd for a small program and it seems that it would be fun with thousands lines of code!

    Careful what ya wish for mate.

    One thing I might advise, its easier to run gdb through emacs than just on the console.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  5. #5
    Registered User
    Join Date
    Jan 2003
    Posts
    311
    easier still with DDD, common to most distro's. For straight forensics DDD rules, for debugging and fixing emacs is still the way to go.

  6. #6
    Registered User
    Join Date
    Jun 2003
    Posts
    11
    Hi,

    Zach L.
    Ya you are right, careful before I wish! But I always liked programming and thrived to be better and there is no better way to learn than "having and solving errors"!

    Thank you Zach for your comment.


    grib
    What is DDD? Is it available with all Linux/Unix distribution? I use Suse 7.3 at present. Can you help me more regarding this? Like providing any link.

    Thank you, grib.

  7. #7
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Here's a link to DDD.

    Your right, solving bugs will make you a better programmer. It just has a tendency to be painful sometimes.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  8. #8
    Registered User
    Join Date
    Jun 2003
    Posts
    11
    Zach L.

    Thank you for the link. I have downloaded the software and will install it as soon I get my laptop working with Linux (RD9.0).

    Thank you again, you have been of good help.
    Last edited by nchauhan; 06-21-2003 at 09:22 AM.
    Never Give up.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ten Errors
    By AverageSoftware in forum Contests Board
    Replies: 0
    Last Post: 07-20-2007, 10:50 AM
  2. Single hex dump - Error codes / Plain errors...
    By Blackroot in forum Windows Programming
    Replies: 4
    Last Post: 04-03-2007, 03:46 AM
  3. Core dump with linked list
    By Strait in forum C++ Programming
    Replies: 1
    Last Post: 02-27-2005, 04:15 AM
  4. Stupid compiler errors
    By ChrisEacrett in forum C++ Programming
    Replies: 9
    Last Post: 11-30-2003, 04:44 PM
  5. problem solving compiler errors
    By Jan79 in forum C++ Programming
    Replies: 1
    Last Post: 07-02-2003, 10:59 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21