How to fix segmentation fault (core dump)

5 pts.
Tags:
C
core dump
Segmentation Fault
This is my program and I couldn't fix the problem when I execute the program it says segmentation fault (core dump).
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Subhendu Sen
    This error may be originated for wrong coding structure or format. You might declare memory size (of C, as tag indicated) that is not permissible. Please back with your code and that can help to solve the issue. Also OS name is required.
    137,090 pointsBadges:
    report
  • ToddN2000
    Post your code so we can understand what you are trying to do.
    131,645 pointsBadges:
    report
  • carlosdl
    You are doing illegal/incorrect things with memory.  Without looking at the code there is no way to give you accurate suggestions.

    Even with the code, if it is a big application, we will most likely not be able to help you if you don't provide enough details and narrow down the possibilities as much as possible.

    What debugging steps have to you taken so far?
    84,720 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: