octave-maintainers
[Top][All Lists]
Advanced

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

Re: Memory Issues in Octave


From: Dmitri A. Sergatskov
Subject: Re: Memory Issues in Octave
Date: Fri, 21 Jul 2017 15:42:44 -0500

On Fri, Jul 21, 2017 at 11:48 AM, Rik <address@hidden> wrote:
Dmitri,

Why don't you file a bug report so you can attach these long logs.

​I will.
 

Also, I built a version of Octave with the address sanitizer enabled and
then ran

run-octave -f --no-gui-libs --eval 'exit' | & tee leak.base.log
run-octave -f --no-gui-libs --eval 'graphics_toolkit gnuplot; plot (1:3);
exit' | & tee leak.gnuplot.log

The results were

SUMMARY: AddressSanitizer: 204896 byte(s) leaked in 3198 allocation(s).
SUMMARY: AddressSanitizer: 205184 byte(s) leaked in 3200 allocation(s).


​I have seen those as well. ​



 
So there does seem to be a problem.


​Some (most) of them are warnings, but some are errors which result in program
being aborted. E.g. i cannot really run "make check" since it dies on the very first test.​
​Many (most | all ?) of them comes with a
<<<
​HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext
      (longjmp and C++ exceptions *are* supported)
>>>

​Any chance it could be the case?​
 
--Rik

​Dmitri.
--


reply via email to

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