bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Premature delete in file_io.cc:eval_AXB


From: Juergen Sauermann
Subject: Re: [Bug-apl] Premature delete in file_io.cc:eval_AXB
Date: Thu, 23 Jan 2014 18:43:00 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Fred,

yes, you are right. I have fixed this in SVN rev. 104.
Thanks for reporting tjhis.

/// J├╝rgen


On 01/23/2014 06:21 PM, Frederick H. Pitts wrote:
Gentle people,

        While exercising the native file_io functions, I observe that when a
data write above a certain size is performed, garbage starts appearing
in the beginning of the output file.  A comparison of the output of
valgrind runs performed when the error does and does not occur show that
a fwrite using an invalid memory pointer is occurring in file_io.cc at
line 615 when the error occurs.  On line 614 a delete is performed with
a pointer to the same buffer that the fwrite is using.  I imagine the
delete needs to be moved to the line following the write.

        I'm using Gnu APL svn revision 103.  If I need to provide a test case
or more detail, please let me know.

Regards,

Fred Pitts
Retired Chemical Engineer







reply via email to

[Prev in Thread] Current Thread [Next in Thread]