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

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

[Octave-bug-tracker] [bug #34861] user defined function does not reload


From: Matyas Sustik
Subject: [Octave-bug-tracker] [bug #34861] user defined function does not reload automatically
Date: Sat, 19 Nov 2011 02:22:55 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Iceweasel/7.0.1

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

                 Summary: user defined function does not reload automatically
                 Project: GNU Octave
            Submitted by: sustik
            Submitted on: Sat 19 Nov 2011 02:22:53 AM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Matyas Sustik
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.3
        Operating System: GNU/Linux

    _______________________________________________________

Details:

If a user function or oct/mex file changes, then it is not properly
reloaded by octave.  In version 3.2.3 (debian testing is what I am using) a
recompile of the mex file causes a segfault on subsequent invocation.

According to John W. Eaton, the current development version does not segfault,
but still does not behave properly:


octave:1> mex myhello.c
 octave:2> myhello
 ans =  1.2346
 ## edit the file myhello.c
 octave:3> mex myhello.c
 octave:4> myhello
 warning: library /export/home/jwe/myhello.mex not reloaded due to existing
references
 ans =  1.2346






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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