[Top][All Lists]

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

Re: [Bug-apl] Mismatched free( )/delete/delete [ ], invalid read of 4 by

From: Juergen Sauermann
Subject: Re: [Bug-apl] Mismatched free( )/delete/delete [ ], invalid read of 4 bytes, & uninitialized values
Date: Wed, 29 Jan 2014 14:19:36 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hello Freg,

I checked that class Cell has no destructor, so delete and delete [] will not make a difference.

I have changed to delete [] to make valgrind happy, see SVN 114.

I will also look into your updated email but this will take a bit longer since I will be AFK for two weeks.

Best Regards,

On 01/28/2014 06:53 PM, Frederick H. Pitts wrote:
Hello Jrgen,

        With regard to item 1:

a) I've rerun the valgrind test against SVN 111 and valgrind still

b) Before I suggested adding the '[]' to the 'delete', I made the change
and performed the valgrind test.  Valgrind did not complain about double
deletions.  It is possible the APL program I'm using does not contain
code that triggers the double deletion.  Can you point me to or send me
APL code that triggers the double deletion if 'delete []' is used?

        Also, please be aware that I've email'd a modified version of the
original email that points out additional places where valgrind detects
new/delete mismatches and a uninitialized value.



reply via email to

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