bugGNU Octave - Bugs: bug #40218, Slow 24 byte memory leak in parser

 
 

bug #40218: Slow 24 byte memory leak in parser

Submitted by:  Rik <rik5>
Submitted on:  Wed 09 Oct 2013 03:16:53 PM 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.

 

Wed 09 Oct 2013 06:29:22 PM UTC, comment #2:

You're might quick today :)

Yes, this fixes the memory leak. I'll try, no guarantees since it choked my computer the last time, to run the entire test suite under valgrind.

Rik <rik5>
Project Administrator
Wed 09 Oct 2013 06:06:13 PM UTC, comment #1:

I checked in the following change. It seems to work for me, but can you please verify and close this report if the problem is fixed for you?

http://hg.savannah.gnu.org/hgweb/octave/rev/77eff9c6fb09

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Wed 09 Oct 2013 03:16:53 PM UTC, original submission:

The parser seems to repeatedly leak 24 bytes each time a function file is parsed. A representative loss summary from valgrind is:

The attached val.log contains everything from the valgrind run where the only Octave commands issued were 'ls' and 'dir'.

Rik <rik5>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #29337:  val.log added by rik5 (863KiB - text/x-log)

 

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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 09 Oct 2013 06:29:22 PM UTCrik5StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed 09 Oct 2013 06:06:13 PM UTCjweStatusNone=>Ready For Test
    Wed 09 Oct 2013 03:16:53 PM UTCrik5Attached File-=>Added val.log, #29337

    Back to the top


    Powered by Savane 3.1-cleanup1