This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, libgfortran] PR 25697 FIX Segmentation fault/ Bad Address on unformatted read


On Mon, Jan 16, 2006 at 05:37:25PM -0800, Jerry DeLisle wrote:
> Steve Kargl wrote:
> >On Sat, Jan 14, 2006 at 12:30:12PM -0800, Jerry DeLisle wrote:
> >
> >>BTW, still waiting approval on pr25631 (the last of the tl format bugs 
> >>(ha ha)).
> >>
> >
> >This is OK (although I can't find your original email in my inbox).
> >
> Thanks Steve, ignore my PING on 25631 I did not see this ahead because of 
> the subject line.
> 
> BTW on pr25697 I have tracked it partly to differences between the small 
> buffer (8192 bytes) and the large buffer logic of fd_alloc.  Hope to look 
> at it some more tonight.

Janne has submitted a PR about ripping out the current IO buffering
scheme in gfortran.  What you describe above seems to be just another
symptom that we're treating.  Perhaps, it is time to make an effort
at changing over to using read/write or fread/fwrite directly.
Janne, have you looked into this after you submitted the PR?

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]