octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #31815] speed demos no longer work since versi


From: Rik
Subject: [Octave-bug-tracker] [bug #31815] speed demos no longer work since version 3.2.3
Date: Fri, 10 Dec 2010 23:15:06 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/9.10 (karmic) Firefox/3.6.13

Follow-up Comment #2, bug #31815 (project octave):

I'm intrigued, but not surprised, that you had a few crashes during the
testing.  There is a memory leak somewhere in the parser dealing with
functions which I found by running fntests.m under valgrind.  The small
function you attached to this bug report also provokes a memory leak when run
under valgrind.  I will report those experiences at bug report #31644 which
deals with memory leaks.

Perhaps an easier path than re-writing demo.m would be to re-write speed.m? 
We generally use demo code where it is not possible to use test code, such as
the plots.  Here, we could promote one of the demo blocks into the texinfo
section just as an example, delete the other, and write a %!test block to
ensure that speed.m works.

This supposes that there are not too many other instances of demos with
subfunctions.  If there are then I suppose the correct approach is to deal
with demo.m and subfunctions.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31815>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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