bugGNU Octave - Bugs: bug #55415, Memory leaks during "make...


bug #55415: Memory leaks during "make check"

Submitted by:  Rik <rik5>
Submitted on:  Mon 07 Jan 2019 11:17:58 PM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Performance
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  5.0.1 Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

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


Sat 19 Jan 2019 12:00:12 AM UTC, comment #3:

This isn't much and it isn't worth gating the 5.0 release on.

Rik <rik5>
Project Administrator
Fri 18 Jan 2019 11:59:24 PM UTC, comment #2:

Besides the one instance of feval, there are a few leaks related to octave_builtin::call which look like this

Rik <rik5>
Project Administrator
Mon 14 Jan 2019 05:58:16 AM UTC, comment #1:

There are some leaks associated with putenv, which are completely known and unavoidable. The only thing that seems different from the baseline besides putenv is a few leaks like this one

Don't know how to go about finding out whate the problem is. It appears to be feval, which means it might be a user function leaking memory.

Rik <rik5>
Project Administrator
Mon 07 Jan 2019 11:17:58 PM UTC, original submission:

To get a baseline level of memory leaks I ran

Next, I ran

The two log files are xz-compressed and attached.

The direct leaks don't look bad. In the indirect leaks I see some that seem to be related to the parser and symbol table that might need review.

Rik <rik5>
Project Administrator


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

Attach Files:

Attached Files
file #45965:  makecheck.leak.log.xz added by rik5 (37KiB - application/x-xz)
file #45964:  baseline.leak.log.xz added by rik5 (32KiB - application/x-xz)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)
  • -email is unavailable- added by rik5

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

    Only project members can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-28 rik5 Open/ClosedOpen => Closed
    2019-01-19 rik5 StatusNone => Confirmed
    2019-01-14 rik5 Attached File- => Added makecheck.leak.log.xz, #45965
    2019-01-14 rik5 Attached File- => Added baseline.leak.log.xz, #45964
    2019-01-07 rik5 Carbon-Copy- => Added jwe

    Back to the top

    Powered by Savane 3.4