- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I've got some code in which I used derived type array pointers. At the end I deallocate them and get the following message,
*** glibc detected *** double free or corruption (top): 0x08249b38 ***
forrtl: error (76): IOT trap signal
Now I'm assuming this means that the array is not allocated already but I was wondering why I get this error message rather than the usual "array not allocated" message from the fortran run time?
Also, does anyone have any hints on debugging these types of errors?
thanks
Jeremy
I've got some code in which I used derived type array pointers. At the end I deallocate them and get the following message,
*** glibc detected *** double free or corruption (top): 0x08249b38 ***
forrtl: error (76): IOT trap signal
Now I'm assuming this means that the array is not allocated already but I was wondering why I get this error message rather than the usual "array not allocated" message from the fortran run time?
Also, does anyone have any hints on debugging these types of errors?
thanks
Jeremy
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There may be some situations where the Fortran run-time can't test this (for example, if you have two pointers to the same or overlapping storage and deallocate both of them.) If you think your program is correct, please send a test case to Intel Premier Support.

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