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

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

[Octave-bug-tracker] [bug #40117] Corruption of symbol table when editin


From: Rik
Subject: [Octave-bug-tracker] [bug #40117] Corruption of symbol table when editing functions in private/ dirs
Date: Thu, 26 Sep 2013 22:10:01 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0

URL:
  <http://savannah.gnu.org/bugs/?40117>

                 Summary: Corruption of symbol table when editing functions in
private/ dirs
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Thu 26 Sep 2013 03:10:01 PM PDT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Octave checks the timestamps of m-files.  If the timestamp has changed since
the last time Octave compiled the function then the m-file is re-read and
recompiled.

However, on a recent tip (55680de6a897, 9/26/13), I find that the symbol table
becomes corrupted when the timestamp on an m-file in a private directory is
changed.

Example


demo ("quiver", 1)
## In another terminal window, execute 'touch
scripts/plot/private/__quiver__.m
demo ("quiver", 1)
quiver example 1:
 clf;
 [x,y] = meshgrid (1:2:20);
 h = quiver (x,y, sin (2*pi*x/10), sin (2*pi*y/10));
 set (h, 'maxheadsize', 0.33);

quiver example 1: failed
'__add_datasource__' undefined near line 152 column 14


I find that I can restore things if I execute


clear -f


to clear all functions from memory.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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