- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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): 0x000000000069
1590 ***
can u help me?
the program runs well but gives junk output and gives following error.
*** glibc detected *** ./a.out: free(): invalid next size (fast): 0x000000000069
1590 ***
can u help me?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page