This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Deallocation problem in fortran
- From: bala22 <abarun22 at gmail dot com>
- To: fortran at gcc dot gnu dot org
- Date: Sat, 18 Nov 2006 06:08:56 -0800 (PST)
- Subject: Deallocation problem in fortran
Hi
I am facing a strange problem with the deallocation if a pointer which is
allocated through malloc 'C' function. The pointer is quiet big say 29 MB
and while deallocation (through free 'C' function) it gives me segmentation
fault in Linux 64b platform Debug version. Release version works fine. I
thought the problem could be due to the illegal usage of memory during its
course of computation and hence it could not be able to free the same. So i
tried to free it immediately after its allocation, but still the problem
exists. I would be pretty happy to receive inputs in this regard.
--
View this message in context: http://www.nabble.com/Deallocation-problem-in-fortran-tf2659796.html#a7418837
Sent from the gcc - fortran mailing list archive at Nabble.com.