i m getting the following error while running a sime fortran coding.the program runs well but gives junk output and gives following error.
*** glibc detected *** ./a.out: free(): invalid next size (fast): 0x0000000000691590 ***
can u help me?
Intentionally or not, you are invoking the free() C runtime function with bad data. We can't guess whether you have Fortran with dynamic allocation, or actually call malloc() and free() in C. If your program is correct in going there, you may have clobbered memory by writing beyond array bounds.