User forums > Help
Strange Problem
(1/1)
pitangui:
Hello All,
I am using code::block 8.02 at Ubuntu 9.10.
When I build build and run (F9) from the code::block, my program crashes
with a: *** glibc detected *** malloc(): memory corruption:
But when I build the executable file, and execute it direct from the Gnome Terminal 2.28.1,
it works perfectly fine!
Does anyone have some suggestion why this error when executing direct from code:block?
Thanks in advance!
oBFusCATed:
Read about valgrind, it helps finding memory errors as yours.
Also newer versions of C::B have a plugin that integrates Valgrind. See the nightlies or the 10.05 release.
Navigation
[0] Message Index
Go to full version