I compiled the magic square example in the documentation using MCC. When I run the standalone executable at the system prompt, I get the following error:
*** glibc detected *** free(): invalid pointer: 0x080a5ca0 *** *** glibc detected *** free(): invalid pointer: 0x080a5b40 *** *** glibc detected *** free(): invalid pointer: 0x080a5b58 *** *** glibc detected *** free(): invalid next size (fast): 0x080a5a28 *** *** glibc detected *** malloc(): memory corruption: 0x080a5a50 *** Segmentation fault
Best Answer