User forums > Using Code::Blocks

Segmentation Error

(1/1)

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.

Navigation

[0] Message Index

Go to full version