News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Strange Problem

Started by pitangui, July 12, 2010, 11:02:07 PM

Previous topic - Next topic

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.
(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!]