News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Segmentation Error

Started by julieiskander, May 11, 2016, 07:48:01 AM

Previous topic - Next topic

julieiskander

I am working on codeblocks on ubuntu 14.4
it was working fine
now suddenly when i ran the program from codeblocks it gives segmentation fault (core dumped).
Whereas, when the same program is ran from g++ cmd it works just fine.

How can I solve that???

oBFusCATed

If your program crashes then you have some problem in your program.
Either a bug or the program is loading some incorrect shared library.
The best thing you can do is start using the debugger/valgrind to try and understand why it crashes.

Without knowing what your program does we can't help, also most of the times this is off topic for this forum.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]