Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: julieiskander on May 11, 2016, 07:48:01 am

Title: Segmentation Error
Post by: julieiskander on May 11, 2016, 07:48:01 am
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???
Title: Re: Segmentation Error
Post by: oBFusCATed on May 11, 2016, 11:13:02 am
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.