bugGNU Octave - Bugs: bug #40228, Memory leak in...

 
 

bug #40228: Memory leak in octave_base64_(encode|decode)

Submitted by:  Rik <rik5>
Submitted on:  Thu 10 Oct 2013 02:21:14 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: FixedAssigned to: John W. Eaton <jwe>
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 10 Oct 2013 03:09:04 AM UTC, comment #4:

Yup, it's gone now. And aren't you burning the nearly midnight oil on the East Coast?

Rik <rik5>
Project Administrator
Thu 10 Oct 2013 02:55:45 AM UTC, comment #3:

I checked in the following changeset. It seems to work for me. If you can verify that it works, please close this report.

http://hg.savannah.gnu.org/hgweb/octave/rev/d41c8f96ed06

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Thu 10 Oct 2013 02:46:19 AM UTC, comment #2:

I'm looking at these now.

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Thu 10 Oct 2013 02:24:20 AM UTC, comment #1:

And there is a second leak in the decode function.

Rik <rik5>
Project Administrator
Thu 10 Oct 2013 02:21:14 AM UTC, original submission:

I ran the test suite under valgrind and this leak showed up. base64.c is from gnulib, so Octave is probably not managing the interaction between C++ (Octave) and C (gnulib) correctly.

Rik <rik5>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 10 Oct 2013 03:09:04 AM UTCrik5StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Thu 10 Oct 2013 02:55:45 AM UTCjweStatusNone=>Ready For Test
    Thu 10 Oct 2013 02:46:19 AM UTCjweAssigned toNone=>jwe
    Thu 10 Oct 2013 02:24:20 AM UTCrik5SummaryMemory leak in octave_base64_encode=>Memory leak in octave_base64_(encode|decode)

    Back to the top


    Powered by Savane 3.1-cleanup1